/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/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)
|
/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/ffmpeg/libavcodec/ |
H A D | libzvbi-teletextdec.c | 586 int lines = 0; in slice_to_vbi_lines() local 587 while (size >= 2 && lines < MAX_SLICES) { in slice_to_vbi_lines() 598 uint8_t *p = ctx->sliced[lines].data; in slice_to_vbi_lines() 600 ctx->sliced[lines].id = VBI_SLICED_TELETEXT_B; in slice_to_vbi_lines() 601 ctx->sliced[lines].line = (line_offset > 0 ? (line_offset + (field_parity ? 0 : 313)) : 0); in slice_to_vbi_lines() 629 lines++; in slice_to_vbi_lines() 637 return lines; in slice_to_vbi_lines() 664 int lines; in teletext_decode_frame() local 674 if ((lines = slice_to_vbi_lines(ctx, pkt->data + 1, pkt->size - 1)) < 0) in teletext_decode_frame() 675 return lines; in teletext_decode_frame() [all...] |
/third_party/skia/src/core/ |
H A D | SkScan_Hairline.cpp | 158 // we don't just draw 4 lines, 'cause that can leave a gap in the bottom-right 248 const int lines = 1 << level; 250 Sk2s dt(SK_Scalar1 / lines); 253 SkASSERT((unsigned)lines < SK_ARRAY_COUNT(tmp)); 259 for (int i = 1; i < lines; ++i) { 263 tmp[lines] = pts[2]; 264 lineproc(tmp, lines + 1, clip, blitter); 370 const int lines = compute_cubic_segs(pts); 371 SkASSERT(lines > 0); 372 if (1 == lines) { [all...] |
/base/hiviewdfx/hiview/framework/native/unified_collection/utils/ |
H A D | cpu_util.cpp | 103 std::vector<std::string> lines;
in GetCpuTimeInfos() local 104 if (!FileUtil::LoadLinesFromFile(procStatPath, lines) || lines.empty()) {
in GetCpuTimeInfos() 108 for (const auto& line : lines) {
in GetCpuTimeInfos()
|
/base/startup/init/services/etc/appender/ |
H A D | file_appender.py | 34 parser.add_option('--append-line', action="append", type="string", dest="lines", help='appended lines') 78 for line in options.lines: 103 if options.lines: 119 if options.lines: 120 for line in options.lines:
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/ |
H A D | oh_yara_parser.py | 40 def __process__(self, lines): 41 self.parse(lines) 46 def parse(self, lines): 47 for line in lines:
|
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/model/ |
H A D | CommentsSchemaTest.java | 141 private Comment comment(Anchor a, String... lines) { in comment() argument 142 return Comment.create(a, Arrays.asList(lines)); in comment() 148 // Ignore trailing empty lines. in exportCsv() 153 private static ImmutableList<Comment> importCsv(String... lines) in importCsv() argument 156 StringReader file = new StringReader(Joiner.on(NEW_LINE).join(lines) + NEW_LINE); in importCsv()
|
/third_party/python/Tools/peg_generator/pegen/ |
H A D | tokenizer.py | 76 """Retrieve source lines corresponding to line numbers.""" 78 lines = self._lines 81 lines = {} 89 lines[count] = l 93 return [lines[n] for n in line_numbers]
|
/third_party/python/Lib/ctypes/ |
H A D | _aix.py | 87 # these lines start with a digit 106 # 3. get info (lines starting with [0-9]) 130 # potential member lines contain "[" 137 def get_one_match(expr, lines): 144 matches = list(filter(None, (re.search(expr, line) for line in lines))) 258 for (_, lines) in objects: 259 for line in lines:
|
/third_party/python/Lib/ |
H A D | code.py | 124 lines = traceback.format_exception_only(type, value) 125 self.write(''.join(lines)) 142 lines = traceback.format_exception(ei[0], ei[1], last_tb.tb_next) 144 self.write(''.join(lines))
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | CompilationMessages.cpp | 71 const std::vector<std::string>& lines = diagnostic.source.file_content->lines; in AddMessage() local 74 // lines and add it's length (+1 to account for the line break) to the offset. in AddMessage() 76 offset += lines[i].length() + 1; in AddMessage() 80 // lines in between to the ending offset. in AddMessage() 85 endOffset += lines[i].length() + 1; in AddMessage()
|
/third_party/skia/tools/ |
H A D | parse_llvm_coverage.py | 72 lines = report.splitlines() 77 for line in lines: 154 for filepath, lines in line_by_line.iteritems(): 157 for _, cov, _ in lines:
|
/third_party/rust/crates/syn/benches/ |
H A D | rust.rs | 154 let mut lines = 0; in main() variables 157 lines += content.lines().count(); in main() 161 eprintln!("\n{} lines in {} files", lines, files); in main()
|
/base/hiviewdfx/hidumper/services/native/src/ |
H A D | dump_common_utils.cpp | 219 bool DumpCommonUtils::GetLinesInFile(const std::string& file, std::vector<std::string>& lines) in GetLinesInFile() argument 228 SplitStr(content, "\n", lines); in GetLinesInFile() 299 std::vector<std::string> lines; in GetProcessInfo() local 300 if (!GetLinesInFile(file, lines)) { in GetProcessInfo() 305 for (size_t i = 0; i < lines.size(); i++) { in GetProcessInfo() 307 SplitStr(lines[i], splitKeyValueToken, keyValue); in GetProcessInfo()
|
/third_party/backends/backend/genesys/ |
H A D | settings.h | 46 // number of lines at scan resolution 47 unsigned int lines = 0; member 104 unsigned lines = NOT_SET; member 133 pixels == NOT_SET || lines == NOT_SET ||depth == NOT_SET || channels == NOT_SET || in assert_valid() 151 lines == other.lines && in operator ==() 174 serialize(str, x.lines); in serialize() 204 // the number of optical scan lines. Equal to output_line_count on CCD scanners. 229 // the number of lines in the output of the scanner. This must be larger than the user 239 // the number of staggered lines ( [all...] |