/third_party/musl/src/internal/ |
H A D | network_conf_function.c | 28 int get_services_str(char *line, FILE *f, int *indexPtr) in get_services_str() argument 31 return fgets(line, sizeof line, f); in get_services_str() 34 memcpy(line, g_fixedServices[*indexPtr], strlen(g_fixedServices[*indexPtr])); in get_services_str()
|
/third_party/musl/porting/linux/user/src/internal/ |
H A D | network_conf_function.c | 13 int get_services_str(char *line, FILE *f, int *indexPtr) in get_services_str() argument 16 return fgets(line, sizeof line, f); in get_services_str() 19 memcpy(line, g_fixedServices[*indexPtr], strlen(g_fixedServices[*indexPtr])); in get_services_str()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | Declarator.cpp | 14 TDeclarator::TDeclarator(const ImmutableString &name, const TSourceLoc &line) in TDeclarator() argument 15 : mName(name), mArraySizes(nullptr), mLine(line) in TDeclarator() 22 const TSourceLoc &line) in TDeclarator() 23 : mName(name), mArraySizes(arraySizes), mLine(line) in TDeclarator() 20 TDeclarator(const ImmutableString &name, const TVector<unsigned int> *arraySizes, const TSourceLoc &line) TDeclarator() argument
|
/third_party/vk-gl-cts/execserver/ |
H A D | xsDefs.cpp | 31 static std::string formatError (const char* message, const char* expr, const char* file, int line) in formatError() argument 37 msg << " at " << file << ":" << line; in formatError() local 41 Error::Error (const char* message, const char* expr, const char* file, int line) in Error() argument 42 : std::runtime_error(formatError(message, expr, file, line)) in Error()
|
/third_party/vk-gl-cts/framework/xexml/ |
H A D | xeDefs.cpp | 31 static std::string formatError (const char* message, const char* expr, const char* file, int line) in formatError() argument 37 msg << " at " << file << ":" << line; in formatError() local 41 Error::Error (const char* message, const char* expr, const char* file, int line) in Error() argument 42 : std::runtime_error(formatError(message, expr, file, line)) in Error()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | ucm.cpp | 748 ucm_parseBytes(uint8_t bytes[UCNV_EXT_MAX_BYTES], const char *line, const char **ps) { in ucm_parseBytes() argument 767 fprintf(stderr, "ucm error: byte must be formatted as \\xXX (2 hex digits) - \"%s\"\n", line); in ucm_parseBytes() 772 fprintf(stderr, "ucm error: too many bytes on \"%s\"\n", line); in ucm_parseBytes() 783 /* parse a mapping line; must not be empty */ 788 const char *line) { in ucm_parseMappingLine() 795 s=line; in ucm_parseMappingLine() 812 fprintf(stderr, "ucm error: Unicode code point must be formatted as <UXXXX> (1..6 hex digits) - \"%s\"\n", line); in ucm_parseMappingLine() 816 fprintf(stderr, "ucm error: Unicode code point must be 0..d7ff or e000..10ffff - \"%s\"\n", line); in ucm_parseMappingLine() 821 fprintf(stderr, "ucm error: too many code points on \"%s\"\n", line); in ucm_parseMappingLine() 829 fprintf(stderr, "ucm error: no Unicode code points on \"%s\"\n", line); in ucm_parseMappingLine() 785 ucm_parseMappingLine(UCMapping *m, UChar32 codePoints[UCNV_EXT_MAX_UCHARS], uint8_t bytes[UCNV_EXT_MAX_BYTES], const char *line) ucm_parseMappingLine() argument 1132 ucm_addMappingFromLine(UCMFile *ucm, const char *line, UBool forBase, UCMStates *baseStates) ucm_addMappingFromLine() argument 1153 char line[500]; ucm_readTable() local [all...] |
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | ucm.cpp | 748 ucm_parseBytes(uint8_t bytes[UCNV_EXT_MAX_BYTES], const char *line, const char **ps) { in ucm_parseBytes() argument 767 fprintf(stderr, "ucm error: byte must be formatted as \\xXX (2 hex digits) - \"%s\"\n", line); in ucm_parseBytes() 772 fprintf(stderr, "ucm error: too many bytes on \"%s\"\n", line); in ucm_parseBytes() 783 /* parse a mapping line; must not be empty */ 788 const char *line) { in ucm_parseMappingLine() 795 s=line; in ucm_parseMappingLine() 812 fprintf(stderr, "ucm error: Unicode code point must be formatted as <UXXXX> (1..6 hex digits) - \"%s\"\n", line); in ucm_parseMappingLine() 816 fprintf(stderr, "ucm error: Unicode code point must be 0..d7ff or e000..10ffff - \"%s\"\n", line); in ucm_parseMappingLine() 821 fprintf(stderr, "ucm error: too many code points on \"%s\"\n", line); in ucm_parseMappingLine() 829 fprintf(stderr, "ucm error: no Unicode code points on \"%s\"\n", line); in ucm_parseMappingLine() 785 ucm_parseMappingLine(UCMapping *m, UChar32 codePoints[UCNV_EXT_MAX_UCHARS], uint8_t bytes[UCNV_EXT_MAX_BYTES], const char *line) ucm_parseMappingLine() argument 1132 ucm_addMappingFromLine(UCMFile *ucm, const char *line, UBool forBase, UCMStates *baseStates) ucm_addMappingFromLine() argument 1153 char line[500]; ucm_readTable() local [all...] |
/kernel/linux/linux-5.10/drivers/lightnvm/ |
H A D | pblk-write.c | 111 struct pblk_line *line; in pblk_map_remaining() local 119 line = pblk_ppa_to_line(pblk, *ppa); in pblk_map_remaining() 120 lba_list = emeta_to_lbas(pblk, line->emeta->buf); in pblk_map_remaining() 122 spin_lock(&line->lock); in pblk_map_remaining() 127 if (!test_and_set_bit(paddr, line->map_bitmap)) in pblk_map_remaining() 128 line->left_msecs--; in pblk_map_remaining() 131 line->nr_valid_lbas--; in pblk_map_remaining() 135 if (!test_and_set_bit(paddr, line->invalid_bitmap)) in pblk_map_remaining() 136 le32_add_cpu(line->vsc, -1); in pblk_map_remaining() 143 line in pblk_map_remaining() 152 struct pblk_line *line; pblk_prepare_resubmit() local 276 struct pblk_line *line = m_ctx->private; pblk_end_io_write_meta() local [all...] |
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | generate_stats.py | 171 # Example output (line 1): 177 for line in out.splitlines(): 178 # The first line holds the build name 180 info['build_name'] = line.strip().split("'")[1] 184 if 'Created' in line: 185 # Example output of line with 'Created': 189 info['time'] = re.findall(r'[0-9]{1,2}:[0-9]{2}:[0-9]{2}', line.split(',', 1)[0])[0] 192 if 'got_angle_revision' in line: 193 # Example output of line with angle revision: 197 info['angle_revision'] = filter(str.isalnum, line [all...] |
/kernel/linux/linux-5.10/drivers/usb/storage/ |
H A D | freecom.c | 492 static char line[80]; in pdump() local 502 offset += sprintf (line+offset, " - "); in pdump() 505 line[offset++] = buffer[j]; in pdump() 507 line[offset++] = '.'; in pdump() 509 line[offset] = 0; in pdump() 510 usb_stor_dbg(us, "%s\n", line); in pdump() 513 offset += sprintf (line+offset, "%08x:", i); in pdump() 515 offset += sprintf (line+offset, " -"); in pdump() 517 offset += sprintf (line+offset, " %02x", buffer[i] & 0xff); in pdump() 525 offset += sprintf (line in pdump() [all...] |
/kernel/linux/linux-6.6/drivers/usb/storage/ |
H A D | freecom.c | 491 static char line[80]; in pdump() local 501 offset += sprintf (line+offset, " - "); in pdump() 504 line[offset++] = buffer[j]; in pdump() 506 line[offset++] = '.'; in pdump() 508 line[offset] = 0; in pdump() 509 usb_stor_dbg(us, "%s\n", line); in pdump() 512 offset += sprintf (line+offset, "%08x:", i); in pdump() 514 offset += sprintf (line+offset, " -"); in pdump() 516 offset += sprintf (line+offset, " %02x", buffer[i] & 0xff); in pdump() 524 offset += sprintf (line in pdump() [all...] |
/third_party/elfutils/libdw/ |
H A D | libdw.h | 82 /* Source code line information for CU. */ 85 /* One source code line information. */ 649 /* Get source for file and line number. */ 650 extern int dwarf_getsrc_file (Dwarf *dbg, const char *fname, int line, int col, 655 /* Return line address. */ 656 extern int dwarf_lineaddr (Dwarf_Line *line, Dwarf_Addr *addrp); 658 /* Return line VLIW operation index. */ 659 extern int dwarf_lineop_index (Dwarf_Line *line, unsigned int *op_indexp); 661 /* Return line number. */ 662 extern int dwarf_lineno (Dwarf_Line *line, in [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ci/ |
H A D | radeonsi-run-tests.py | 195 for line in p.stdout.decode().split("\n"): 196 if line.find("deqp-runner") >= 0: 197 s = line.split(" ")[1].split(".") 231 for line in p.stdout.decode().split("\n"): 232 if "GL_RENDER" in line: 233 line = line.split("=")[1] variable 234 gpu_name_full = "(".join(line.split("(")[:-1]).strip() 235 gpu_name = line.replace("(TM)", "").split("(")[1].split(",")[0].lower() 237 elif "gfx_level" in line [all...] |
/third_party/node/test/common/ |
H A D | inspector-helper.js | 43 for (const line of lines) 44 dataCallback(line); 253 _isBreakOnLineNotification(message, line, expectedScriptPath) { 261 assert.strictEqual(location.lineNumber, line); 266 waitForBreakOnLine(line, url) { 270 this._isBreakOnLineNotification(notification, line, url), 271 `break on ${url}:${line}`); 346 (line) => { 347 this.emit('stdout', line); 348 this._logger.log('[out]', line); [all...] |
/third_party/node/deps/npm/node_modules/diff/lib/patch/ |
H A D | merge.js | 466 var line = insert.lines[insert.index++]; 467 hunk.lines.push(line); 474 var line = insert.lines[insert.index++]; 475 hunk.lines.push(line); 484 var line = state.lines[state.index]; // Group additions that are immediately after subtractions and treat them as one "atomic" modify change. 486 if (operation === '-' && line[0] === '+') { 490 if (operation === line[0]) { 491 ret.push(line); 578 lines.forEach(function (line) { 579 if (typeof line ! [all...] |
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftlcdfil.c | 95 FT_Byte* line = origin; in ft_lcd_filter_fir() local 101 for ( ; height > 0; height--, line -= pitch ) in ft_lcd_filter_fir() 107 val = line[0]; in ft_lcd_filter_fir() 112 val = line[1]; in ft_lcd_filter_fir() 120 val = line[xx]; in ft_lcd_filter_fir() 127 line[xx - 2] = FT_SHIFTCLAMP( fir[0] ); in ft_lcd_filter_fir() 130 line[xx - 2] = FT_SHIFTCLAMP( fir[1] ); in ft_lcd_filter_fir() 131 line[xx - 1] = FT_SHIFTCLAMP( fir[2] ); in ft_lcd_filter_fir() 210 FT_Byte* line = origin; in _ft_lcd_filter_legacy() local 213 for ( ; height > 0; height--, line in _ft_lcd_filter_legacy() [all...] |
/third_party/skia/ |
H A D | PRESUBMIT.py | 76 def is_comment(line): 77 return (comment_block_start_pattern.match(line) or 78 comment_block_middle_pattern.match(line) or 79 comment_block_end_pattern.match(line) or 80 single_line_comment_pattern.match(line)) 83 def is_empty_line(line): 84 return empty_line_pattern.match(line) 91 for line in f.xreadlines(): 92 if is_comment(line) or is_empty_line(line) [all...] |
/kernel/linux/linux-6.6/tools/power/pm-graph/ |
H A D | sleepgraph.py | 348 msg = 'Signal %s caused a tool exit, line %d' % (signame, frame.f_lineno) 466 for line in fp: 467 if re.match('^processor[ \t]*:[ \t]*[0-9]*', line): 471 for line in fp: 472 m = re.match('^MemTotal:[ \t]*(?P<sz>[0-9]*) *kB', line) 475 m = re.match('^MemFree:[ \t]*(?P<sz>[0-9]*) *kB', line) 480 for line in fp: 481 if line.startswith('PRETTY_NAME='): 482 self.osversion = line[12:].strip().replace('"', '') 537 for line i [all...] |
/build/hb/util/ |
H A D | monitor.py | 87 def extract_memory_value(self, line: str):
88 match = re.search(r'\d+', line)
91 def get_ret_num(self, line: str):
92 key = line.split(':')[0]
94 value = self.extract_memory_value(line)
100 for line in f:
101 self.get_ret_num(line)
150 for line in lines:
151 columns = line.split()
|
/third_party/curl/tests/ |
H A D | test1173.pl | 64 my %shline; # section => line number 100 my ($f, $sec, $file, $line)=@_; 115 print STDERR "$file:$line broken reference to $f($sec)\n"; 143 my $line = 1; 174 push @sepline, $line; 175 checkref($1, $2, $file, $line); 178 print STDERR "$file:$line bad SEE ALSO format\n"; 185 push @sepline, $line; 189 push @sepline, $line; 197 print STDERR "$file:$line '\\ [all...] |
/third_party/curl/scripts/ |
H A D | cd2nroff | 106 my $line; 126 $line++; 149 print STDERR "$f:$line:1:ERROR: bad See-Also, needs list\n"; 179 print STDERR "$f:$line:1:ERROR: no 'See-also:' present\n"; 183 print STDERR "$f:$line:1:ERROR: no 'C:' field present\n"; 187 print STDERR "$f:$line:1:ERROR: no 'SPDX-License-Identifier:' field present\n"; 194 print STDERR "WARN: unrecognized line in $f, ignoring:\n:'$_';" 199 print STDERR "$f:$line:1:ERROR: no header present\n"; 214 $line++; 310 # remove single line HTM [all...] |
/third_party/gn/src/gn/ |
H A D | err.cc | 30 std::string* line) { in FillRangeOnLine() 31 // Only bother if the range's begin or end overlaps the line. If the entire in FillRangeOnLine() 32 // line is highlighted as a result of this range, it's not very helpful. in FillRangeOnLine() 47 end_char = static_cast<int>(line->size()); // Ending is non-inclusive. in FillRangeOnLine() 52 CHECK(begin_char >= 0 && begin_char <= static_cast<int>(line->size())); in FillRangeOnLine() 53 CHECK(end_char >= 0 && end_char <= static_cast<int>(line->size())); in FillRangeOnLine() 55 line->at(i) = '-'; in FillRangeOnLine() 58 // The line length is used to clip the maximum length of the markers we'll 59 // make if the error spans more than one line (like unterminated literals). 63 // Make a buffer of the line i in OutputHighlighedPosition() 28 FillRangeOnLine(const LocationRange& range, int line_number, std::string* line) FillRangeOnLine() argument 188 std::string line = InternalPrintToStdout() local [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | image-pnm.c | 44 bit; /* Bit in input line */ in _cupsImageReadPNM() 45 char line[255], /* Input line */ in _cupsImageReadPNM() local 46 *lineptr; /* Pointer in line */ in _cupsImageReadPNM() 65 if ((lineptr = fgets(line, sizeof(line), fp)) == NULL) in _cupsImageReadPNM() 81 lineptr = fgets(line, sizeof(line), fp); in _cupsImageReadPNM() 95 lineptr = fgets(line, sizeof(line), f in _cupsImageReadPNM() [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_log.c | 83 int line, in __vk_log_impl() 129 char *message_idname = ralloc_asprintf(NULL, "%s:%d", file, line); in __vk_log_impl() 296 const char *file, int line, in __vk_errorv() 319 VK_LOG_OBJS(object), file, line, in __vk_errorv() 324 VK_LOG_NO_OBJS(instance), file, line, in __vk_errorv() 333 VK_LOG_OBJS(object), file, line, in __vk_errorv() 338 VK_LOG_NO_OBJS(instance), file, line, in __vk_errorv() 348 const char *file, int line, in __vk_errorf() 354 VkResult result = __vk_errorv(_obj, error, file, line, format, va); in __vk_errorf() 78 __vk_log_impl(VkDebugUtilsMessageSeverityFlagBitsEXT severity, VkDebugUtilsMessageTypeFlagsEXT types, int object_count, const void **objects_or_instance, const char *file, int line, const char *format, ...) __vk_log_impl() argument 295 __vk_errorv(const void *_obj, VkResult error, const char *file, int line, const char *format, va_list va) __vk_errorv() argument 347 __vk_errorf(const void *_obj, VkResult error, const char *file, int line, const char *format, ...) __vk_errorf() argument
|
/third_party/node/deps/openssl/openssl/crypto/cmp/ |
H A D | cmp_util.c | 77 char **func, char **file, int *line) in ossl_cmp_log_parse_metadata() 87 *line = 0; in ossl_cmp_log_parse_metadata() 103 *line = (int)line_number; in ossl_cmp_log_parse_metadata() 129 int line, OSSL_CMP_severity level, const char *msg) in OSSL_CMP_print_to_bio() 143 file, line) < 0) in OSSL_CMP_print_to_bio() 157 int line, flags; in OSSL_CMP_print_errors_cb() local 159 while ((err = ERR_get_error_all(&file, &line, &func, &data, &flags)) != 0) { in OSSL_CMP_print_errors_cb() 188 OSSL_CMP_print_to_bio(bio, component, file, line, in OSSL_CMP_print_errors_cb() 196 if (log_fn(component, file, line, OSSL_CMP_LOG_ERR, msg) <= 0) in OSSL_CMP_print_errors_cb() 75 ossl_cmp_log_parse_metadata(const char *buf, OSSL_CMP_severity *level, char **func, char **file, int *line) ossl_cmp_log_parse_metadata() argument 128 OSSL_CMP_print_to_bio(BIO *bio, const char *component, const char *file, int line, OSSL_CMP_severity level, const char *msg) OSSL_CMP_print_to_bio() argument
|