/third_party/backends/backend/ |
H A D | epsonds-ops.c | 235 s->params.lines = in eds_init_parameters() 246 s->params.pixels_per_line, s->params.lines, dpi); in eds_init_parameters() 257 s->params.pixels_per_line, s->params.lines, dpi); in eds_init_parameters() 298 * If (s->top + s->params.lines) is larger than the max scan area, reset in eds_init_parameters() 299 * the number of scan lines: in eds_init_parameters() 304 (s->params.lines + s->top)) { in eds_init_parameters() 305 s->params.lines = in eds_init_parameters() 310 if (s->params.lines <= 0) { in eds_init_parameters() 311 DBG(1, "wrong number of lines: %d\n", s->params.lines); in eds_init_parameters() 323 int lines, available; eds_copy_image_from_ring() local [all...] |
/third_party/icu/icu4c/source/test/perf/normperf/ |
H A D | normperf.h | 37 ULine* lines; member in QuickCheckPerfFunction 53 retVal = (*fn)(lines[i].name,lines[i].len,mode, options, status); in call() 57 retVal = (*fn)(lines[i].name,-1,mode, options, status); in call() 74 totalChars+= lines[i].len; in getOperationsPerIteration() 83 lines = srcLines; in QuickCheckPerfFunction() 93 lines = NULL; in QuickCheckPerfFunction() 106 ULine* lines; member in NormPerfFunction 124 retVal = (*fn)(lines[i].name,lines[ in call() [all...] |
/third_party/node/lib/internal/test_runner/ |
H A D | coverage.js | 98 // Split the file source into lines. Make sure the lines maintain their 122 const lines = ArrayPrototypeMap(linesWithBreaks, (line, i) => { 165 mapRangeToLines(range, lines); 169 range.ignoredLines === range.lines.length) { 180 if (range.count !== 0 || range.ignoredLines === range.lines.length) { 191 for (let j = 0; j < lines.length; ++j) { 192 const line = lines[j]; 204 totalLineCount: lines.length, 210 coveredLinePercent: toPercentage(coveredCnt, lines [all...] |
/third_party/python/Lib/email/ |
H A D | feedparser.py | 58 # A deque of full, pushed lines 106 # No new complete lines, wait for more. 109 # Crack into lines, preserving the linesep characters. 123 def pushlines(self, lines): 124 self._lines.extend(lines) 245 # remaining lines in the input are thrown into the message body. 247 lines = [] 255 lines.append(line) 256 self._cur.set_payload(EMPTYSTRING.join(lines)) 316 lines [all...] |
/third_party/mbedtls/tests/scripts/ |
H A D | generate_pkcs7_tests.py | 59 lines = [line.strip() for line in data.split('\n') if len(line.strip()) > 1] 61 while i < len(lines): 62 if "depends" in lines[i+1]: 63 tests.append(Test(lines[i], lines[i+1], lines[i+2])) 66 tests.append(Test(lines[i], None, lines[i+1]))
|
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
H A D | gen_ext_deps.py | 62 def writeInlFile(filename, lines): 63 khr_util.format.writeInlFile(filename, VK_INL_HEADER, lines) 92 lines = [] 94 lines.extend(genExtDepArray(VK_EXT_DEP_INSTANCE, allExtDepsDict[VK_EXT_TYPE_INSTANCE])) 95 lines.extend(genExtDepArray(VK_EXT_DEP_DEVICE, allExtDepsDict[VK_EXT_TYPE_DEVICE])) 96 lines.extend(genApiVersions(VK_EXT_API_VERSIONS, apiVersions)) 97 lines.extend(genRequiredCoreVersions(VK_EXT_CORE_VERSIONS, allExtCoreVersions)) 99 writeInlFile(filename, lines)
|
H A D | ohos_gen_ext_deps.py | 63 def writeInlFile(filename, lines): 64 khr_util.format.writeInlFile(filename, VK_INL_HEADER, lines) 93 lines = [] 95 lines.extend(genExtDepArray(VK_EXT_DEP_INSTANCE, allExtDepsDict[VK_EXT_TYPE_INSTANCE])) 96 lines.extend(genExtDepArray(VK_EXT_DEP_DEVICE, allExtDepsDict[VK_EXT_TYPE_DEVICE])) 97 lines.extend(genApiVersions(VK_EXT_API_VERSIONS, apiVersions)) 98 lines.extend(genRequiredCoreVersions(VK_EXT_CORE_VERSIONS, allExtCoreVersions)) 100 writeInlFile(filename, lines)
|
/third_party/python/Tools/scripts/ |
H A D | generate_global_objects.py | 126 def iter_to_marker(lines, marker): 127 for line in lines: 194 lines = iter(orig.rstrip().splitlines()) 195 before = '\n'.join(iter_to_marker(lines, START)) 196 for _ in iter_to_marker(lines, END): 198 after = '\n'.join(lines) 245 lines = iter(orig.rstrip().splitlines()) 246 before = '\n'.join(iter_to_marker(lines, START)) 247 for _ in iter_to_marker(lines, END): 249 after = '\n'.join(lines) [all...] |
H A D | nm2def.py | 46 lines = pipe.readlines() 47 lines = [s.strip() for s in lines] 49 for line in lines:
|
/third_party/node/test/addons/repl-domain-abort/ |
H A D | test.js | 39 const lines = [ 51 while (lines.length > 0 && this.push(lines.shift())); 52 if (lines.length === 0)
|
/third_party/skia/docs/examples/ |
H A D | homogeneous.cpp | 8 int lines[] = {0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7}; in REG_FIDDLE() local 11 for (size_t i = 0; i < SK_ARRAY_COUNT(lines); i += 2) { in REG_FIDDLE() 12 const SkPoint3& s = src[lines[i]]; in REG_FIDDLE() 13 const SkPoint3& e = src[lines[i + 1]]; in REG_FIDDLE()
|
H A D | Matrix_mapHomogeneousPoints.cpp | 9 int lines[] = { 0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7 }; in REG_FIDDLE() local 12 for (size_t i = 0; i < SK_ARRAY_COUNT(lines); i += 2) { in REG_FIDDLE() 13 const SkPoint3& s = src[lines[i]]; in REG_FIDDLE() 14 const SkPoint3& e = src[lines[i + 1]]; in REG_FIDDLE()
|
/third_party/python/Lib/ |
H A D | inspect.py | 873 lines = doc.expandtabs().split('\n') 877 # Find minimum indentation of any non-blank lines after first line. 879 for line in lines[1:]: 885 if lines: 886 lines[0] = lines[0].lstrip() 888 for i in range(1, len(lines)): lines[i] = lines[i][margin:] 889 # Remove any trailing or leading blank lines [all...] |
H A D | dis.py | 195 lines = [] 196 lines.append("Name: %s" % co.co_name) 197 lines.append("Filename: %s" % co.co_filename) 198 lines.append("Argument count: %s" % co.co_argcount) 199 lines.append("Positional-only arguments: %s" % co.co_posonlyargcount) 200 lines.append("Kw-only arguments: %s" % co.co_kwonlyargcount) 201 lines.append("Number of locals: %s" % co.co_nlocals) 202 lines.append("Stack size: %s" % co.co_stacksize) 203 lines.append("Flags: %s" % pretty_flags(co.co_flags)) 205 lines [all...] |
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/parser/ |
H A D | parser.go | 74 func (t Token) Text(lines []string) string { return t.Range.Text(lines) } 84 // Text returns the text for the given Range in the provided lines. 85 func (r Range) Text(lines []string) string { 87 if sl < 0 || sc < 0 || sl > len(lines) || sc > len(lines[sl]) { 91 if el < 0 || ec < 0 || el > len(lines) || ec > len(lines[sl]) { 97 sb.WriteString(lines[sl][sc:]) 99 sb.WriteString(lines[ [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/parser/ |
H A D | parser.go | 74 func (t Token) Text(lines []string) string { return t.Range.Text(lines) } 84 // Text returns the text for the given Range in the provided lines. 85 func (r Range) Text(lines []string) string { 87 if sl < 0 || sc < 0 || sl > len(lines) || sc > len(lines[sl]) { 91 if el < 0 || ec < 0 || el > len(lines) || ec > len(lines[sl]) { 97 sb.WriteString(lines[sl][sc:]) 99 sb.WriteString(lines[ [all...] |
/third_party/skia/modules/canvaskit/npm_build/ |
H A D | textapi_utils.js | 107 function lines_pos_to_index(lines, x, y) { 108 if (y < lines[0].top) { 111 for (const l of lines) { 116 return lines[lines.length - 1].textRange.last; 138 function lines_index_to_line_index(lines, index) { 140 for (const l of lines) { 146 return lines.length-1; 149 function lines_index_to_line(lines, index) { 150 return lines[lines_index_to_line_inde [all...] |
/third_party/spirv-tools/utils/vscode/src/parser/ |
H A D | parser.go | 74 func (t Token) Text(lines []string) string { return t.Range.Text(lines) } 84 // Text returns the text for the given Range in the provided lines. 85 func (r Range) Text(lines []string) string { 87 if sl < 0 || sc < 0 || sl > len(lines) || sc > len(lines[sl]) { 91 if el < 0 || ec < 0 || el > len(lines) || ec > len(lines[sl]) { 97 sb.WriteString(lines[sl][sc:]) 99 sb.WriteString(lines[ [all...] |
/third_party/node/deps/npm/node_modules/@isaacs/cliui/build/lib/ |
H A D | index.js | 50 // second column lines up along the left-hand. 84 const lines = []; 86 this.rowToString(row, lines); 88 // don't display any lines with the 90 return lines 95 rowToString(row, lines) { 129 if (r === 0 && lines.length > 0) { 130 str = this.renderInline(str, lines[lines.length - 1]); 134 lines [all...] |
/third_party/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_doc_comment.cc | 119 std::vector<std::string> lines = Split(comments, "\n"); in WriteDocCommentBodyForLocation() local 120 while (!lines.empty() && lines.back().empty()) { in WriteDocCommentBodyForLocation() 121 lines.pop_back(); in WriteDocCommentBodyForLocation() 125 for (int i = 0; i < lines.size(); i++) { in WriteDocCommentBodyForLocation() 126 // Most lines should start with a space. Watch out for lines that start in WriteDocCommentBodyForLocation() 129 if (!lines[i].empty() && lines[i][0] == '/') { in WriteDocCommentBodyForLocation() 130 printer->Print(" * $line$\n", "line", lines[ in WriteDocCommentBodyForLocation() [all...] |
/third_party/skia/third_party/externals/angle2/ |
H A D | PRESUBMIT.py | 36 def _PopBlankLines(lines, reverse=False): 38 while len(lines) > 0 and _IsLineBlank(lines[-1]): 39 lines.pop() 41 while len(lines) > 0 and _IsLineBlank(lines[0]): 42 lines.pop(0) 60 def _CheckTabInCommit(lines): 61 return all([line.find("\t") == -1 for line in lines]) 120 # pop all the remaining blank lines betwee [all...] |
/third_party/cJSON/tests/unity/auto/ |
H A D | unity_test_summary.py | 31 lines = list(map(lambda line: line.rstrip(), open(result_file, "r").read().split('\n'))) 32 if len(lines) == 0: 35 details = self.get_details(result_file, lines) 40 tests,failures,ignored = self.parse_test_summary('\n'.join(lines)) 85 def get_details(self, result_file, lines): 87 for line in lines:
|
/third_party/node/deps/openssl/openssl/crypto/ts/ |
H A D | ts_rsp_print.c | 73 int i, lines = 0; in TS_STATUS_INFO_print_bio() local 94 lines = ts_status_map_print(bio, failure_map, a->failure_info); in TS_STATUS_INFO_print_bio() 95 if (lines == 0) in TS_STATUS_INFO_print_bio() 105 int lines = 0; in ts_status_map_print() local 109 if (++lines > 1) in ts_status_map_print() 115 return lines; in ts_status_map_print()
|
/third_party/python/Tools/c-analyzer/c_parser/preprocessor/ |
H A D | __main__.py | 98 def show_file(filename, lines): 99 for line in lines: 103 def show_file(filename, lines): 104 for line in lines: 116 lines = _iter_preprocessed(filename, **kwargs) 117 show_file(filename, lines)
|
/third_party/python/Tools/i18n/ |
H A D | makelocalealias.py | 21 lines = list(f) 24 lines = [line for line in lines if '\xef\xbf\xbd' not in line] 26 for line in lines: 59 lines = list(f) 61 for line in lines:
|