/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | generate_gl_dispatch_table.py | 184 def assign_null_line(line): 185 m = re.match(r' ASSIGN\("gl.*", (.+)\);', line) 190 return line 194 return '\n'.join([assign_null_line(line) for line in entry.split('\n')])
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | DisplayVk.cpp | 301 unsigned int line) in handleError() 308 mSavedError.line = line; in handleError() 313 << ", in " << file << ", " << function << ":" << line << "."; in handleError() local 324 << ", " << mSavedError.function << ":" << mSavedError.line << "."; in getEGLError() 298 handleError(VkResult result, const char *file, const char *function, unsigned int line) handleError() argument
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | writesrc.cpp | 298 char line[100], line2[100], line3[100]; in usrc_writeUCPTrie() local 299 sprintf(line, "static const uint16_t %s_trieIndex[%%ld]={\n", name); in usrc_writeUCPTrie() 301 usrc_writeUCPTrieArrays(f, line, line2, pTrie, "\n};\n\n"); in usrc_writeUCPTrie() 302 sprintf(line, "static const UCPTrie %s_trie={\n", name); in usrc_writeUCPTrie() 305 usrc_writeUCPTrieStruct(f, line, pTrie, line2, line3, "};\n\n"); in usrc_writeUCPTrie() 325 /* Very long line. */ in usrc_writeArrayOfMostlyInvChars() 327 /* Long line, break after terminating NUL. */ in usrc_writeArrayOfMostlyInvChars() 329 /* Medium-long line, break before non-NUL, non-character byte. */ in usrc_writeArrayOfMostlyInvChars()
|
/third_party/skia/src/pathops/ |
H A D | SkReduceOrder.cpp | 10 int SkReduceOrder::reduce(const SkDLine& line) { in reduce() argument 11 fLine[0] = line[0]; in reduce() 12 int different = line[0] != line[1]; in reduce() 13 fLine[1] = line[different]; in reduce() 43 // four are colinear: return line formed by outside in check_linear() 51 // look for all four points in a line 52 // note that three points in a line doesn't simplify a cubic 87 if (minXSet == 0x7) { // test for vertical line in reduce() 90 if (minYSet == 0x7) { // test for horizontal line in reduce() [all...] |
/third_party/skia/src/sksl/ir/ |
H A D | SkSLType.h | 144 static std::unique_ptr<Type> MakeStructType(int line, skstd::string_view name, 503 int line) const; 516 bool checkForOutOfRangeLiteral(const Context& context, double value, int line) const; 525 Type(skstd::string_view name, const char* abbrev, TypeKind kind, int line = -1) in Type() 526 : INHERITED(line, kSymbolKind, name) in Type()
|
H A D | SkSLSwitchStatement.cpp | 168 int line, in Convert() 201 caseLine = line; in Convert() 223 return SwitchStatement::Make(context, line, isStatic, std::move(value), std::move(cases), in Convert() 228 int line, in Make() 295 return std::make_unique<SwitchStatement>(line, isStatic, std::move(value), std::move(cases), in Make() 167 Convert(const Context& context, int line, bool isStatic, std::unique_ptr<Expression> value, ExpressionArray caseValues, StatementArray caseStatements, std::shared_ptr<SymbolTable> symbolTable) Convert() argument 227 Make(const Context& context, int line, bool isStatic, std::unique_ptr<Expression> value, StatementArray cases, std::shared_ptr<SymbolTable> symbolTable) Make() argument
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/trim-includes/ |
H A D | main.go | 19 // build script to determine whether the line was necessary. If the include is 60 script to determine whether the line was necessary. If the include is required, 120 for includeIdx, line := range includeLines { 121 fmt.Printf(" [%d/%d]: %v", includeIdx+1, len(includeLines), file.lines[line]) 122 enabled[line] = false 138 enabled[line] = true 185 // Returns the zero-based line numbers of all #include statements in the file 209 // Saves the file, omitting the lines with the zero-based line number that are
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | parser.h | 83 // SourceLocationTable while parsing. This can be used to look up exact line 203 void AddError(int line, int column, const std::string& error); 205 // Invokes error_collector_->AddError() with the line and column number 209 // Invokes error_collector_->AddWarning() with the line and column number 293 // Parses the "syntax = \"proto2\";" line at the top of the file. Returns 551 // DescriptorPool when validating descriptors -- to line and column numbers 563 // Finds the precise location of the given error and fills in *line and 564 // *column with the line and column numbers. If not found, sets *line to 565 // -1 and *column to 0 (since line [all...] |
/third_party/python/Lib/test/ |
H A D | test_poll.py | 141 line = p.readline() 142 if line != b"": 147 line = p.readline() 148 if not line: 150 self.assertEqual(line, b'testing...\n')
|
H A D | test_smtpd.py | 53 def write_line(line): 54 channel.socket.queue_recv(line) 83 def write_line(line): 84 channel.socket.queue_recv(line) 202 def write_line(self, channel, line): 203 channel.socket.queue_recv(line) 239 def write_line(self, channel, line): 240 channel.socket.queue_recv(line) 248 for line in [ 254 self.write_line(channel, line) [all...] |
/third_party/rust/crates/unicode-width/scripts/ |
H A D | unicode.py | 19 # out-of-line and check the generated module into git. 121 for line in eaw.readlines(): 123 if match := single.match(line): 125 elif match := multiple.match(line): 154 for line in categories.readlines(): 155 if len(raw_data := line.split(";")) != 15: 446 # Add line breaks for every 15th entry (chosen to match what rustfmt does)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | trace.c | 146 unsigned int line; member 174 &data->line); in find_addr_sect() 212 name, filename, data.line); in wpa_trace_bfd_addr() 217 &data.function, &data.line); in wpa_trace_bfd_addr() 317 &data.line); in wpa_trace_calling_func()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | trace.c | 146 unsigned int line; member 185 &data->line); in find_addr_sect() 223 name, filename, data.line); in wpa_trace_bfd_addr() 228 &data.function, &data.line); in wpa_trace_bfd_addr() 328 &data.line); in wpa_trace_calling_func()
|
/third_party/python/Lib/ |
H A D | pydoc.py | 8 Or, at the shell command line outside of Python: 174 indented to line up with blocks of code, any whitespace than can be 175 uniformly removed from the second line onwards is removed.""" 192 """Split a doc string into a synopsis line (if any) and the rest.""" 334 line = file.readline() 335 while line[:1] == '#' or not line.strip(): 336 line = file.readline() 337 if not line: break 338 line [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | ftp.c | 118 static int ftp_get_line(FTPContext *s, char *line, int line_size) in ftp_get_line() argument 121 char *q = line; in ftp_get_line() 129 /* process line */ in ftp_get_line() 130 if (q > line && q[-1] == '\r') in ftp_get_line() 135 if ((q - line) < line_size - 1) in ftp_get_line() 146 static int ftp_status(FTPContext *s, char **line, const int response_codes[]) in ftp_status() argument 152 if (line) in ftp_status() 157 if (line) in ftp_status() 191 if (line) in ftp_status() 202 if (line) in ftp_status() 977 ftp_parse_entry_nlst(char *line, AVIODirEntry *next) ftp_parse_entry_nlst() argument 1023 ftp_parse_entry(URLContext *h, char *line, AVIODirEntry *next) ftp_parse_entry() argument [all...] |
/third_party/python/ |
H A D | setup.py | 433 # remove backslashes from line break continuations 626 # reliably imported into a command-line Python 742 def add_search_path(line): 746 for d in line.strip().split("=")[1].split(pathsep): 763 # Parse paths in libraries line. The line is like: 766 for line in fp: 767 if not line.startswith("libraries"): 769 add_search_path(line) 789 for line i [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuCommandLine.cpp | 21 * \brief Command line parsing. 553 // consume trailing new line in parseCaseTrie() 711 // reading single line and checking if it ends with ".txt" in parseCaseList() 715 // read the first line and make sure it doesn't contain '\r' in parseCaseList() 716 std::string line; in parseCaseList() local 717 std::getline(in, line); in parseCaseList() 718 line.erase(std::remove(line.begin(), line.end(), '\r'), line in parseCaseList() 1364 std::string line; CaseListFilter() local [all...] |
/third_party/backends/backend/ |
H A D | test.c | 633 od->title = SANE_I18N ("Loss of pixels per line"); in init_options() 636 "line."); in init_options() 649 od->desc = SANE_I18N ("Return fuzzy lines and bytes per line when " in init_options() 1291 read_option (SANE_String line, SANE_String option_string, in read_option() argument 1299 cp = sanei_config_get_string (line, &word); in read_option() 1645 SANE_Char line[PATH_MAX], *word = NULL; in sane_init() local 1714 while (sanei_config_read (line, sizeof (line), fp)) in sane_init() 1721 cp = sanei_config_get_string (line, &word); in sane_init() 1722 if (!word || cp == line) in sane_init() [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_config.cc | 258 LOG(ERROR) << "frontend-quic-secret-file: each line must be a " in read_quic_secret_file() 339 std::string line; in read_passwd_from_file() local 344 return line; in read_passwd_from_file() 350 return line; in read_passwd_from_file() 353 std::getline(in, line); in read_passwd_from_file() 354 return line; in read_passwd_from_file() 1657 // Reads PSK secrets from path, and parses each line. The result is 1670 std::string line; in parse_psk_secrets() local 1671 while (std::getline(f, line)) { in parse_psk_secrets() 1673 if (line in parse_psk_secrets() 1737 std::string line; parse_client_psk_secrets() local 4197 std::string line; load_config() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderDebugger.cpp | 688 uint32_t line = 0; 704 uint32_t line = 0; 743 uint32_t line = 0; 776 uint32_t line = 0; 802 uint32_t line = 0; 822 uint32_t line = 0; 851 uint32_t line = 0; 976 // setLocation() must be a debugger steppable line. 984 // and line. 985 void setLocation(EmitState *state, const std::shared_ptr<vk::dbg::File> &, int line); [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | parserharness.js | 135 export function compilerWarning(result: Compiler.CompilerResult, line: number, column: number, desc: string) { 136 if (!result.isErrorAt(line, column, desc)) { 142 throwAssertError(new Error("Expected compiler warning at (" + line + ", " + column + "): " + desc + "\nActual errors follow: " + actual)); 156 errorString += "Difference at line " + (i + 1) + ":\n"; 201 // Split up the input file by line 1200 public isErrorAt(line: number, column: number, message: string) { 1202 if (this.errors[i].line === line && this.errors[i].column === column && this.errors[i].message === message) 1213 public line: number, 1218 return this.file + "(" + this.line [all...] |
/third_party/python/Lib/idlelib/ |
H A D | editor.py | 189 text.bind("<<goto-line>>", self.goto_line_event) 208 text.bind("<<beginning-of-line>>", self.home_callback) 358 'line-numbers-default', type='bool'): 360 text.bind("<<toggle-line-numbers>>", self.toggle_line_numbers_event) 392 # In Shell on input line, go to just after prompt 395 line = self.text.get("insert linestart", "insert lineend") 396 for insertpt in range(len(line)): 397 if line[insertpt] not in (' ','\t'): 400 insertpt=len(line) 436 self.status_bar.set_label('line', 'L [all...] |
/third_party/python/Python/ |
H A D | pythonrun.c | 674 /* Write caret line */ in print_error_text() 976 PyObject *line = PyUnicode_FromFormat(" File \"%S\", line %zd\n", in print_exception_file_and_line() local 979 if (line == NULL) { in print_exception_file_and_line() 985 if (PyFile_WriteObject(line, f, Py_PRINT_RAW) < 0) { in print_exception_file_and_line() 988 Py_CLEAR(line); in print_exception_file_and_line() 995 // the end of that one since we don't support multi-line error in print_exception_file_and_line() 1001 // the size of the text in the source line. in print_exception_file_and_line() 1014 Py_XDECREF(line); in print_exception_file_and_line() 1019 /* Prints the message line 1188 PyObject *line = PyList_GET_ITEM(lines, i); print_exception_notes() local 1386 PyObject *line = PyUnicode_FromFormat("... (max_group_depth is %d)\\n", print_exception_group() local 1425 PyObject *line; print_exception_group() local 1465 PyObject *line = PyUnicode_FromFormat( print_exception_group() local [all...] |
/third_party/curl/tests/ |
H A D | test1167.pl | 80 my ($line, $linenum) = ($_, $.); 81 if( /^#(line|) (\d+) \"(.*)\"/) { 83 # until next #line 111 print "Line #$linenum: $line\n\n"; 125 my ($line, $linenum) = ($_, $.); 130 print "Line #$linenum: $line\n\n";
|
H A D | test1140.pl | 61 my $line = 1; 68 print "error: $f:$line: double-highlight\n"; 72 print "error: $f:$line: missing \\fP after $str\n"; 79 print "error: $f:$line: referring to non-existing man page $man\n"; 83 print "error: $f:$line: use \\fI before $str\n"; 89 print "error: $f:$line: non-referencing $1\n"; 98 print "error: $f:$line: referring to non-existing man page $man\n"; 103 $line++;
|