Home
last modified time | relevance | path

Searched refs:lineSize (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/incident_helper/src/
Dih_util.cpp119 int lineSize = (int)line.size(); in parseRecordByColumns() local
127 if (idx > lineSize) { in parseRecordByColumns()
128 if (lastIndex < idx && lastIndex < lineSize) { in parseRecordByColumns()
134 … fprintf(stderr, "index wrong: lastIndex: %d, idx: %d, lineSize: %d\n", lastIndex, idx, lineSize); in parseRecordByColumns()
138 while (idx < lineSize && delimiters.find(line[idx++]) == std::string::npos); in parseRecordByColumns()
143 if (lineSize - lastIndex > 0) { in parseRecordByColumns()
151 record.push_back(trimDefault(line.substr(beginning, lineSize - beginning))); in parseRecordByColumns()
/frameworks/rs/driver/
DrsdAllocation.cpp854 size_t lineSize = eSize * w; in rsdAllocationData2D() local
856 stride = lineSize; in rsdAllocationData2D()
874 memcpy(dst, src, lineSize); in rsdAllocationData2D()
879 size_t clineSize = lineSize; in rsdAllocationData2D()
918 uint32_t lineSize = eSize * w; in rsdAllocationData3D() local
920 stride = lineSize; in rsdAllocationData3D()
940 memcpy(dst, src, lineSize); in rsdAllocationData3D()
965 size_t lineSize = eSize * w; in rsdAllocationRead2D() local
967 stride = lineSize; in rsdAllocationRead2D()
980 memcpy(dst, src, lineSize); in rsdAllocationRead2D()
[all …]
/frameworks/rs/
DrsAllocation.cpp245 const size_t lineSize = eSize * w; in read() local
247 stride = lineSize; in read()
249 if ((lineSize * h) != sizeBytes) { in read()
252 (lineSize * h), sizeBytes); in read()
264 const size_t lineSize = eSize * w; in read() local
266 stride = lineSize; in read()