/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | apbuart.c | 567 int line = 0; in grlib_apbuart_configure() local 586 grlib_apbuart_nodes[line] = np; in grlib_apbuart_configure() 590 port = &grlib_apbuart_ports[line]; in grlib_apbuart_configure() 599 port->line = line; in grlib_apbuart_configure() 601 port->fifosize = apbuart_scan_fifo_size((struct uart_port *) port, line); in grlib_apbuart_configure() 602 line++; in grlib_apbuart_configure() 605 if (line == UART_NR) in grlib_apbuart_configure() 609 grlib_apbuart_driver.nr = grlib_apbuart_port_nr = line; in grlib_apbuart_configure() 610 return line in grlib_apbuart_configure() [all...] |
/third_party/mesa3d/src/amd/compiler/tests/ |
H A D | glsl_scraper.py | 115 for line in self.glsl.splitlines(): 116 res = re.match(match_decl_re, line.lstrip().rstrip()) 150 for line in self.glsl.splitlines(): 151 f.write('\n// {0}'.format(line)) 157 for line in self.assembly.splitlines(): 158 f.write(' * ' + line + '\n') 205 for line in f: 208 m = token_exp.search(line, pos) 211 leftover += line[pos:m.start()] 221 leftover += line[po [all...] |
/third_party/ltp/lib/ |
H A D | tst_kconfig.c | 112 static inline int kconfig_parse_line(const char *line, in kconfig_parse_line() argument 120 while (isspace(*line)) in kconfig_parse_line() 121 line++; in kconfig_parse_line() 123 if (*line == '#') { in kconfig_parse_line() 124 if (!strstr(line, "is not set")) in kconfig_parse_line() 130 var = strstr(line, "CONFIG_"); in kconfig_parse_line() 201 char line[128]; in tst_kconfig_read() local 208 while (fgets(line, sizeof(line), fp)) { in tst_kconfig_read() 209 if (kconfig_parse_line(line, var in tst_kconfig_read() [all...] |
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | pkg_gencmn.cpp | 123 char *line; in createCommonDataFile() local 130 line = (char *)uprv_malloc(sizeof(char) * LINE_BUFFER_SIZE); in createCommonDataFile() 131 if (line == nullptr) { in createCommonDataFile() 132 fprintf(stderr, "gencmn: unable to allocate memory for line buffer of size %d\n", LINE_BUFFER_SIZE); in createCommonDataFile() 136 linePtr = line; in createCommonDataFile() 172 while((s != nullptr && *s != 0) || (s=T_FileStream_readLine(in, (line=linePtr), in createCommonDataFile() 176 line=s; in createCommonDataFile() 178 s=line; in createCommonDataFile() 194 if (*line == '#') { in createCommonDataFile() 202 while((t = uprv_strchr(line,U_FILE_ALT_SEP_CHA in createCommonDataFile() [all...] |
H A D | writesrc.cpp | 353 char line[100], line2[100], line3[100], line4[100]; in usrc_writeUCPTrie() local 357 snprintf(line, sizeof(line), "static const uint16_t %s_trieIndex[%%ld]={\n", name); in usrc_writeUCPTrie() 362 snprintf(line, sizeof(line), "index = [\n "); in usrc_writeUCPTrie() 369 usrc_writeUCPTrieArrays(f, line, line2, pTrie, line3, syntax); in usrc_writeUCPTrie() 373 snprintf(line, sizeof(line), "static const UCPTrie %s_trie={\n", name); in usrc_writeUCPTrie() 379 line[0] = 0; in usrc_writeUCPTrie() 387 usrc_writeUCPTrieStruct(f, line, pTri in usrc_writeUCPTrie() [all...] |
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | pkg_gencmn.cpp | 123 char *line; in createCommonDataFile() local 130 line = (char *)uprv_malloc(sizeof(char) * LINE_BUFFER_SIZE); in createCommonDataFile() 131 if (line == NULL) { in createCommonDataFile() 132 fprintf(stderr, "gencmn: unable to allocate memory for line buffer of size %d\n", LINE_BUFFER_SIZE); in createCommonDataFile() 136 linePtr = line; in createCommonDataFile() 172 while((s != NULL && *s != 0) || (s=T_FileStream_readLine(in, (line=linePtr), in createCommonDataFile() 176 line=s; in createCommonDataFile() 178 s=line; in createCommonDataFile() 194 if (*line == '#') { in createCommonDataFile() 202 while((t = uprv_strchr(line,U_FILE_ALT_SEP_CHA in createCommonDataFile() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | log.c | 44 * function name and code line from where it's invoked. As the 374 int line, in pa_log_levelv_meta() 416 AUDIO_ERR_LOG("%{public}s:%{public}u (%{public}s) %{public}s", filename, line, func, text); in pa_log_levelv_meta() 418 AUDIO_WARNING_LOG("%{public}s:%{public}u (%{public}s) %{public}s", filename, line, func, text); in pa_log_levelv_meta() 420 AUDIO_INFO_LOG("%{public}s:%{public}u (%{public}s) %{public}s", filename, line, func, text); in pa_log_levelv_meta() 422 AUDIO_DEBUG_LOG("%{public}s:%{public}u (%{public}s) %{public}s", filename, line, func, text); in pa_log_levelv_meta() 425 if ((_flags & PA_LOG_PRINT_META) && file && line > 0 && func) in pa_log_levelv_meta() 427 pa_strnull(pa_thread_get_name(pa_thread_self())), file, line, func); in pa_log_levelv_meta() 531 "CODE_LINE=%d", line, in pa_log_levelv_meta() 620 int line, in pa_log_level_meta() 371 pa_log_levelv_meta( pa_log_level_t level, const char*file, int line, const char *func, const char *format, va_list ap) pa_log_levelv_meta() argument 617 pa_log_level_meta( pa_log_level_t level, const char*file, int line, const char *func, const char *format, ...) pa_log_level_meta() argument [all...] |
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
H A D | pkg_gencmn.cpp | 123 char *line; in createCommonDataFile() local 130 line = (char *)uprv_malloc(sizeof(char) * LINE_BUFFER_SIZE); in createCommonDataFile() 131 if (line == NULL) { in createCommonDataFile() 132 fprintf(stderr, "gencmn: unable to allocate memory for line buffer of size %d\n", LINE_BUFFER_SIZE); in createCommonDataFile() 136 linePtr = line; in createCommonDataFile() 172 while((s != NULL && *s != 0) || (s=T_FileStream_readLine(in, (line=linePtr), in createCommonDataFile() 176 line=s; in createCommonDataFile() 178 s=line; in createCommonDataFile() 194 if (*line == '#') { in createCommonDataFile() 202 while((t = uprv_strchr(line,U_FILE_ALT_SEP_CHA in createCommonDataFile() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
H A D | restricted_trace_gold_tests.py | 176 def append(self, line): 179 if 'Additional test environment' in line or 'android/test_runner.py' in line: 182 if ANDROID_BEGIN_SYSTEM_INFO in line: 189 line = self.android_prefix.sub('', line) 191 if line[0] == '}': 194 self.lines.append(line) 210 for line in f: 211 filter.append(line) [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-use-table.py | 35 for line in files[j]: 36 line = line.rstrip() variable 37 if not line: 39 headers[j - 1].append(line) 45 for line in f: 47 j = line.find ('#') 49 line = line[:j] variable 51 fields = [x.strip () for x in line [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | importer.cc | 101 void AddError(int line, int column, const std::string& message) override { 103 multi_file_error_collector_->AddError(filename_, line, column, message); 192 int line, column; in AddError() local 194 owner_->source_locations_.FindImport(descriptor, element_name, &line, in AddError() 197 owner_->source_locations_.Find(descriptor, location, &line, &column); in AddError() 199 owner_->error_collector_->AddError(filename, line, column, message); in AddError() 208 int line, column; in AddWarning() local 210 owner_->source_locations_.FindImport(descriptor, element_name, &line, in AddWarning() 213 owner_->source_locations_.Find(descriptor, location, &line, &column); in AddWarning() 215 owner_->error_collector_->AddWarning(filename, line, colum in AddWarning() [all...] |
/third_party/python/Lib/ |
H A D | cgitb.py | 86 """Scan one logical line of Python and look up values of variables used.""" 88 for ttype, token, start, end, line in tokenize.generate_tokens(reader): 154 for line in lines: 157 line = '<tt>=>%s%s</tt>' % (num, pydoc.html.preformat(line)) 158 rows.append('<tr><td bgcolor="#ffccee">%s</td></tr>' % line) 160 line = '<tt> %s%s</tt>' % (num, pydoc.html.preformat(line)) 161 rows.append('<tr><td>%s</td></tr>' % grey(line)) 237 for line i [all...] |
/third_party/vk-gl-cts/framework/qphelper/ |
H A D | qpCrashHandler.c | 78 int line; member 86 info->line = 0; in qpCrashInfo_init() 89 static void qpCrashInfo_set (qpCrashInfo* info, qpCrashType type, const char* message, const char* file, int line) in qpCrashInfo_set() argument 94 info->line = line; in qpCrashInfo_set() 113 info->line); in qpCrashInfo_write() 237 static void assertFailureCallback (const char* expr, const char* file, int line) in assertFailureCallback() argument 250 qpCrashInfo_set(&g_crashHandler->crashInfo, QP_CRASHTYPE_ASSERT, expr, file, line); in assertFailureCallback() 429 static void assertFailureCallback (const char* expr, const char* file, int line) in assertFailureCallback() argument 432 qpCrashInfo_set(&g_crashHandler->crashInfo, QP_CRASHTYPE_ASSERT, expr, file, line); in assertFailureCallback() [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | efm32-uart.c | 696 efm_port->port.line = ret; in efm32_uart_probe_dt() 706 unsigned int line; in efm32_uart_probe() local 756 efm_port->port.line = pdev->id; in efm32_uart_probe() 763 line = efm_port->port.line; in efm32_uart_probe() 765 if (line >= 0 && line < ARRAY_SIZE(efm32_uart_ports)) in efm32_uart_probe() 766 efm32_uart_ports[line] = efm_port; in efm32_uart_probe() 772 if (line >= 0 && line < ARRAY_SIZ in efm32_uart_probe() 790 unsigned int line = efm_port->port.line; efm32_uart_remove() local [all...] |
/third_party/curl/tests/server/ |
H A D | rtspd.c | 208 char *line = &req->reqbuf[req->checkindex]; in ProcessRequest() local 214 char *end = strstr(line, END_OF_HEADERS); in ProcessRequest() 216 logmsg("ProcessRequest() called with testno %ld and line [%s]", in ProcessRequest() 217 req->testno, line); in ProcessRequest() 222 sscanf(line, in ProcessRequest() 426 CONNECT line will be used as test number! */ in ProcessRequest() 453 req->checkindex += (end - line) + strlen(END_OF_HEADERS); in ProcessRequest() 470 if((req->cl == 0) && strncasecompare("Content-Length:", line, 15)) { in ProcessRequest() 476 char *ptr = line + 15; in ProcessRequest() 496 else if(strncasecompare("Transfer-Encoding: chunked", line, in ProcessRequest() [all...] |
/third_party/littlefs/scripts/ |
H A D | code.py | 176 for line in proc.stdout: 177 m = size_pattern.match(line) 189 for line in proc.stderr: 190 sys.stdout.write(line) 207 for line in proc.stdout: 211 m = line_pattern.match(line) 228 for line in proc.stderr: 229 sys.stdout.write(line) 248 for line in proc.stdout: 250 m = info_pattern.match(line) [all...] |
H A D | data.py | 176 for line in proc.stdout: 177 m = size_pattern.match(line) 189 for line in proc.stderr: 190 sys.stdout.write(line) 207 for line in proc.stdout: 211 m = line_pattern.match(line) 228 for line in proc.stderr: 229 sys.stdout.write(line) 248 for line in proc.stdout: 250 m = info_pattern.match(line) [all...] |
/third_party/node/deps/v8/tools/ |
H A D | callstats.py | 250 for line in f: 251 line = line.strip() 252 if not line or line.startswith('#'): continue 253 sites.append({'url': line, 'timeout': args.timeout}) 395 for line in f: 396 line = line.strip() 398 if not line [all...] |
/third_party/skia/src/sksl/ir/ |
H A D | SkSLType.cpp | 332 StructType(int line, skstd::string_view name, std::vector<Field> fields) in StructType() argument 333 : INHERITED(std::move(name), "S", kTypeKind, line) in StructType() 458 std::unique_ptr<Type> Type::MakeStructType(int line, skstd::string_view name, 460 return std::make_unique<StructType>(line, name, std::move(fields)); 515 int line) const { 529 context.fErrors->error(line, "precision qualifiers are not allowed"); 534 context.fErrors->error(line, "only one precision qualifier can be used"); 578 context.fErrors->error(line, "type '" + this->displayName() + 755 const int line = expr->fLine; 758 context.fErrors->error(line, "expecte [all...] |
H A D | SkSLFunctionCall.cpp | 62 int line, in assemble_compound() 69 array.push_back(Literal::Make(line, value[index], &returnType.componentType())); in assemble_compound() 71 return ConstructorCompound::Make(context, line, returnType, std::move(array)); in assemble_compound() 95 int line = arg0->fLine; in coalesce_n_way_vector() local 130 return Literal::Make(line, value, &returnType); in coalesce_n_way_vector() 856 int line, in Convert() 862 line, in Convert() 869 context.fErrors->error(line, in Convert() 884 return std::make_unique<ExternalFunctionCall>(line, &f, std::move(arguments)); in Convert() 892 return FunctionCall::Convert(context, line, *bes in Convert() 61 assemble_compound(const Context& context, int line, const Type& returnType, double value[]) assemble_compound() argument 855 Convert(const Context& context, int line, std::unique_ptr<Expression> functionValue, ExpressionArray arguments) Convert() argument 935 Convert(const Context& context, int line, const FunctionDeclaration& function, ExpressionArray arguments) Convert() argument 1002 Make(const Context& context, int line, const Type* returnType, const FunctionDeclaration& function, ExpressionArray arguments) Make() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
H A D | hlr_auc_gw.c | 48 * can be changed with a command line options if needed. 280 int line, ret = 0; in read_gsm_triplets() local 291 line = 0; in read_gsm_triplets() 293 line++; in read_gsm_triplets() 318 printf("%s:%d - Invalid IMSI\n", fname, line); in read_gsm_triplets() 327 printf("%s:%d - Invalid Kc\n", fname, line); in read_gsm_triplets() 336 printf("%s:%d - Invalid SRES\n", fname, line); in read_gsm_triplets() 345 printf("%s:%d - Invalid RAND\n", fname, line); in read_gsm_triplets() 392 int line, ret = 0; in read_milenage() local 403 line in read_milenage() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
H A D | hlr_auc_gw.c | 48 * can be changed with a command line options if needed. 280 int line, ret = 0; in read_gsm_triplets() local 291 line = 0; in read_gsm_triplets() 293 line++; in read_gsm_triplets() 318 printf("%s:%d - Invalid IMSI\n", fname, line); in read_gsm_triplets() 327 printf("%s:%d - Invalid Kc\n", fname, line); in read_gsm_triplets() 336 printf("%s:%d - Invalid SRES\n", fname, line); in read_gsm_triplets() 345 printf("%s:%d - Invalid RAND\n", fname, line); in read_gsm_triplets() 392 int line, ret = 0; in read_milenage() local 403 line in read_milenage() [all...] |
/third_party/libfuse/util/ |
H A D | fusermount.c | 535 static void strip_line(char *line) in strip_line() argument 537 char *s = strchr(line, '#'); in strip_line() 540 for (s = line + strlen(line) - 1; in strip_line() 541 s >= line && isspace((unsigned char) *s); s--); in strip_line() 543 for (s = line; isspace((unsigned char) *s); s++); in strip_line() 544 if (s != line) in strip_line() 545 memmove(line, s, strlen(s)+1); in strip_line() 548 static void parse_line(char *line, int linenum) in parse_line() argument 551 if (strcmp(line, "user_allow_othe in parse_line() 566 char line[256]; read_conf() local [all...] |
/kernel/linux/linux-5.10/arch/ia64/scripts/ |
H A D | unwcheck.py | 40 for line in os.popen("%s -u %s" % (readelf, sys.argv[1])): 41 m = start_pattern.match(line) 52 m = rlen_pattern.match(line)
|
/kernel/linux/linux-6.6/arch/ia64/scripts/ |
H A D | unwcheck.py | 40 for line in os.popen("%s -u %s" % (readelf, sys.argv[1])): 41 m = start_pattern.match(line) 52 m = rlen_pattern.match(line)
|