Home
last modified time | relevance | path

Searched refs:line (Results 176 - 200 of 4012) sorted by relevance

12345678910>>...161

/third_party/skia/docs/examples/
H A DPoint_normalize_2.cpp11 for (auto line : lines) { in REG_FIDDLE()
12 canvas->drawLine(line[0], line[1], paint); in REG_FIDDLE()
13 SkVector vector = line[1] - line[0]; in REG_FIDDLE()
17 canvas->drawLine(line[0] - rotate90, line[0] + rotate90, paint); in REG_FIDDLE()
18 canvas->drawLine(line[1] - rotate90, line[1] + rotate90, paint); in REG_FIDDLE()
/third_party/ltp/libs/libltpuinput/
H A Dtst_uinput.c49 static char *parse_field(char *line, char field) in parse_field() argument
55 value = strstr(line, HANDLERS_PREFIX) + sizeof(HANDLERS_PREFIX) - 1; in parse_field()
58 value = strstr(line, SYSFS_PREFIX) + sizeof(SYSFS_PREFIX) - 1; in parse_field()
72 char line[1024]; in get_input_field_value() local
79 while (fgets(line, sizeof(line), file)) { in get_input_field_value()
80 if (strstr(line, "N: Name=\""VIRTUAL_DEVICE"\"")) in get_input_field_value()
84 if (line[0] == field) in get_input_field_value()
85 return parse_field(line, field); in get_input_field_value()
87 if (line[ in get_input_field_value()
99 char line[256]; check_device() local
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dcpu-arm.c40 char *line, *end, *colon; in get_cpuinfo_line() local
42 if (!(line = strstr(cpuinfo, tag))) in get_cpuinfo_line()
45 if (!(end = strchr(line, '\n'))) in get_cpuinfo_line()
48 if (!(colon = strchr(line, ':'))) in get_cpuinfo_line()
82 char *cpuinfo, *line; in pa_cpu_get_arm_flags() local
95 if ((line = get_cpuinfo_line(cpuinfo, "CPU architecture"))) { in pa_cpu_get_arm_flags()
96 arch = strtoul(line, NULL, 0); in pa_cpu_get_arm_flags()
102 pa_xfree(line); in pa_cpu_get_arm_flags()
106 if ((line = get_cpuinfo_line(cpuinfo, "Features"))) { in pa_cpu_get_arm_flags()
110 while ((current = pa_split_spaces(line, in pa_cpu_get_arm_flags()
[all...]
/third_party/rust/crates/clap/clap_mangen/src/
H A Drender.rs21 for line in about.to_string().lines() {
22 if line.trim().is_empty() {
25 roff.text([roman(line)]);
32 let mut line = vec![bold(cmd.get_name()), roman(" ")]; variables
38 line.push(roman(lhs));
39 line.push(bold(format!("-{short}")));
40 line.push(roman("|"));
41 line.push(bold(format!("--{long}",)));
42 line.push(roman(rhs));
45 line
[all...]
/third_party/pulseaudio/speex/libspeexdsp/
H A Dfixed_debug.h78 static inline short _EXTRACT16(int x, char *file, int line) in _EXTRACT16() argument
83 fprintf (stderr, "EXTRACT16: input is not short: %d in %s: line %d\n", x, file, line); in _EXTRACT16()
91 static inline int _EXTEND32(int x, char *file, int line) in _EXTEND32() argument
96 fprintf (stderr, "EXTEND32: input is not short: %d in %s: line %d\n", x, file, line); in _EXTEND32()
104 static inline short _SHR16(int a, int shift, char *file, int line) in _SHR16() argument
109 fprintf (stderr, "SHR16: inputs are not short: %d >> %d in %s: line %d\n", a, shift, file, line); in _SHR16()
113 fprintf (stderr, "SHR16: output is not short: %d in %s: line in _SHR16()
118 _SHL16(int a, int shift, char *file, int line) _SHL16() argument
174 _ADD16(int a, int b, char *file, int line) _ADD16() argument
191 _SUB16(int a, int b, char *file, int line) _SUB16() argument
206 _ADD32(long long a, long long b, char *file, int line) _ADD32() argument
254 _MULT16_16(int a, int b, char *file, int line) _MULT16_16() argument
275 _MULT16_32_QX(int a, long long b, int Q, char *file, int line) _MULT16_32_QX() argument
439 _DIV32_16(long long a, long long b, char *file, int line) _DIV32_16() argument
465 _DIV32(long long a, long long b, char *file, int line) _DIV32() argument
[all...]
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/test/
H A Ddecorator_test.cpp130 bool IsMatchAnyRegex(const std::string& line, const std::vector<std::regex>& regs) in IsMatchAnyRegex() argument
132 return std::any_of(regs.begin(), regs.end(), [line](std::regex reg) {return regex_match(line, reg);}); in IsMatchAnyRegex()
135 void RemoveCollectorNameIfMatched(const std::string& line, std::unordered_set<std::string>& collectorNames) in RemoveCollectorNameIfMatched() argument
138 if (strncmp(line.c_str(), name.c_str(), strlen(name.c_str())) == 0) { in RemoveCollectorNameIfMatched()
153 std::string line; in CheckContent() local
154 while (getline(file, line)) { in CheckContent()
155 if (line.size() > 0 && line[line in CheckContent()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dassembly_builder.h167 for (const auto& line : preamble_) { in GetCode()
168 ss << line << std::endl; in GetCode()
170 for (const auto& line : global_preamble_) { in GetCode()
171 ss << line << std::endl; in GetCode()
173 for (const auto& line : names_) { in GetCode()
174 ss << line << std::endl; in GetCode()
176 for (const auto& line : annotations_) { in GetCode()
177 ss << line << std::endl; in GetCode()
179 for (const auto& line : types_consts_globals_) { in GetCode()
180 ss << line << st in GetCode()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dassembly_builder.h167 for (const auto& line : preamble_) { in GetCode()
168 ss << line << std::endl; in GetCode()
170 for (const auto& line : global_preamble_) { in GetCode()
171 ss << line << std::endl; in GetCode()
173 for (const auto& line : names_) { in GetCode()
174 ss << line << std::endl; in GetCode()
176 for (const auto& line : annotations_) { in GetCode()
177 ss << line << std::endl; in GetCode()
179 for (const auto& line : types_consts_globals_) { in GetCode()
180 ss << line << st in GetCode()
[all...]
/third_party/spirv-tools/test/opt/
H A Dassembly_builder.h167 for (const auto& line : preamble_) { in GetCode()
168 ss << line << std::endl; in GetCode()
170 for (const auto& line : global_preamble_) { in GetCode()
171 ss << line << std::endl; in GetCode()
173 for (const auto& line : names_) { in GetCode()
174 ss << line << std::endl; in GetCode()
176 for (const auto& line : annotations_) { in GetCode()
177 ss << line << std::endl; in GetCode()
179 for (const auto& line : types_consts_globals_) { in GetCode()
180 ss << line << st in GetCode()
[all...]
/third_party/skia/src/sksl/ir/
H A DSkSLConstructor.cpp26 int line, in convert_compound_constructor()
49 context.fErrors->error(line, "'" + argument->type().displayName() + in convert_compound_constructor()
61 context, line, type.componentType(), std::move(args)); in convert_compound_constructor()
68 ? ConstructorDiagonalMatrix::Make(context, line, type, std::move(typecast)) in convert_compound_constructor()
69 : ConstructorSplat::Make(context, line, type, std::move(typecast)); in convert_compound_constructor()
74 return ConstructorCompoundCast::Make(context, line, type, std::move(argument)); in convert_compound_constructor()
87 argument = ConstructorCompoundCast::Make(context, line, typecastType, in convert_compound_constructor()
91 return ConstructorMatrixResize::Make(context, line, type, in convert_compound_constructor()
104 ConstructorCompound::Make(context, line, vectorType, std::move(args)); in convert_compound_constructor()
108 return ConstructorCompoundCast::Make(context, line, typ in convert_compound_constructor()
25 convert_compound_constructor(const Context& context, int line, const Type& type, ExpressionArray args) convert_compound_constructor() argument
150 Convert(const Context& context, int line, const Type& type, ExpressionArray args) Convert() argument
[all...]
/third_party/node/tools/gyp/pylib/gyp/
H A Dwin_tool.py143 for line in out.splitlines():
145 not line.startswith(" Creating library ")
146 and not line.startswith("Generating code")
147 and not line.startswith("Finished generating code")
149 print(line)
257 for line in out.splitlines():
258 if line and "manifest authoring warning 81010002" not in line:
259 print(line)
275 quietable via command line flag
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A Dwin_tool.py143 for line in out.splitlines():
145 not line.startswith(" Creating library ")
146 and not line.startswith("Generating code")
147 and not line.startswith("Finished generating code")
149 print(line)
256 for line in out.splitlines():
257 if line and "manifest authoring warning 81010002" not in line:
258 print(line)
274 quietable via command line flag
[all...]
/third_party/node/deps/v8/tools/
H A Dobjdump-v847 def format_line(line):
48 pieces = line.split(None, 3)
52 def is_comment(line):
53 stripped = line.strip()
68 for line in codefile:
69 if line.startswith("0x"):
70 addr = int(line.split()[0], 0)
73 sys.stdout.write(format_line(line))
77 if not is_comment(line):
80 sys.stdout.write(line)
[all...]
/third_party/python/Tools/scripts/
H A Dcombinerefs.py18 a line of output for each object still alive at the end:
43 it's common for the line showing the dict of interned strings to display
45 (albeit painfully) because such containees don't have a line of their own.
76 # while the regexp object pat matches line. If whilematch is false, lines
77 # are read so long as pat doesn't match them. In any case, the first line
79 # (when whilematch is false), is lost, and fileiter will resume at the line
82 for line in fileiter:
83 if bool(pat.match(line)) == whilematch:
84 yield line
91 for line i
[all...]
/third_party/python/Modules/_blake2/
H A Dblake2b2s.py23 for line in f:
25 mo = PUBLIC_SEARCH.search(line)
38 for line in f:
39 line = line.replace('blake2b', 'blake2s')
40 line = line.replace('BLAKE2b', 'BLAKE2s')
41 line = line.replace('BLAKE2B', 'BLAKE2S')
42 lines.append(line)
[all...]
/third_party/skia/third_party/externals/tint/src/utils/io/
H A Dtmpfile_test.cc42 std::string line; in TEST() local
43 EXPECT_TRUE(std::getline(file, line)); in TEST()
44 EXPECT_EQ(line, "hello world"); in TEST()
45 EXPECT_FALSE(std::getline(file, line)); in TEST()
55 std::string line; in TEST() local
56 EXPECT_TRUE(std::getline(file, line)); in TEST()
57 EXPECT_EQ(line, "hello world"); in TEST()
58 EXPECT_TRUE(std::getline(file, line)); in TEST()
59 EXPECT_EQ(line, "42"); in TEST()
60 EXPECT_FALSE(std::getline(file, line)); in TEST()
[all...]
/third_party/toybox/toys/other/
H A Dfmt.c20 Reformat input to wordwrap at a given line length, preserving existing
23 -w WIDTH Maximum characters per line (default 75)
44 char *line; in fmt_line() local
47 // Flush line on EOF in fmt_line()
51 for (line = *pline, idx = count = 0; isspace(line[idx]); idx++) { in fmt_line()
52 if (line[idx]=='\t') count += 8-(count&7); in fmt_line()
53 else if (line[idx]==' ') count++; in fmt_line()
57 // Blank lines (even with same indentation) flush line in fmt_line()
71 char *word = line in fmt_line()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DarrayAssignmentTest5.js18 onEnter(line:string, state:IState, offset:number):IAction;
19 tokenize(line:string, state:IState, includeStates:boolean):ILineTokens;
22 public onEnter(line:string, state:IState, offset:number):IAction {
23 var lineTokens:ILineTokens= this.tokenize(line, state, true);
26 return this.onEnter(line, tokens, offset); // <== this should produce an error since onEnter can not be called with (string, IStateToken[], offset)
29 public tokenize(line:string, state:IState, includeStates:boolean):ILineTokens {
42 Bug.prototype.onEnter = function (line, state, offset) {
43 var lineTokens = this.tokenize(line, state, true);
46 return this.onEnter(line, tokens, offset); // <== this should produce an error since onEnter can not be called with (string, IStateToken[], offset)
49 Bug.prototype.tokenize = function (line, stat
[all...]
/third_party/skia/modules/skplaintexteditor/src/
H A Deditor.cpp26 // Calls f() on each line.
47 void Editor::markDirty(TextLine* line) { in markDirty() argument
48 line->fBlob = nullptr; in markDirty()
49 line->fShaped = false; in markDirty()
50 line->fWordBoundaries = std::vector<bool>(); in markDirty()
74 const TextLine& line = fLines[j]; in getPosition() local
76 line.fOrigin.y(), in getPosition()
79 if (const SkTextBlob* b = line.fBlob.get()) { in getPosition()
81 r.offset(line.fOrigin); in getPosition()
87 SkPoint pt = to_point(xy - line in getPosition()
166 TextLine* line = &fLines[pos.fParagraphIndex]; insert() local
191 auto& line = fLines[start.fParagraphIndex]; remove() local
[all...]
/third_party/ltp/scripts/
H A Dcheckpatch.pl87 --no-signoff do not check for 'Signed-off-by' line
90 --terse one line per report
108 --max-line-length=n set the maximum line length, (default $max_line_length)
123 If correctable single-line errors exist, create
223 my $line = $_;
225 $line =~ s/\s*\n?$//g;
226 $line =~ s/^\s*//g;
227 $line =~ s/\s+/ /g;
229 next if ($line
[all...]
/third_party/f2fs-tools/tools/debug_tools/
H A Dfsck_debug.c45 unsigned char line[LINE_MAX_LEN]; in hex_info_dump() local
54 line[k++] = hex_ascii[(i >> HEX_SHIFT_12) & HEX_MASK]; in hex_info_dump()
55 line[k++] = hex_ascii[(i >> HEX_SHIFT_8) & HEX_MASK]; in hex_info_dump()
56 line[k++] = hex_ascii[(i >> HEX_SHIFT_4) & HEX_MASK]; in hex_info_dump()
57 line[k++] = hex_ascii[i & HEX_MASK]; in hex_info_dump()
58 line[k++] = ':'; in hex_info_dump()
60 j % BATCH_INTS == 0 ? line[k++] = ' ' : 1; in hex_info_dump() local
61 line[k++] = hex_ascii[(buf[i + j] >> HEX_SHIFT_4) & HEX_MASK]; in hex_info_dump()
62 line[k++] = hex_ascii[(buf[i + j] & HEX_MASK)]; in hex_info_dump()
64 line[ in hex_info_dump()
[all...]
/third_party/skia/infra/bots/recipe_modules/flavor/resources/
H A Dsymbolize_stack_trace.py5 # pylint: disable=line-too-long
40 for line in iter(proc.stdout.readline, ''):
41 line = line.decode('utf-8')
42 sys.stdout.write(line)
43 logs.append(line)
62 for line in logs:
63 line = line.strip()
65 m = re.search(stack_line, line)
[all...]
/third_party/toybox/scripts/
H A Dmktags.c14 char *line = 0, *s; in main() local
17 len = getline(&line, (void *)&len, stdin); in main()
19 while (len && isspace(line[len-1])) line[--len]=0; in main()
21 // Very simple parser: If we haven't got a TAG then first line is TAG. in main()
22 // Then look for { followed by "str" (must be on same line, may have in main()
23 // more than one per line), for each one emit #define. Current TAG ended in main()
24 // by ) at start of line. in main()
27 if (!isalpha(*line)) { in main()
28 fprintf(stderr, "bad tag %s\n", line); in main()
[all...]
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/
H A Dbbox_detector_plugin.cpp141 string line; in StartBootScan() local
148 while (FileUtil::GetLastLine(fin, line) && num > 0) { in StartBootScan()
150 std::map<std::string, std::string> historyMap = GetValueFromHistory(line); in StartBootScan()
160 static_cast<int64_t>(TimeUtil::StrToTimeStamp(StringUtil::GetMidSubstr(line, "time [", "-"), in StartBootScan()
162 static_cast<int64_t>(TimeUtil::StrToTimeStamp(StringUtil::GetMidSubstr(line, "time[", "-"), in StartBootScan()
168 auto happenTime = GetHappenTime(line); in StartBootScan()
170 HIVIEW_LOGI("BBox write history line is %{public}s write result = %{public}d", line.c_str(), res); in StartBootScan()
175 uint64_t BBoxDetectorPlugin::GetHappenTime(std::string& line) in GetHappenTime() argument
178 static_cast<uint64_t>(Tbox::GetHappenTime(StringUtil::GetMidSubstr(line, "tim in GetHappenTime()
206 GetValueFromHistory(std::string& line) GetValueFromHistory() argument
[all...]
/third_party/alsa-utils/topology/nhlt/intel/dmic/
H A Ddmic-debug.c66 int i, j, line, lines, remain; in dmic_print_internal() local
118 line = i * 8; in dmic_print_internal()
120 dmic->dmic_fir_array.fir_coeffs[j][0][line], in dmic_print_internal()
121 dmic->dmic_fir_array.fir_coeffs[j][0][line + 1], in dmic_print_internal()
122 dmic->dmic_fir_array.fir_coeffs[j][0][line + 2], in dmic_print_internal()
123 dmic->dmic_fir_array.fir_coeffs[j][0][line + 3], in dmic_print_internal()
124 dmic->dmic_fir_array.fir_coeffs[j][0][line + 4], in dmic_print_internal()
125 dmic->dmic_fir_array.fir_coeffs[j][0][line + 5], in dmic_print_internal()
126 dmic->dmic_fir_array.fir_coeffs[j][0][line + 6], in dmic_print_internal()
127 dmic->dmic_fir_array.fir_coeffs[j][0][line in dmic_print_internal()
[all...]

Completed in 9 milliseconds

12345678910>>...161