/kernel/linux/linux-6.6/drivers/media/usb/pwc/ |
H A D | pwc-uncompress.c | 23 int n, line, col; in pwc_decompress() local 63 for (line = 0; line < pdev->height; line++) { in pwc_decompress() 67 if (line & 1) in pwc_decompress()
|
/kernel/linux/linux-6.6/tools/testing/selftests/lkdtm/ |
H A D | run.sh | 5 # with a leading "#" are skipped. The rest of the line after the 29 line=$(grep -E '^#?'"$test"'\b' tests.txt) 30 if [ -z "$line" ]; then 41 test=$(echo "$line" | cut -d" " -f1) 42 if echo "$line" | grep -q ' ' ; then 43 expect=$(echo "$line" | cut -d" " -f2-)
|
/kernel/linux/linux-6.6/scripts/ |
H A D | generate_rust_target.rs | 8 //! manner. For instance, via command-line arguments. Therefore, this file 115 let mut line = String::new(); in from_stdin() variables 118 line.clear(); in from_stdin() 120 if handle.read_line(&mut line).unwrap() == 0 { in from_stdin() 124 if line.starts_with('#') { in from_stdin() 128 let (key, value) = line.split_once('=').expect("Missing `=` in line."); in from_stdin()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | get_branch_snapshot.c | 11 char *line = NULL; in is_hypervisor() local 20 while (getline(&line, &len, fp) != -1) { in is_hypervisor() 21 if (!strncmp(line, "flags", 5)) { in is_hypervisor() 22 if (strstr(line, "hypervisor") != NULL) in is_hypervisor() 28 free(line); in is_hypervisor()
|
/kernel/liteos_a/tools/scripts/parse_memory/ |
H A D | parse_mem_info.sh | 115 cat $1 | while read line; do 116 HEAD_STRING=$(echo ${line} | awk '{print $1}') 118 parse_line "${line}" "${PARAM_LIST}" 121 echo " "${line} 123 echo ${line}
|
/third_party/eudev/src/libudev/ |
H A D | libudev.c | 50 int priority, const char *file, int line, const char *fn, 105 char line[UTIL_LINE_SIZE]; in udev_new() local 108 while (fgets(line, sizeof(line), f)) { in udev_new() 116 key = line; in udev_new() 120 /* comment or empty line */ in udev_new() 127 log_debug(UDEV_CONF_FILE ":%u: missing assignment, skipping line.", line_nr); in udev_new() 159 log_debug(UDEV_CONF_FILE ":%u: inconsistent quoting, skipping line.", line_nr); in udev_new() 226 int priority, const char *file, int line, const char *fn, in udev_set_log_fn() 224 udev_set_log_fn(struct udev *udev, void (*log_fn)(struct udev *udev, int priority, const char *file, int line, const char *fn, const char *format, va_list args)) udev_set_log_fn() argument
|
/third_party/node/tools/ |
H A D | genv8constants.py | 75 for line in pipe: 76 line = line.decode('utf-8') variable 88 octetstr = line[idx:idx+3] 98 match = pattern.match(line)
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_mem.h | 45 const char *func, const char *file, size_t line); 51 const char *file, size_t line); 57 const char *func, const char *file, size_t line); 65 size_t line); 73 size_t line);
|
/third_party/ltp/testcases/kernel/syscalls/process_madvise/ |
H A D | process_madvise.h | 40 char line[BUFSIZ]; in read_address_mapping() local 50 while (fgets(line, BUFSIZ, f) != NULL) { in read_address_mapping() 51 if (strncmp(ptr_str, line, strlen(ptr_str)) == 0) in read_address_mapping() 57 if (found && strcmp(line, "VmFlags") >= 0) in read_address_mapping() 60 if (sscanf(line, "%31[^:]: %d", label, &value) > 0) { in read_address_mapping()
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_log.h | 65 objects_or_instance, file, line, format, ...) \ 67 file, line, format, ## __VA_ARGS__) 75 int line, 87 const char *file, int line, 92 const char *file, int line,
|
/third_party/rust/crates/codespan/codespan-reporting/examples/ |
H A D | peg_calculator.rs | 45 let line = match editor.readline("> ") { in main() 46 Ok(line) => line, in main() 51 match arithmetic::calculate(&line) { in main() 54 let file = SimpleFile::new("<repl>", line); in main()
|
/third_party/python/Tools/peg_generator/pegen/ |
H A D | grammar_visualizer.py | 36 line = prefix + ("└──" if istail else "├──") + value + "\n" 40 return line 44 line += self.print_nodes_recursively(child, prefix + sufix, False) 45 line += self.print_nodes_recursively(last, prefix + sufix, True) 47 return line
|
/third_party/python/Tools/scripts/ |
H A D | dutree.py | 9 for line in p: 11 while line[i] in '0123456789': i = i+1 12 size = eval(line[:i]) 13 while line[i] in ' \t': i = i+1 14 filename = line[i:-1]
|
/third_party/python/Lib/ |
H A D | codeop.py | 51 for line in source.split("\n"): 52 line = line.strip() 53 if line and line[0] != '#':
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLFunctionCall.h | 24 FunctionCall(int line, const Type* type, const FunctionDeclaration* function, in FunctionCall() argument 26 : INHERITED(line, kExpressionKind, type) in FunctionCall() 33 int line, 38 int line, 44 int line,
|
H A D | SkSLConstructorStruct.cpp | 16 int line, in Convert() 23 context.fErrors->error(line, in Convert() 42 return ConstructorStruct::Make(context, line, type, std::move(args)); in Convert() 61 int line, in Make() 66 return std::make_unique<ConstructorStruct>(line, type, std::move(args)); in Make() 15 Convert(const Context& context, int line, const Type& type, ExpressionArray args) Convert() argument 60 Make(const Context& context, int line, const Type& type, ExpressionArray args) Make() argument
|
H A D | SkSLConstructorArrayCast.cpp | 28 int line = arg->fLine; in cast_constant_array() local 30 typecastArgs.push_back(ConstructorScalarCast::Make(context, line, scalarType, in cast_constant_array() 33 typecastArgs.push_back(ConstructorCompoundCast::Make(context, line, scalarType, in cast_constant_array() 42 int line, in Make() 64 return std::make_unique<ConstructorArrayCast>(line, type, std::move(arg)); in Make() 41 Make(const Context& context, int line, const Type& type, std::unique_ptr<Expression> arg) Make() argument
|
/third_party/optimized-routines/math/tools/ |
H A D | plot.py | 26 for line in f: 27 m = r.match(line) 37 elif line.startswith('PASS') or line.startswith('FAIL'): 38 # Print the summary line 39 print(line)
|
/third_party/selinux/libsepol/cil/test/unit/ |
H A D | test_cil_lexer.c | 68 CuAssertIntEquals(tc, 1, test_tok.line); in test_cil_lexer_next() 75 CuAssertIntEquals(tc, 1, test_tok.line); in test_cil_lexer_next() 82 CuAssertIntEquals(tc, 1, test_tok.line); in test_cil_lexer_next() 89 CuAssertIntEquals(tc, 1, test_tok.line); in test_cil_lexer_next() 96 CuAssertIntEquals(tc, 1, test_tok.line); in test_cil_lexer_next()
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | crypto.rs | 40 func: Option<unsafe extern "C" fn(mode: c_int, n: c_int, file: *const c_char, line: c_int)>, in CRYPTO_set_locking_callback__fixed_rust() 55 line: c_int, in CRYPTO_add_lock() 62 pub fn CRYPTO_malloc(num: size_t, file: *const c_char, line: c_int) -> *mut c_void; in CRYPTO_malloc() 63 pub fn CRYPTO_free(buf: *mut c_void, file: *const c_char, line: c_int); in CRYPTO_free() 67 pub fn CRYPTO_malloc(num: c_int, file: *const c_char, line: c_int) -> *mut c_void; in CRYPTO_malloc()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dio_stream_encoder.c | 74 uint32_t cont, send, line; in enc3_update_hdmi_info_packet() local 87 /* select line number to send packets on */ in enc3_update_hdmi_info_packet() 88 line = 2; in enc3_update_hdmi_info_packet() 92 line = 0; in enc3_update_hdmi_info_packet() 104 HDMI_GENERIC0_LINE, line); in enc3_update_hdmi_info_packet() 111 HDMI_GENERIC1_LINE, line); in enc3_update_hdmi_info_packet() 118 HDMI_GENERIC2_LINE, line); in enc3_update_hdmi_info_packet() 125 HDMI_GENERIC3_LINE, line); in enc3_update_hdmi_info_packet() 132 HDMI_GENERIC4_LINE, line); in enc3_update_hdmi_info_packet() 139 HDMI_GENERIC5_LINE, line); in enc3_update_hdmi_info_packet() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dio_stream_encoder.c | 58 uint32_t cont, send, line; in enc3_update_hdmi_info_packet() local 72 /* select line number to send packets on */ in enc3_update_hdmi_info_packet() 73 line = 2; in enc3_update_hdmi_info_packet() 77 line = 0; in enc3_update_hdmi_info_packet() 89 HDMI_GENERIC0_LINE, line); in enc3_update_hdmi_info_packet() 96 HDMI_GENERIC1_LINE, line); in enc3_update_hdmi_info_packet() 103 HDMI_GENERIC2_LINE, line); in enc3_update_hdmi_info_packet() 110 HDMI_GENERIC3_LINE, line); in enc3_update_hdmi_info_packet() 117 HDMI_GENERIC4_LINE, line); in enc3_update_hdmi_info_packet() 124 HDMI_GENERIC5_LINE, line); in enc3_update_hdmi_info_packet() [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | jsunit_driver.py | 240 line = file_read_pipe.readline() 243 if not line: 246 if self._is_match_marker(line): 247 if "[suites info]" in line: 248 _, pos = re.match(".+\\[suites info]", line).span() 249 suite_info.append(line[pos:].strip()) 251 if "[start] start run suites" in line: # 发现了任务开始标签 253 self._init_suites_start(line, pattern, pid) 258 if not pid or pid not in line: 260 message_list.append(line) [all...] |
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_lite_mk_file.py | 40 for index, line in enumerate(self.lines): 42 if re.search(self.target_format % current_vendor, line): 46 if re.search(self.end_line_pattern, line): 49 if re.search(self.vendor_pattern, line): 74 for line in self.lines: 75 match_obj = re.search(self.current_vendor_pattern, line)
|
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/ |
H A D | hdi_interface_test.cpp | 89 std::string line; in HWTEST_F() local 95 while (getline(fin, line)) { in HWTEST_F() 96 chargeLimitStr += line + "\n"; in HWTEST_F() 125 std::string line; in HWTEST_F() local 131 while (getline(fin, line)) { in HWTEST_F() 132 voltageLimitStr += line + "\n"; in HWTEST_F()
|