/third_party/python/Tools/peg_generator/pegen/ |
H A D | build.py | 188 for line in tokens: 189 line = line.strip() 191 if not line or line.startswith("#"): 194 pieces = line.split() 206 raise ValueError(f"Unexpected line found in Tokens file: {line}")
|
/third_party/python/Tools/unicode/ |
H A D | gencodec.py | 89 for line in lines: 90 line = line.strip() 91 if not line or line[0] == '#': 93 m = mapRE.match(line) 95 #print '* not matched: %s' % repr(line) 353 # Final new-line
|
H A D | genmap_japanese.py | 34 for line in fo: 35 line = line.split('#', 1)[0].strip() 36 if not line or len(line.split()) < 2: 39 row = line.split()
|
/third_party/openssl/crypto/ |
H A D | o_str.c | 21 char *CRYPTO_strdup(const char *str, const char* file, int line) in CRYPTO_strdup() argument 27 ret = CRYPTO_malloc(strlen(str) + 1, file, line); in CRYPTO_strdup() 33 char *CRYPTO_strndup(const char *str, size_t s, const char* file, int line) in CRYPTO_strndup() argument 43 ret = CRYPTO_malloc(maxlen + 1, file, line); in CRYPTO_strndup() 51 void *CRYPTO_memdup(const void *data, size_t siz, const char* file, int line) in CRYPTO_memdup() argument 58 ret = CRYPTO_malloc(siz, file, line); in CRYPTO_memdup()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkDefs.hpp | 273 Error (VkResult error, const char* message, const char* expr, const char* file, int line); 286 NotSupportedError (VkResult error, const char* message, const char* expr, const char* file, int line); 299 OutOfMemoryError (VkResult error, const char* message, const char* expr, const char* file, int line); 309 void checkResult (VkResult result, const char* message, const char* file, int line); 310 void checkResultSupported (VkResult result, const char* message, const char* file, int line); 311 void checkWsiResult (VkResult result, const char* message, const char* file, int line);
|
/third_party/skia/src/sksl/ |
H A D | SkSLDSLParser.h | 74 PositionInfo position(int line); 128 void error(int line, String msg); 167 bool parseArrayDimensions(int line, dsl::DSLType* type); 169 bool parseInitializer(int line, dsl::DSLExpression* initializer); 249 dsl::DSLExpression swizzle(int line, dsl::DSLExpression base, skstd::string_view swizzleMask); 251 dsl::DSLExpression call(int line, dsl::DSLExpression base, ExpressionArray args);
|
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
H A D | gen_restricted_traces.py | 361 for line in f: 363 if DEPS_END in line: 365 new_deps += line 368 if DEPS_START in line: 369 new_deps += line 372 new_deps += line
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_variable_stmt_test.cc | 33 ASSERT_EQ(e->source.range.begin.line, 1u); in TEST_F() 35 ASSERT_EQ(e->source.range.end.line, 1u); in TEST_F() 52 ASSERT_EQ(e->source.range.begin.line, 1u); in TEST_F() 54 ASSERT_EQ(e->source.range.end.line, 1u); in TEST_F() 152 ASSERT_EQ(e->source.range.begin.line, 1u); in TEST_F() 154 ASSERT_EQ(e->source.range.end.line, 1u); in TEST_F()
|
/third_party/skia/tools/ |
H A D | compare_codereview.py | 286 def wrap_to(line, columns): 287 """Wrap a line to the given number of columns, return a list 292 for word in line.split(): 306 for line in string.split('\n'): 307 for i, wrapped_line in enumerate(wrap_to(line, 68 - (2 * indent))): 382 for (indent, line) in formatted_result: 383 printer(indent, line)
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | common_unittest.cc | 82 void CaptureLog(LogLevel level, const char* filename, int line, in CaptureLog() argument 86 implicit_cast<int>(level), filename, line, message)); in CaptureLog() 91 int line = __LINE__; in TEST() local 98 "[libprotobuf INFO " __FILE__ ":" + SimpleItoa(line + 1) + "] A message.\n" in TEST() 99 "[libprotobuf WARNING " __FILE__ ":" + SimpleItoa(line + 2) + "] A warning.\n" in TEST() 100 "[libprotobuf ERROR " __FILE__ ":" + SimpleItoa(line + 3) + "] An error.\n", in TEST()
|
/third_party/selinux/libselinux/src/ |
H A D | get_context_list.c | 137 char *line = NULL; in get_context_user() local 167 while ((len = getline(&line, &line_len, fp)) > 0) { in get_context_user() 168 if (line[len - 1] == '\n') in get_context_user() 169 line[len - 1] = 0; in get_context_user() 172 start = line; in get_context_user() 178 /* Find the end of the (partial) fromcon in the line. */ in get_context_user() 298 free(line); in get_context_user()
|
/third_party/rust/crates/version_check/src/ |
H A D | lib.rs | 109 for line in s.lines() { in version_and_date_from_rustc_verbose_version() 111 match line.trim().split(" ").nth(0) { in version_and_date_from_rustc_verbose_version() 113 let (v, d) = version_and_date_from_rustc_version(line); in version_and_date_from_rustc_verbose_version() 117 Some("release:") => version = split(line), in version_and_date_from_rustc_verbose_version() 118 Some("commit-date:") if line.ends_with("unknown") => date = None, in version_and_date_from_rustc_verbose_version() 119 Some("commit-date:") => date = split(line), in version_and_date_from_rustc_verbose_version()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
H A D | deDefs.h | 258 void deAssertFail(const char* reason, const char* file, int line); 261 typedef void (*deAssertFailureCallbackFunc) (const char* reason, const char* file, int line); 302 #define DE_MAKE_NAME(line, token) DE_MAKE_NAME2(line, token) 303 #define DE_MAKE_NAME2(line, token) _static_assert_##line##_##token 307 # define DE_BREAKPOINT() do { printf("Software breakpoint encountered in %s, line %d\n", __FILE__, __LINE__); __asm { int 3 } } while (deGetFalse()) 309 # define DE_BREAKPOINT() do { printf("Software breakpoint encountered in %s, line %d\n", __FILE__, __LINE__); __debugbreak(); } while (deGetFalse()) 311 # define DE_BREAKPOINT() do { printf("Software breakpoint encountered in %s, line %d\n", __FILE__, __LINE__); __asm__ __volatile__ ( "bkpt #3" ); } while (deGetFalse()) 313 # define DE_BREAKPOINT() do { printf("Software breakpoint encountered in %s, line [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | string_utils.cpp | 85 std::string line; in SplitStringAlongWhitespace() local 87 while (std::getline(stream, line)) in SplitStringAlongWhitespace() 90 while ((pos = line.find_first_of(kWhitespaceASCII, prev)) != std::string::npos) in SplitStringAlongWhitespace() 93 tokensOut->push_back(line.substr(prev, pos - prev)); in SplitStringAlongWhitespace() 96 if (prev < line.length()) in SplitStringAlongWhitespace() 97 tokensOut->push_back(line.substr(prev, std::string::npos)); in SplitStringAlongWhitespace()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
H A D | cache-v7.S | 149 add r2, r2, #4 @ add 4 (line length offset) 291 USER( mcr p15, 0, r12, c7, c11, 1 ) @ clean D line to the point of unification 305 USER( mcr p15, 0, r12, c7, c5, 1 ) @ invalidate I line 349 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D line / unified line 376 mcrne p15, 0, r0, c7, c14, 1 @ clean & invalidate D / U line 381 mcrne p15, 0, r1, c7, c14, 1 @ clean & invalidate D / U line 384 mcrlo p15, 0, r0, c7, c6, 1 @ invalidate D / U line 406 mcr p15, 0, r0, c7, c10, 1 @ clean D / U line 428 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D / U line [all...] |
/kernel/linux/linux-6.6/arch/arm/mm/ |
H A D | cache-v7.S | 150 add r2, r2, #4 @ add 4 (line length offset) 288 USER( mcr p15, 0, r12, c7, c11, 1 ) @ clean D line to the point of unification 302 USER( mcr p15, 0, r12, c7, c5, 1 ) @ invalidate I line 346 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D line / unified line 373 mcrne p15, 0, r0, c7, c14, 1 @ clean & invalidate D / U line 378 mcrne p15, 0, r1, c7, c14, 1 @ clean & invalidate D / U line 381 mcrlo p15, 0, r0, c7, c6, 1 @ invalidate D / U line 403 mcr p15, 0, r0, c7, c10, 1 @ clean D / U line 425 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D / U line [all...] |
/third_party/cups-filters/filter/ |
H A D | texttotext.c | 75 main(int argc, /* I - Number of command-line args */ in main() 76 char *argv[]) /* I - Command-line arguments */ in main() 93 num_columns = 80; /* Characters per line */ in main() 112 newline_char_t newline_char = CRLF; /* Character to send at end of line */ in main() 149 line, column; /* Character coordiantes on output in main() local 156 line? */ in main() 157 int skip_spaces = 0; /* Are we skipping spaces at a line in main() 160 to the next line */ in main() 235 * Use the filename on the command-line... in main() 251 * Get the options from the fifth command line argumen in main() [all...] |
/third_party/gptfdisk/ |
H A D | gpttext.cc | 454 string line; in MakeHybrid() local 474 line = ReadString(); in MakeHybrid() 475 istringstream inLine(line); in MakeHybrid() 583 char line[255]; in GetSectorNum() local 587 cin.getline(line, 255); in GetSectorNum() 590 response = IeeeToInt(line, blockSize, low, high, sectorAlignment, def); in GetSectorNum() 1005 string line; in GetMBRTypeCode() local 1014 line = ReadString(); in GetMBRTypeCode() 1015 if (line[0] == '\0') in GetMBRTypeCode() 1018 typeCode = StrToHex(line, in GetMBRTypeCode() [all...] |
/third_party/python/Tools/scripts/ |
H A D | freeze_modules.py | 449 for pos, line in enumerate(lines): 450 if marker in line: 462 replacements = [line.rstrip() + '\n' for line in replacements] 506 line = ('{"%s", NULL, 0, %s, GET_CODE(%s)},' 509 line = ('{"%s", %s, (int)sizeof(%s), %s, GET_CODE(%s)},' 511 lines.append(line) 526 for i, line in enumerate(lines): 527 if line: 528 lines[i] = indent + line [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | tokenizer_unittest.cc | 165 void AddError(int line, int column, const std::string& message) { in AddError() argument 166 strings::SubstituteAndAppend(&text_, "$0:$1: $2\n", line, column, message); in AddError() 258 EXPECT_EQ(0, tokenizer.current().line); in TEST_2D() 270 EXPECT_EQ(0, tokenizer.current().line); in TEST_2D() 281 EXPECT_EQ(0, tokenizer.current().line); in TEST_2D() 367 // Test that newlines affect line numbers correctly. 394 // Test that line comments are ignored. 441 EXPECT_EQ(0, tokenizer.current().line); in TEST_2D() 465 EXPECT_EQ(previous.line, tokenizer.previous().line); in TEST_2D() [all...] |
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | con3215.c | 3 * 3215 line mode terminal driver. 91 int line_pos; /* position on the line (for tabs) */ 467 * Drop the oldest line from the output buffer. 693 int line; in raw3215_probe() local 708 for (line = 0; line < NR_3215; line++) { in raw3215_probe() 709 if (!raw3215[line]) { in raw3215_probe() 710 raw3215[line] = raw; in raw3215_probe() 715 if (line in raw3215_probe() 726 unsigned int line; raw3215_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | vr41xx_siu.c | 155 if (port->line == 0) in siu_check_type() 157 if (port->line == 1 && port->irq) in siu_check_type() 311 lsr |= lsr_break_flag[port->line]; in receive_chars() 312 lsr_break_flag[port->line] = 0; in receive_chars() 708 port->line = i; in siu_init_ports() 729 lsr_break_flag[port->line] = UART_LSR_BI; in wait_for_xmitr() 829 siu_uart_ports[port->line].line = port->line; in vr41xx_siu_early_setup() 830 siu_uart_ports[port->line] in vr41xx_siu_early_setup() [all...] |
/kernel/linux/linux-5.10/tools/perf/pmu-events/ |
H A D | jevents.c | 789 char *line, *p; in process_mapfile() local 796 line = malloc(n); in process_mapfile() 797 if (!line) in process_mapfile() 804 free(line); in process_mapfile() 810 /* Skip first line (header) */ in process_mapfile() 811 p = fgets(line, n, mapfp); in process_mapfile() 820 p = fgets(line, n, mapfp); in process_mapfile() 824 if (line[0] == '#' || line[0] == '\n') in process_mapfile() 827 if (line[strle in process_mapfile() [all...] |
/kernel/linux/linux-6.6/drivers/s390/char/ |
H A D | con3215.c | 3 * 3215 line mode terminal driver. 91 int line_pos; /* position on the line (for tabs) */ 702 int line; in raw3215_probe() local 717 for (line = 0; line < NR_3215; line++) { in raw3215_probe() 718 if (!raw3215[line]) { in raw3215_probe() 719 raw3215[line] = raw; in raw3215_probe() 724 if (line == NR_3215) { in raw3215_probe() 735 unsigned int line; in raw3215_remove() local [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
H A D | UTS46Test.java | 733 private void checkIdnaTestResult(String line, String type, in checkIdnaTestResult() argument 741 type, status, line)); in checkIdnaTestResult() 750 type, status, expectedHasErrors, info.hasErrors(), info.getErrors(), line)); in checkIdnaTestResult() 753 errln(String.format("%s expected != actual\n %s", type, line)); in checkIdnaTestResult() 764 String line; in IdnaTest() 765 while ((line = idnaTestFile.readLine()) != null) { in IdnaTest() 767 int commentStart = line.indexOf('#'); in IdnaTest() 769 line = line.substring(0, commentStart); in IdnaTest() 771 String[] fields = semi.split(line, in IdnaTest() [all...] |