/third_party/skia/src/gpu/ |
H A D | GrShaderUtils.cpp | 47 * on their own lines indented properly. The one funkiness here is structs print in prettify() 57 * at the beginning of fresh lines. in prettify() 194 SkTArray<SkString> lines; in VisitLineByLine() local 195 SkStrSplit(text.c_str(), "\n", kStrict_SkStrSplitMode, &lines); in VisitLineByLine() 196 for (int i = 0; i < lines.count(); ++i) { in VisitLineByLine() 197 visitFn(i + 1, lines[i].c_str()); in VisitLineByLine()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/ |
H A D | SFFontView.java | 73 int lines = visibleRect.height / viewer.lineHeight() - 2; in getScrollableBlockIncrement() 74 if (lines < 1) { in getScrollableBlockIncrement() 75 lines = 1; in getScrollableBlockIncrement() 77 return lines * viewer.lineHeight(); in getScrollableBlockIncrement()
|
/third_party/vixl/tools/ |
H A D | test_runner.py | 59 lines = p_out.split('\n') 61 for i in range(len(lines)): 62 if lines[i].startswith(skipped_id): 64 reason = lines[i][len(skipped_id):]
|
/third_party/protobuf/src/google/protobuf/compiler/python/ |
H A D | python_plugin_unittest.cc | 141 // Loop over the lines of the generated code and verify that we find an in TEST() 146 std::vector<std::string> lines = Split(output, "\n"); in TEST() local 149 for (int i = 0; i < lines.size(); ++i) { in TEST() 150 if (lines[i].find(expected_import) != std::string::npos) { in TEST() 153 EXPECT_EQ(std::string::npos, lines[i].find("importlib")); in TEST()
|
/third_party/vk-gl-cts/scripts/egl/ |
H A D | common.py | 107 lines = map(renderCommand, iface.commands) 109 lines = khr_util.format.indentLines(lines) 110 writeInlFile(os.path.join(directory, filename), lines)
|
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | format.py | 49 def indentLines (lines): 53 lineColumns = [line.split("\t") for line in lines if line is not None] 90 def writeLines (filename, lines): 92 for line in lines:
|
/third_party/backends/backend/ |
H A D | mustek.c | 631 dev_block_read_start (Mustek_Scanner * s, SANE_Int lines) in dev_block_read_start() argument 633 DBG (4, "dev_block_read_start: entering block for %d lines\n", lines); in dev_block_read_start() 640 readlines[2] = (lines >> 16) & 0xff; in dev_block_read_start() 641 readlines[3] = (lines >> 8) & 0xff; in dev_block_read_start() 642 readlines[4] = (lines >> 0) & 0xff; in dev_block_read_start() 651 readlines[2] = (lines >> 16) & 0xff; in dev_block_read_start() 652 readlines[3] = (lines >> 8) & 0xff; in dev_block_read_start() 653 readlines[4] = (lines >> 0) & 0xff; in dev_block_read_start() 681 /* tell scanner how many lines t in dev_block_read_start() 695 dev_read_req_enter(Mustek_Scanner * s, SANE_Byte * buf, SANE_Int lines, SANE_Int bpl, size_t * lenp, void **idp, SANE_Int bank, SANE_Byte * command) dev_read_req_enter() argument 2289 SANE_Word lines, bytes_per_color; get_calibration_lines_se() local 3218 get_image_status(Mustek_Scanner * s, SANE_Int * bpl, SANE_Int * lines) get_image_status() argument 3282 get_window(Mustek_Scanner * s, SANE_Int * bpl, SANE_Int * lines, SANE_Int * pixels) get_window() argument 3573 SANE_Int index[3], lines[3], quant[3], dist[3]; fix_line_distance_se() local 4849 SANE_Int lines; /* # lines in buffer */ reader_process() member [all...] |
/third_party/littlefs/scripts/ |
H A D | perf.py | 309 lines = [] 353 lines.append((file, op_line, op_addr)) 369 lines.sort() 371 for file, line, addr in lines: 372 if len(lines_) == 0 or lines_[-1][0] != file or lines[-1][1] != line: 374 lines = lines_ 384 return syms, sym_at, lines, line_at 483 # get the syms/lines for the dso, this is cached 484 syms, sym_at, lines, line_at = collect_syms_and_lines( 725 # build up our lines [all...] |
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/ |
H A D | ParseC.pm | 761 # takes a list of strings that can each contain one or several lines of code 813 # We use $_ shamelessly when looking through @lines. 814 # In case we find a \ at the end, we keep filling it up with more lines. 823 # Since we convert one line to several and unshift that into @lines, 824 # that's the only safe way we have to track the original lines 825 my @lines = map { ( undef, $_ ) } split m|\R|, $line; 828 pop @lines; 829 pop @lines; # Don't forget the undef 831 while (@lines) { 832 if (!defined($lines[ [all...] |
/third_party/openssl/util/perl/OpenSSL/ |
H A D | ParseC.pm | 761 # takes a list of strings that can each contain one or several lines of code 813 # We use $_ shamelessly when looking through @lines. 814 # In case we find a \ at the end, we keep filling it up with more lines. 823 # Since we convert one line to several and unshift that into @lines, 824 # that's the only safe way we have to track the original lines 825 my @lines = map { ( undef, $_ ) } split m|\R|, $line; 828 pop @lines; 829 pop @lines; # Don't forget the undef 831 while (@lines) { 832 if (!defined($lines[ [all...] |
/base/hiviewdfx/hilog/services/hilogtool/ |
H A D | log_display.cpp | 98 uint32_t lines = 0; in GetTotalLines() local 100 lines += rsp.lines[i]; in GetTotalLines() 102 return lines; in GetTotalLines() 279 uint32_t lines = 0; in HilogShowLogStatsInfo() local 282 lines += rsp.totalLines[i]; in HilogShowLogStatsInfo() 285 if (lines == 0) { in HilogShowLogStatsInfo() 288 cout << "Total lines: " << lines << ", length: " << Size2Str(lens) << endl; in HilogShowLogStatsInfo() 292 cout << level << " lines in HilogShowLogStatsInfo() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dfa.c | 200 int count, lines, segments; in decode_bdlt() local 206 lines = bytestream2_get_le16(gb); in decode_bdlt() 207 if (count + lines > height) in decode_bdlt() 210 while (lines--) { in decode_bdlt() 243 int count, i, v, lines, segments; in decode_wdlt() local 246 lines = bytestream2_get_le16(gb); in decode_wdlt() 247 if (lines > height) in decode_wdlt() 250 while (lines--) { in decode_wdlt() 257 if (frame_end - frame <= delta || y + lines + skip_lines > height) in decode_wdlt()
|
/third_party/mesa3d/src/amd/registers/ |
H A D | makeregheader.py | 189 # Merge register lines 190 lines = self.register_lines 191 lines.sort(key=lambda line: (line.address, line.name)) 194 for line in lines: 202 # Merge field lines 203 lines = self.field_lines 204 lines.sort(key=lambda line: (line.address, line.name)) 207 for line in lines: 234 # Merge value lines 235 lines [all...] |
/third_party/node/deps/npm/node_modules/cli-table3/src/ |
H A D | cell.js | 69 this.lines = this.computeLines(tableOptions); 72 this.desiredHeight = this.lines.length; 95 const lines = utils.colorizeLines(computedLines); 97 return lines.map((line) => utils.hyperlink(this.href, line)); 99 return lines; 142 let padLen = Math.max(this.height - this.lines.length, 0); 154 if (lineNum < padTop || lineNum >= padTop + this.lines.length) { 157 let forceTruncation = this.lines.length > this.height && lineNum + 1 >= this.height; 256 let line = this.lines[lineNum]; 311 * A Cell that doesn't do anything. It just draws empty lines [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/ |
H A D | run_perf_tests.py | 91 lines = [] 100 lines.append(line.strip()) 101 return exit_code, lines 130 def _get_tests_from_output(lines): 134 logging.debug('Read %d lines from test output.' % len(lines)) 135 for line in lines: 324 exit_code, lines = _run_and_get_output(args, cmd, env) 326 logging.fatal('Could not find test list from test output:\n%s' % '\n'.join(lines)) 327 tests = _get_tests_from_output(lines) [all...] |
/third_party/icu/icu4c/source/test/perf/normperf/ |
H A D | normperf.cpp | 146 fprintf(stderr, "FAILED to read lines from file and create UPerfTest object. Error: %s\n", u_errorName(status)); in NormalizerPerformanceTest() 202 NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,lines,numLines, uselen); in TestICU_NFC_Orig_Text() 231 NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,lines,numLines, uselen); in TestICU_NFD_Orig_Text() 261 NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,lines,numLines, uselen); in TestICU_FCD_Orig_Text() 290 NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,lines,numLines, uselen); in TestWin_NFC_Orig_Text() 319 NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,lines,numLines, uselen); in TestWin_NFD_Orig_Text() 348 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFC, options,uselen); in TestQC_NFC_Orig_Text() 376 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFD, options,uselen); in TestQC_NFD_Orig_Text() 404 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_FCD, options,uselen); in TestQC_FCD_Orig_Text() 433 QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,lines, numLine in TestIsNormalized_NFC_Orig_Text() [all...] |
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/table/opentype/ |
H A D | RuleTests.java | 135 List<String> lines = new ArrayList<String>(); in linesFromFile() 141 return lines; in linesFromFile() 143 while (scanner.hasNextLine() && lines.size() < TEST_COUNT) { in linesFromFile() 144 lines.add(scanner.nextLine()); in linesFromFile() 147 return lines; in linesFromFile()
|
/third_party/skia/modules/particles/include/ |
H A D | SkParticleSerialization.h | 34 SkTArray<SkString> lines; variable 35 SkStrSplit(s.c_str(), "\n", kStrict_SkStrSplitMode, &lines); 37 for (const auto& line : lines) { 83 if (const skjson::ArrayValue* lines = get(name)) { 86 for (const skjson::StringValue* line : *lines) {
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuRasterizationVerifier.cpp | 468 // Use axis projected (inaccurate) method, i.e. for X-major lines: 602 * correct line interpolations for the triangulated lines. 630 const float wa = scene.lines[lineNdx].positions[0].w(); 631 const float wb = scene.lines[lineNdx].positions[1].w(); 632 const tcu::Vec2 pa = tcu::Vec2((scene.lines[lineNdx].positions[0].x() / wa + 1.0f) * 0.5f * (float)viewportSize.x(), 633 (scene.lines[lineNdx].positions[0].y() / wa + 1.0f) * 0.5f * (float)viewportSize.y()); 634 const tcu::Vec2 pb = tcu::Vec2((scene.lines[lineNdx].positions[1].x() / wb + 1.0f) * 0.5f * (float)viewportSize.x(), 635 (scene.lines[lineNdx].positions[1].y() / wb + 1.0f) * 0.5f * (float)viewportSize.y()); 929 triangleScene.triangles.resize(2 * scene.lines.size()); 930 for (int lineNdx = 0; lineNdx < (int)scene.lines [all...] |
/third_party/libsnd/src/ |
H A D | test_broadcast_var.c | 35 { static const char *lines [] = in fill_coding_history() local 55 append_snprintf (bi->coding_history, bi->coding_history_size, "%s\n", lines [k % ARRAY_LEN (lines)]) ; in fill_coding_history()
|
/third_party/node/deps/v8/tools/ |
H A D | disasm.py | 84 lines = out.decode('utf-8').split("\n") 86 for i, line in enumerate(lines): 93 for line in lines[header_line + 1:]:
|
H A D | dump-cpp.py | 42 lines = f.readlines() 44 d8_line = re.search(',\"(.*d8)', ''.join(lines)) 71 for line in lines:
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkAppParamsUtil.cpp | 53 std::vector<std::string> lines; in readApplicationParameters() local 61 lines.push_back(line); in readApplicationParameters() 71 for (const std::string& line : lines) in readApplicationParameters()
|
/third_party/skia/tools/svg/ |
H A D | svg_downloader.py | 20 lines = f.readlines() 23 common_prefix = os.path.commonprefix(lines) 25 for url in lines:
|
/third_party/spirv-tools/utils/ |
H A D | generate_registry_tables.py | 50 lines = [] 66 lines.append(line) 67 return '\n'.join(lines)
|