/external/opencv3/modules/cudaimgproc/src/cuda/ |
D | hough_segments.cu | 151 float2 line_end[2]; in houghLinesProbabilistic() local 167 line_end[0] = p1; in houghLinesProbabilistic() 168 line_end[1] = p1; in houghLinesProbabilistic() 173 line_end[1] = p1; in houghLinesProbabilistic() 180 bool good_line = ::abs(line_end[1].x - line_end[0].x) >= lineLength || in houghLinesProbabilistic() 181 ::abs(line_end[1].y - line_end[0].y) >= lineLength; in houghLinesProbabilistic() 187 … out[ind] = make_int4(line_end[0].x, line_end[0].y, line_end[1].x, line_end[1].y); in houghLinesProbabilistic() 200 bool good_line = ::abs(line_end[1].x - line_end[0].x) >= lineLength || in houghLinesProbabilistic() 201 ::abs(line_end[1].y - line_end[0].y) >= lineLength; in houghLinesProbabilistic() 207 … out[ind] = make_int4(line_end[0].x, line_end[0].y, line_end[1].x, line_end[1].y); in houghLinesProbabilistic()
|
/external/dbus/bus/ |
D | desktop-file.c | 365 int line_end, eol_len; in parse_comment_or_blank() local 367 if (!_dbus_string_find_eol (&parser->data, parser->pos, &line_end, &eol_len)) in parse_comment_or_blank() 368 line_end = parser->len; in parse_comment_or_blank() 370 if (line_end == parser->len) in parse_comment_or_blank() 373 parser->pos = line_end + eol_len; in parse_comment_or_blank() 398 int line_end, eol_len; in parse_section_start() local 403 if (!_dbus_string_find_eol (&parser->data, parser->pos, &line_end, &eol_len)) in parse_section_start() 404 line_end = parser->len; in parse_section_start() 406 if (line_end - parser->pos <= 2 || in parse_section_start() 407 _dbus_string_get_byte (&parser->data, line_end - 1) != ']') in parse_section_start() [all …]
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | hough_lines.cl | 266 float2 line_end[2]; 281 line_end[0] = p0; 282 line_end[1] = p0; 287 line_end[1] = p0; 294 bool good_line = fabs(line_end[1].x - line_end[0].x) >= lineLength || 295 fabs(line_end[1].y - line_end[0].y) >= lineLength; 301 … lines[index] = (int4)(line_end[0].x, line_end[0].y, line_end[1].x, line_end[1].y); 314 bool good_line = fabs(line_end[1].x - line_end[0].x) >= lineLength || 315 fabs(line_end[1].y - line_end[0].y) >= lineLength; 321 … lines[index] = (int4)(line_end[0].x, line_end[0].y, line_end[1].x, line_end[1].y);
|
/external/opencv/otherlibs/highgui/ |
D | grfmt_bmp.cpp | 253 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 …]
|
D | grfmt_sunras.cpp | 221 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 …]
|
D | utils.cpp | 380 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 …]
|
D | utils.h | 99 uchar* FillUniColor( uchar* data, uchar*& line_end, int step, int width3, 101 uchar* FillUniGray( uchar* data, uchar*& line_end, int step, int width3,
|
/external/opencv3/modules/imgcodecs/src/ |
D | grfmt_bmp.cpp | 251 uchar* line_end = data + width3; in readData() local 271 if( end > line_end ) goto decode_rle4_bad; in readData() 284 if( data + code*nch > line_end ) goto decode_rle4_bad; in readData() 293 int x_shift3 = (int)(line_end - data); in readData() 305 data = FillUniColor( data, line_end, step, width3, in readData() 309 data = FillUniGray( data, line_end, step, width3, in readData() 339 uchar* line_end = data + width3; in readData() local 353 if( data + len > line_end ) in readData() 357 data = FillUniColor( data, line_end, step, width3, in readData() 361 data = FillUniGray( data, line_end, step, width3, in readData() [all …]
|
D | grfmt_sunras.cpp | 200 uchar* line_end = src + (m_width*m_bpp + 7)/8; in readData() local 206 int max_count = (int)(line_end - tsrc); in readData() 227 if( len > line_end - tsrc ) in readData() 237 if( tsrc >= line_end ) in readData() 269 uchar* line_end = data + width3; in readData() local 274 int max_count = (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() 318 if( data == line_end ) in readData() 322 line_end += step; in readData() [all …]
|
D | utils.cpp | 401 uchar* FillUniColor( uchar* data, uchar*& line_end, in FillUniColor() argument 410 if( end > line_end ) in FillUniColor() 411 end = line_end; in FillUniColor() 420 if( data >= line_end ) in FillUniColor() 422 line_end += step; in FillUniColor() 423 data = line_end - width3; in FillUniColor() 433 uchar* FillUniGray( uchar* data, uchar*& line_end, in FillUniGray() argument 442 if( end > line_end ) in FillUniGray() 443 end = line_end; in FillUniGray() 452 if( data >= line_end ) in FillUniGray() [all …]
|
D | utils.hpp | 111 uchar* FillUniColor( uchar* data, uchar*& line_end, int step, int width3, 113 uchar* FillUniGray( uchar* data, uchar*& line_end, int step, int width3,
|
/external/skia/src/core/ |
D | SkUtilsArm.cpp | 100 char* line_end = (char*) memchr(line, '\n', buffer_end - line); in sk_cpu_arm_check_neon() local 101 if (line_end == nullptr) 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/ |
D | proc_cpuinfo_reader.h | 70 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/ |
D | semanage_store.c | 2411 char *line_end = NULL; in semanage_get_line_end() local 2418 line_end = semanage_strnchr(buf, buf_len, '\n'); in semanage_get_line_end() 2419 if (!line_end) in semanage_get_line_end() 2420 line_end = semanage_strnchr(buf, buf_len, '\r'); in semanage_get_line_end() 2421 if (!line_end) in semanage_get_line_end() 2422 line_end = semanage_strnchr(buf, buf_len, EOF); in semanage_get_line_end() 2424 return line_end; in semanage_get_line_end() 2440 const char *line_buf, *line_end; in semanage_fc_sort() local 2478 while ((line_end = semanage_get_line_end(line_buf, buf_remainder))) { in semanage_fc_sort() 2479 line_len = line_end - line_buf + 1; in semanage_fc_sort() [all …]
|
/external/v8/test/mjsunit/regress/ |
D | regress-crbug-424142.js | 31 var line_end = Debug.findScriptSourcePosition(script, line + 1, 0) - 1; variable 37 assertTrue(actual <= line_end);
|
/external/opencv/cv/src/ |
D | cvhough.cpp | 561 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/ |
D | tncs.c | 1021 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/ |
D | tncc.c | 1072 char *config, *end, *pos, *line_end; in tncc_read_config() local 1086 for (pos = config; pos < end; pos = line_end + 1) { in tncc_read_config() 1087 line_end = pos; in tncc_read_config() 1088 while (*line_end != '\n' && *line_end != '\r' && in tncc_read_config() 1089 line_end < end) in tncc_read_config() 1090 line_end++; in tncc_read_config() 1091 *line_end = '\0'; in tncc_read_config() 1096 imc = tncc_parse_imc(pos + 4, line_end, &error); in tncc_read_config()
|
/external/opencv3/modules/imgproc/src/ |
D | hough.cpp | 500 Point line_end[2]; in HoughLinesProbabilistic() local 589 line_end[k].y = i1; in HoughLinesProbabilistic() 590 line_end[k].x = j1; in HoughLinesProbabilistic() 597 good_line = std::abs(line_end[1].x - line_end[0].x) >= lineLength || in HoughLinesProbabilistic() 598 std::abs(line_end[1].y - line_end[0].y) >= lineLength; in HoughLinesProbabilistic() 646 if( i1 == line_end[k].y && j1 == line_end[k].x ) in HoughLinesProbabilistic() 653 Vec4i lr(line_end[0].x, line_end[0].y, line_end[1].x, line_end[1].y); in HoughLinesProbabilistic()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-death-test.cc | 456 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/ |
D | gtest-death-test.cc | 459 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/webrtc/talk/app/webrtc/ |
D | webrtcsdp.cc | 355 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/gtest/src/ |
D | gtest-death-test.cc | 496 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/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
D | gtest-death-test.cc | 496 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/ |
D | gtest-death-test.cc | 494 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()
|