Home
last modified time | relevance | path

Searched refs:line_end (Results 1 – 16 of 16) sorted by relevance

/external/opencv/otherlibs/highgui/
Dgrfmt_bmp.cpp253 uchar* line_end = data + width3; in ReadData() local
273 if( end > line_end ) goto decode_rle4_bad; in ReadData()
286 if( data + code*nch > line_end ) goto decode_rle4_bad; in ReadData()
295 int x_shift3 = (int)(line_end - data); in ReadData()
307 data = FillUniColor( data, line_end, step, width3, in ReadData()
311 data = FillUniGray( data, line_end, step, width3, in ReadData()
341 uchar* line_end = data + width3; in ReadData() local
355 if( data + len > line_end ) in ReadData()
359 data = FillUniColor( data, line_end, step, width3, in ReadData()
363 data = FillUniGray( data, line_end, step, width3, in ReadData()
[all …]
Dgrfmt_sunras.cpp221 uchar* line_end = src + (m_width*m_bpp + 7)/8; in ReadData() local
227 int max_count = (int)(line_end - tsrc); in ReadData()
248 if( len > line_end - tsrc ) in ReadData()
258 if( tsrc >= line_end ) in ReadData()
290 uchar* line_end = data + width3; in ReadData() local
295 int max_count = (int)(line_end - data); in ReadData()
328 data = FillUniColor( data, line_end, step, width3, in ReadData()
332 data = FillUniGray( data, line_end, step, width3, in ReadData()
339 if( data == line_end ) in ReadData()
343 line_end += step; in ReadData()
[all …]
Dutils.cpp380 uchar* FillUniColor( uchar* data, uchar*& line_end, in FillUniColor() argument
389 if( end > line_end ) in FillUniColor()
390 end = line_end; in FillUniColor()
399 if( data >= line_end ) in FillUniColor()
401 line_end += step; in FillUniColor()
402 data = line_end - width3; in FillUniColor()
412 uchar* FillUniGray( uchar* data, uchar*& line_end, in FillUniGray() argument
421 if( end > line_end ) in FillUniGray()
422 end = line_end; in FillUniGray()
431 if( data >= line_end ) in FillUniGray()
[all …]
Dutils.h99 uchar* FillUniColor( uchar* data, uchar*& line_end, int step, int width3,
101 uchar* FillUniGray( uchar* data, uchar*& line_end, int step, int width3,
/external/skia/src/core/
DSkUtilsArm.cpp100 char* line_end = (char*) memchr(line, '\n', buffer_end - line); in sk_cpu_arm_check_neon() local
101 if (line_end == NULL) in sk_cpu_arm_check_neon()
102 line_end = buffer_end; in sk_cpu_arm_check_neon()
109 const char* flag = (const char*) memmem(line, line_end - line, in sk_cpu_arm_check_neon()
/external/google-breakpad/src/client/linux/minidump_writer/
Dproc_cpuinfo_reader.h70 const char* line_end = line + line_len; in GetNextField() local
84 while (val < line_end && my_isspace(*val)) in GetNextField()
88 value_len_ = static_cast<size_t>(line_end - val); in GetNextField()
/external/selinux/libsemanage/src/
Dsemanage_store.c2417 char *line_end = NULL; in semanage_get_line_end() local
2424 line_end = semanage_strnchr(buf, buf_len, '\n'); in semanage_get_line_end()
2425 if (!line_end) in semanage_get_line_end()
2426 line_end = semanage_strnchr(buf, buf_len, '\r'); in semanage_get_line_end()
2427 if (!line_end) in semanage_get_line_end()
2428 line_end = semanage_strnchr(buf, buf_len, EOF); in semanage_get_line_end()
2430 return line_end; in semanage_get_line_end()
2446 const char *line_buf, *line_end; in semanage_fc_sort() local
2484 while ((line_end = semanage_get_line_end(line_buf, buf_remainder))) { in semanage_fc_sort()
2485 line_len = line_end - line_buf + 1; in semanage_fc_sort()
[all …]
/external/opencv/cv/src/
Dcvhough.cpp561 CvPoint line_end[2] = {{0,0}, {0,0}}; in icvHoughLinesProbabalistic() local
653 line_end[k].y = i1; in icvHoughLinesProbabalistic()
654 line_end[k].x = j1; in icvHoughLinesProbabalistic()
661 good_line = abs(line_end[1].x - line_end[0].x) >= lineLength || in icvHoughLinesProbabalistic()
662 abs(line_end[1].y - line_end[0].y) >= lineLength; in icvHoughLinesProbabalistic()
710 if( i1 == line_end[k].y && j1 == line_end[k].x ) in icvHoughLinesProbabalistic()
717 CvRect lr = { line_end[0].x, line_end[0].y, line_end[1].x, line_end[1].y }; in icvHoughLinesProbabalistic()
/external/wpa_supplicant_8/src/eap_server/
Dtncs.c1021 char *config, *end, *pos, *line_end; in tncs_read_config() local
1036 for (pos = config; pos < end; pos = line_end + 1) { in tncs_read_config()
1037 line_end = pos; in tncs_read_config()
1038 while (*line_end != '\n' && *line_end != '\r' && in tncs_read_config()
1039 line_end < end) in tncs_read_config()
1040 line_end++; in tncs_read_config()
1041 *line_end = '\0'; in tncs_read_config()
1046 imv = tncs_parse_imv(id++, pos + 4, line_end, &error); in tncs_read_config()
/external/wpa_supplicant_8/src/eap_peer/
Dtncc.c1070 char *config, *end, *pos, *line_end; in tncc_read_config() local
1084 for (pos = config; pos < end; pos = line_end + 1) { in tncc_read_config()
1085 line_end = pos; in tncc_read_config()
1086 while (*line_end != '\n' && *line_end != '\r' && in tncc_read_config()
1087 line_end < end) in tncc_read_config()
1088 line_end++; in tncc_read_config()
1089 *line_end = '\0'; in tncc_read_config()
1094 imc = tncc_parse_imc(pos + 4, line_end, &error); in tncc_read_config()
/external/llvm/utils/unittest/googletest/src/
Dgtest-death-test.cc459 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local
461 if (line_end == ::std::string::npos) { in FormatDeathTestOutput()
465 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput()
466 at = line_end + 1; in FormatDeathTestOutput()
/external/mesa3d/src/gtest/src/
Dgtest-death-test.cc456 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local
458 if (line_end == ::std::string::npos) { in FormatDeathTestOutput()
462 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput()
463 at = line_end + 1; in FormatDeathTestOutput()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-death-test.cc494 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local
496 if (line_end == ::std::string::npos) { in FormatDeathTestOutput()
500 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput()
501 at = line_end + 1; in FormatDeathTestOutput()
/external/gtest/src/
Dgtest-death-test.cc496 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local
498 if (line_end == ::std::string::npos) { in FormatDeathTestOutput()
502 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput()
503 at = line_end + 1; in FormatDeathTestOutput()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp110 int line_end = bFirst ? height : -1; in _DetectFirstLastScan() local
111 while (line != line_end) { in _DetectFirstLastScan()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc6990 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local
6992 if (line_end == ::std::string::npos) { in FormatDeathTestOutput()
6996 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput()
6997 at = line_end + 1; in FormatDeathTestOutput()