Home
last modified time | relevance | path

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

12

/external/libcups/filter/
Drastertohp.c434 *line_end, /* End-of-line byte pointer */ in CompressData() local
448 line_end = line + length; in CompressData()
456 line_end = line + length; in CompressData()
458 line_ptr < line_end; in CompressData()
462 (line_ptr + count) < line_end && in CompressData()
472 line_end = comp_ptr; in CompressData()
481 line_end = line + length; in CompressData()
484 while (line_ptr < line_end) in CompressData()
486 if ((line_ptr + 1) >= line_end) in CompressData()
504 while (line_ptr < (line_end - 1) && in CompressData()
[all …]
Drastertoepson.c418 *line_end, /* End-of-line byte pointer */ in CompressData() local
432 line_end = line + length; in CompressData()
440 for (comp_ptr = (unsigned char *)line; comp_ptr < line_end;) in CompressData()
474 if ((temp & 0x01) && comp_ptr < line_end && *comp_ptr & 0x80) in CompressData()
494 while (line_ptr < line_end) in CompressData()
496 if ((line_ptr + 1) >= line_end) in CompressData()
514 while (line_ptr < (line_end - 1) && in CompressData()
535 while (line_ptr < (line_end - 1) && in CompressData()
551 line_end = comp_ptr; in CompressData()
608 pwrite(line_ptr, (size_t)(line_end - line_ptr)); in CompressData()
Drastertolabel.c909 *line_end, /* End-of-line byte pointer */ in PCLCompress() local
922 line_end = line + length; in PCLCompress()
927 while (line_ptr < line_end) in PCLCompress()
943 if ((count = (unsigned)(line_end - line_ptr)) > 8) in PCLCompress()
955 line_ptr < line_end) in PCLCompress()
961 if (line_ptr == line_end) in PCLCompress()
973 line_ptr < line_end && in PCLCompress()
/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/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.c2445 char *line_end = NULL; in semanage_get_line_end() local
2452 line_end = semanage_strnchr(buf, buf_len, '\n'); in semanage_get_line_end()
2453 if (!line_end) in semanage_get_line_end()
2454 line_end = semanage_strnchr(buf, buf_len, '\r'); in semanage_get_line_end()
2455 if (!line_end) in semanage_get_line_end()
2456 line_end = semanage_strnchr(buf, buf_len, EOF); in semanage_get_line_end()
2458 return line_end; in semanage_get_line_end()
2474 const char *line_buf, *line_end; in semanage_fc_sort() local
2512 while ((line_end = semanage_get_line_end(line_buf, buf_remainder))) { in semanage_fc_sort()
2513 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.c1073 char *config, *end, *pos, *line_end; in tncc_read_config() local
1087 for (pos = config; pos < end; pos = line_end + 1) { in tncc_read_config()
1088 line_end = pos; in tncc_read_config()
1089 while (*line_end != '\n' && *line_end != '\r' && in tncc_read_config()
1090 line_end < end) in tncc_read_config()
1091 line_end++; in tncc_read_config()
1092 *line_end = '\0'; in tncc_read_config()
1097 imc = tncc_parse_imc(pos + 4, line_end, &error); in tncc_read_config()
/external/curl/lib/
Dhttp2.c1517 char *end, *line_end; in http2_send() local
1588 line_end = strstr(hdbuf, "\r\n"); in http2_send()
1591 end = memchr(hdbuf, ' ', line_end - hdbuf); in http2_send()
1608 for(i = (size_t)(line_end - hdbuf); i; --i) { in http2_send()
1628 end = line_end; in http2_send()
1648 hdbuf = line_end + 2; in http2_send()
1650 line_end = strstr(hdbuf, "\r\n"); in http2_send()
1651 if(line_end == hdbuf) in http2_send()
1658 for(end = hdbuf; end < line_end && *end != ':'; ++end) in http2_send()
1660 if(end == hdbuf || end == line_end) in http2_send()
[all …]
/external/pdfium/core/fpdfapi/render/
Dcpdf_type3cache.cpp64 int line_end = bFirst ? height : -1; in DetectFirstLastScan() local
65 while (line != line_end) { in DetectFirstLastScan()
/external/v8/testing/gtest/src/
Dgtest-death-test.cc505 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local
507 if (line_end == ::std::string::npos) { in FormatDeathTestOutput()
511 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput()
512 at = line_end + 1; in FormatDeathTestOutput()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
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/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/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-death-test.cc507 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local
509 if (line_end == ::std::string::npos) { in FormatDeathTestOutput()
513 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput()
514 at = line_end + 1; in FormatDeathTestOutput()
/external/googletest/googletest/src/
Dgtest-death-test.cc507 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local
509 if (line_end == ::std::string::npos) { in FormatDeathTestOutput()
513 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput()
514 at = line_end + 1; in FormatDeathTestOutput()
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc355 size_t line_end = message.find(kNewLine, line_start); in ParseFailed() local
356 if (line_end != std::string::npos) { in ParseFailed()
357 if (line_end > 0 && (message.at(line_end - 1) == kReturn)) { in ParseFailed()
358 --line_end; in ParseFailed()
360 first_line = message.substr(line_start, (line_end - line_start)); in ParseFailed()
446 size_t line_end = message.find(kNewLine, line_begin); in GetLine() local
447 if (line_end == std::string::npos) { in GetLine()
451 *pos = line_end + 1; in GetLine()
452 if (line_end > 0 && (message.at(line_end - 1) == kReturn)) { in GetLine()
453 --line_end; in GetLine()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/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/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/v8/src/debug/
Ddebug.cc2282 int line_end = Smi::cast(line_ends->get(line))->value(); in PrintBreakLocation() local
2286 PrintF("[debug] %.*s\n", line_end - line_start, in PrintBreakLocation()
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
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()

12