/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)
|
/build/scripts/util/ |
H A D | md5_check.py | 242 lines = [] 243 lines.extend('Added: {}'.format(p for p in self.iter_added_paths())) 244 lines.extend('Removed: {}'.format(p 247 lines.append('Modified: {}'.format(path)) 248 lines.extend(' -> Subpath added: {}'.format( 250 lines.extend(' -> Subpath removed: {}'.format( 252 lines.extend(' -> Subpath modified: {}'.format( 254 if lines: 255 return 'Input files changed:\n {}'.format('\n '.join(lines))
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | typography.cpp | 264 const auto &lines = paragraph_->GetLineMetrics(); in GetLineHeight() local 265 if ((0 <= lineNumber) && (lineNumber < static_cast<int>(lines.size()))) { in GetLineHeight() 266 return lines[lineNumber].fHeight; in GetLineHeight() 274 const auto &lines = paragraph_->GetLineMetrics(); in GetLineWidth() local 275 if ((0 <= lineNumber) && (lineNumber < static_cast<int>(lines.size()))) { in GetLineWidth() 276 return lines[lineNumber].fWidth; in GetLineWidth() 439 std::vector<std::unique_ptr<TextLineBase>> lines; in GetTextLines() local 443 lines.emplace_back(std::move(linePtr)); in GetTextLines() 445 return lines; in GetTextLines()
|
/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()
|
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/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/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) {
|
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | nconf.gui.c | 143 int lines = 0; in get_line() local 148 for (i = 0; text[i] != '\0' && lines < line_no; i++) in get_line() 150 lines++; in get_line() 164 /* print all lines to the window. */ 318 int i, x, y, lines, columns, win_lines, win_cols; in dialog_inputbox() local 324 getmaxyx(stdscr, lines, columns); in dialog_inputbox() 342 win_lines = min(prompt_lines+6, lines-2); in dialog_inputbox() 348 y = (lines-win_lines)/2; in dialog_inputbox() 514 int x, y, lines, columns; in show_scroll_win_ext() local 531 getmaxyx(stdscr, lines, column in show_scroll_win_ext() [all...] |
/kernel/linux/linux-6.6/mm/kfence/ |
H A D | kfence_test.c | 44 char lines[2][256]; member 49 /* Probe for console output: obtains observed lines of interest. */ 65 strscpy(observed.lines[0], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console() 68 strscpy(observed.lines[nlines++], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console() 78 return READ_ONCE(observed.nlines) == ARRAY_SIZE(observed.lines); in report_available() 100 typeof(observed.lines) expect; in report_matches() 172 ret = strstr(observed.lines[0], expect[0]) && strstr(observed.lines[ in report_matches() [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/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...] |
/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...] |
/build/toolchain/ |
H A D | mini_debug_info.py | 74 lines = output_file.readlines() 76 for line in lines: 92 lines = output_file.readlines() 94 for line in lines:
|
/kernel/linux/linux-5.10/scripts/ |
H A D | cleanpatch | 135 @lines = (); 154 push(@lines, $line); 233 push(@lines, $l); 250 print FILE @lines;
|
/kernel/uniproton/cmake/common/build_auxiliary_script/ |
H A D | Kconfig2macro.py | 31 lines = fd_in.readlines() 32 for line in lines: 115 lines = fd_in.readlines() 116 for line in lines:
|
/kernel/linux/linux-6.6/scripts/ |
H A D | cleanpatch | 135 @lines = (); 154 push(@lines, $line); 233 push(@lines, $l); 250 print FILE @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:
|