Home
last modified time | relevance | path

Searched refs:line (Results 751 - 775 of 5730) sorted by relevance

1...<<31323334353637383940>>...230

/third_party/musl/src/passwd/
H A Dgetgr_r.c4 #define FIX(x) (gr->gr_##x = gr->gr_##x-line+buf)
8 char *line = 0; in getgr_r() local
18 rv = __getgr_a(name, gid, gr, &line, &len, &mem, &nmem, res); in getgr_r()
27 memcpy(buf, line, len); in getgr_r()
31 gr->gr_mem[i] = mem[i]-line+buf; in getgr_r()
35 free(line); in getgr_r()
/third_party/ltp/testcases/kernel/mem/tunable/
H A Dmax_map_count.c24 * Each process has his own maps file: /proc/[pid]/maps, and each line
29 * then reads the process's maps file /proc/[pid]/maps, save the line number to
40 * so we ignore this line during /proc/[pid]/maps reading.
59 static bool filter_map(const char *line) in filter_map() argument
64 ret = sscanf(line, "%*p-%*p %*4s %*p %*2d:%*2d %*d %s", buf); in filter_map()
86 if (!strncmp(line, "ffff0000-ffff1000", 17)) in filter_map()
100 char *line = NULL; in count_maps() local
108 while (getline(&line, &len, fp) != -1) { in count_maps()
110 if (filter_map(line)) in count_maps()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkAppParamsUtil.cpp58 std::string line; in readApplicationParameters() local
60 while (std::getline(file, line)) in readApplicationParameters()
61 lines.push_back(line); in readApplicationParameters()
71 for (const std::string& line : lines) in readApplicationParameters()
73 if (line.empty()) in readApplicationParameters()
76 std::stringstream sstream(line); in readApplicationParameters()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DErrorData.cpp27 int line) { in Create()
29 error->AppendBacktrace(file, function, line); in Create()
37 void ErrorData::AppendBacktrace(const char* file, const char* function, int line) { in AppendBacktrace() argument
41 record.line = line; in AppendBacktrace()
89 << callsite.line << ")\n"; in GetFormattedMessage()
23 Create(InternalErrorType type, std::string message, const char* file, const char* function, int line) Create() argument
/third_party/typescript/tests/baselines/reference/
H A DModuleWithExportedAndNonExportedImportAlias.js34 var line: { start: { x: number; y: number }; end: { x: number; y: number; } }; variable
35 var line = Geometry.Unit; variable
38 var line = Geometry.Lines.Line; variable
65 var line; variable
66 var line = Geometry.Unit; variable
68 var line = Geometry.Lines.Line; variable
/third_party/skia/third_party/externals/freetype/builds/meson/
H A Dextract_freetype_version.py45 for line in header.splitlines():
46 line = line.rstrip()
47 m = RE_MAJOR.match(line)
53 m = RE_MINOR.match(line)
59 m = RE_PATCH.match(line)
/third_party/python/Lib/test/
H A Dtest_bufio.py33 line = f.readline()
34 self.assertEqual(line, s + b"\n")
35 line = f.readline()
36 self.assertEqual(line, s)
37 line = f.readline()
38 self.assertFalse(line) # Must be at EOF
/third_party/skia/include/sksl/
H A DSkSLErrorReporter.h26 PositionInfo(const char* file = nullptr, int line = -1) in PositionInfo()
28 , fLine(line) {} in PositionInfo()
31 static PositionInfo Capture(const char* file = __builtin_FILE(), int line = __builtin_LINE()) { in Capture()
32 return PositionInfo(file, line); in Capture()
42 int line() { in line() function in SkSL::PositionInfo
65 * Reports an error message at the given line of the source text. Errors reported
66 * with a line of -1 will be queued until line number information can be determined.
68 void error(int line, skstd::string_view msg);
/third_party/rust/crates/unicode-ident/generate/src/
H A Dparse.rs37 for (i, line) in contents.lines().enumerate() { in parse_xid_properties()
38 if line.starts_with('#') || line.trim().is_empty() { in parse_xid_properties()
41 let (lo, hi, name) = parse_line(line).unwrap_or_else(|| { in parse_xid_properties()
42 let _ = writeln!(io::stderr(), "{filename} line {i} is unexpected:\n{line}"); in parse_xid_properties()
56 fn parse_line(line: &str) -> Option<(u32, u32, &str)> { in parse_line()
57 let (mut codepoint, rest) = line.split_once(';')?; in parse_line()
H A Dwrite.rs70 for line in index_start.chunks(16) { in output()
72 for byte in line { in output()
85 for line in index_continue.chunks(16) { in output()
87 for byte in line { in output()
100 for line in halfdense.chunks(16) { in output()
102 for byte in line { in output()
/third_party/rust/crates/rust-openssl/openssl-errors/tests/
H A Dtest.rs31 assert_eq!(error.line(), line!() - 11); in basic()
55 assert_eq!(error.line(), line!() - 11); in static_data()
72 assert_eq!(error.line(), line!() - 11); in dynamic_data()
/kernel/linux/linux-6.6/drivers/tty/serial/8250/
H A D8250_pci1xxxx.c110 int line[]; member
215 static bool pci1xxxx_port_suspend(int line) in pci1xxxx_port_suspend() argument
217 struct uart_8250_port *up = serial8250_get_port(line); in pci1xxxx_port_suspend()
242 static void pci1xxxx_port_resume(int line) in pci1xxxx_port_resume() argument
244 struct uart_8250_port *up = serial8250_get_port(line); in pci1xxxx_port_resume()
272 if (priv->line[i] >= 0) { in pci1xxxx_suspend()
273 serial8250_suspend_port(priv->line[i]); in pci1xxxx_suspend()
274 wakeup |= pci1xxxx_port_suspend(priv->line[i]); in pci1xxxx_suspend()
316 if (priv->line[i] >= 0) { in pci1xxxx_resume()
317 pci1xxxx_port_resume(priv->line[ in pci1xxxx_resume()
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
H A Djsunit_parser.py57 for line in lines:
58 self.parse(line)
63 def parse(self, line):
64 if (self.state_machine.suites_is_started() or line.find(
66 self._is_match_marker(line):
67 if line.find(_START_JSUNIT_RUN_MARKER) != -1:
69 elif line.endswith(_END_JSUNIT_RUN_MARKER):
71 elif line.find(_START_JSUNIT_SUITE_RUN_MARKER) != -1:
72 self.handle_suite_started_tag(line.strip())
73 elif line
[all...]
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dmacro_collector.py35 """Context manager to read a text file line by line.
39 for line in lines:
40 process(line)
45 for line in input_file:
46 process(line)
48 except that if process(line) raises an exception, then the read_file_lines
49 snippet annotates the exception with the file name and line number.
293 def read_line(self, line):
294 """Parse a C header line an
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dtrace-parser.py186 for line in lines:
188 match = re.search(flush_batch_match, line)
197 match = re.search(framebuffer_match, line)
207 match = re.search(surface_match, line)
216 match = re.search(gmem_match, line)
226 match = re.search(sysmem_match, line)
232 match = re.search(state_restore_match, line)
237 match = re.search(prologue_match, line)
242 match = re.search(binning_ib_match, line)
248 match = re.search(vsc_overflow_match, line)
[all...]
/third_party/pcre2/pcre2/maint/
H A DGenerateUcd.py37 # Added #! line at start
272 # Parse a line of Scripts.txt, GraphemeBreakProperty.txt, DerivedBidiClass.txt
279 # Parse a line of CaseFolding.txt
287 # Parse a line of ScriptExtensions.txt
318 for line in file:
319 line = re.sub(r'#.*', '', line)
320 chardata = list(map(str.strip, line.split(';')))
333 # value of 0) which often come after a line which has already set data.
528 for line i
529 line = re.sub(r'#.*', '', line) global() variable
577 line = re.sub(r'#.*', '', line) global() variable
618 line = re.sub(r'#.*', '', line) global() variable
[all...]
/third_party/openssl/ohos_lite/include/openssl/
H A Dcrypto.h266 void *CRYPTO_malloc(size_t num, const char *file, int line);
267 void *CRYPTO_zalloc(size_t num, const char *file, int line);
268 void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
269 char *CRYPTO_strdup(const char *str, const char *file, int line);
270 char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
271 void CRYPTO_free(void *ptr, const char *file, int line);
272 void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
273 void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);
275 const char *file, int line);
279 void *CRYPTO_secure_malloc(size_t num, const char *file, int line);
[all...]
/third_party/skia/src/pathops/
H A DSkPathOpsCurve.h103 SkDLine line; in dline_xy_at_t() local
104 line.set(a); in dline_xy_at_t()
105 return line.ptAtT(t); in dline_xy_at_t()
183 SkDLine line; in dline_dxdy_at_t() local
184 line.set(a); in dline_dxdy_at_t()
185 return line[1] - line[0]; in dline_dxdy_at_t()
263 SkDLine line; in line_is_vertical() local
264 line.set(a); in line_is_vertical()
265 SkDPoint dst[2] = { line in line_is_vertical()
301 SkDLine line; line_intersect_ray() local
364 SkDLine line; line_intercept_h() local
373 SkDLine line; line_intercept_v() local
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/shape/
H A Dhb_test_tools.py117 for line in self.colorize_lines (lines):
118 yield line
123 for line in self.colorize_lines (lines):
124 yield line
128 for line in self.colorize_lines (lines):
129 yield line
139 if all (lines[0] == line for line in lines[1:]):
288 for line in filter_callback (f):
289 print (line)
[all...]
/third_party/toybox/toys/pending/
H A Dlsof.c113 char *line = NULL; in scan_proc_net_file() local
118 if (getline(&line, &line_length, fp) <= 0) return; // Skip header. in scan_proc_net_file()
120 while (getline(&line, &line_length, fp) > 0) { in scan_proc_net_file()
121 fn(line, family, type); in scan_proc_net_file()
124 free(line); in scan_proc_net_file()
138 static void scan_unix(char *line, int af, char type) in scan_unix() argument
143 if (sscanf(line, "%*p: %*X %*X %*X %*X %*X %lu %n", &inode, &path_pos) >= 1) { in scan_unix()
145 char *name = chomp(line + path_pos); in scan_unix()
151 static void scan_netlink(char *line, int af, char type) in scan_netlink() argument
162 if (sscanf(line, " in scan_netlink()
170 scan_ip(char *line, int af, char type) scan_ip() argument
334 char *line = NULL, device[10]; // xxx:xxxxx\\0 visit_maps() local
[all...]
/third_party/python/Tools/clinic/
H A Dclinic.py117 add(" on line " + str(line_number))
171 for line in s.split('\n'):
172 add(line.rstrip())
188 themselves. (This line is the "source line".)
189 * If the substitution text is empty, the source line
191 * If the field is not recognized, the original line
194 * Each line of the substituted text is indented
195 by the indent of the source line.
200 for line i
[all...]
/test/testfwk/developer_test/local_coverage/keyword_registration/
H A Dkeyword_filter.py111 def get_tag(content, line):
112 start_index = content.find(f'<a name="{line}"')
113 end_index = content.find(f'<a name="{int(line) + 1}"')
153 for line in branch_line_list:
154 if line > keyword_line:
155 index = branch_line_list.index(line)
380 keyword_line_list = [int(line) for line in keyword_line_list]
385 for line in keyword_line_list:
386 tag_html = get_tag(content, line)
[all...]
/kernel/linux/linux-6.6/scripts/
H A Ddecode_stacktrace.sh182 # Pass it to addr2line to get filename and line number
200 # Strip out the base of the path on each line
201 code=$(while read -r line; do echo "${line#$basepath/}"; done <<< "$code")
203 # In the case of inlines, move everything to same line
212 # Replace old address with pretty line numbers
304 # Add up the line number to the symbol
308 while read line; do
309 # Let's see if we have an address in the line
310 if [[ $line
[all...]
/third_party/ffmpeg/libavformat/
H A Dmccdec.c98 char line[4096]; in mcc_read_header() local
116 ff_subtitles_read_line(&tr, line, sizeof(line)); in mcc_read_header()
117 if (!strncmp(line, "File Format=MacCaption_MCC V", 28)) in mcc_read_header()
119 if (!strncmp(line, "//", 2)) in mcc_read_header()
121 if (!strncmp(line, "Time Code Rate=", 15)) { in mcc_read_header()
122 char *rate_str = line + 15; in mcc_read_header()
141 if (av_sscanf(line, "%d:%d:%d:%d", &hh, &mm, &ss, &fs) != 4) in mcc_read_header()
146 lline = (char *)&line; in mcc_read_header()
166 if (i + 13 >= sizeof(line) in mcc_read_header()
[all...]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/
H A Dgen_exceptions.js27 function matchError(regexp, line, resultArray){
28 const match = line.match(regexp);
38 function matchDuration(regexp, line, resultMap){
39 const match = line.match(regexp);
57 for (const line of lines) {
58 if (matchError(PARSE_FAILED_RE, line, failedParse))
60 if (matchError(PARSE_STRICT_FAILED_RE, line, failedParseStrict))
62 if (matchError(MUTATE_FAILED_RE, line, failedMutate))
64 if (matchDuration(PARSE_RE, line, durationsMap))
66 if (matchDuration(MUTATE_RE, line, durationsMa
[all...]

Completed in 15 milliseconds

1...<<31323334353637383940>>...230