Home
last modified time | relevance | path

Searched refs:line (Results 326 - 350 of 4291) sorted by relevance

1...<<11121314151617181920>>...172

/third_party/skia/third_party/externals/tint/src/diagnostic/
H A Dformatter.cc46 if (location.line > 0) { in to_str()
47 ss << location.line; in to_str()
146 if (rng.begin.line > 0) { in format()
152 } else if (rng.begin.line > 0) { in format()
193 if (style_.print_line && src.file_content != nullptr && rng.begin.line > 0) { in format()
197 for (size_t line_num = rng.begin.line; in format()
198 (line_num <= rng.end.line) && in format()
201 auto& line = src.file_content->lines[line_num - 1]; in format() local
202 auto line_len = line.size(); in format()
204 for (auto c : line) { in format()
[all...]
/third_party/icu/icu4c/source/tools/gencnval/
H A Dgencnval.c159 parseLine(const char *line);
165 chomp(char *line);
168 addOfficialTaggedStandards(char *line, int32_t lineLen);
235 /* preset then read command line options */ in main()
242 "error in command line argument \"%s\"\n", in main()
334 char line[MAX_LINE_SIZE]; in parseFile() local
355 uprv_strcpy(line + lineSize, lastLine); in parseFile()
365 if (isspace((int)*line)) { in parseFile()
368 } else if (line[0] == '{') { in parseFile()
369 if (!standardTagsUsed && line[lineSiz in parseFile()
401 chomp(char *line) chomp() argument
423 parseLine(const char *line) parseLine() argument
586 addOfficialTaggedStandards(char *line, int32_t lineLen) addOfficialTaggedStandards() argument
[all...]
/third_party/skia/third_party/externals/icu/source/tools/gencnval/
H A Dgencnval.c158 parseLine(const char *line);
164 chomp(char *line);
167 addOfficialTaggedStandards(char *line, int32_t lineLen);
234 /* preset then read command line options */ in main()
241 "error in command line argument \"%s\"\n", in main()
333 char line[MAX_LINE_SIZE]; in parseFile() local
354 uprv_strcpy(line + lineSize, lastLine); in parseFile()
364 if (isspace((int)*line)) { in parseFile()
367 } else if (line[0] == '{') { in parseFile()
368 if (!standardTagsUsed && line[lineSiz in parseFile()
400 chomp(char *line) chomp() argument
422 parseLine(const char *line) parseLine() argument
585 addOfficialTaggedStandards(char *line, int32_t lineLen) addOfficialTaggedStandards() argument
[all...]
/third_party/jerryscript/tools/
H A Dsrcmerger.py43 def _process_non_include(self, line, file_level):
45 if line.strip() == "#include BUILTIN_INC_HEADER_NAME":
54 if line.startswith('#define BUILTIN_INC_HEADER_NAME '):
55 # the line is in this format: #define BUILTIN_INC_HEADER_NAME "<filename>"
56 self._last_builtin = line.split('"', 2)[1]
60 # the line is not anything special, just push it into the output
61 self._output.append(line)
68 line_info = '#line %d "%s"\n' % (line_number, normalized_path)
70 if self._output and self._output[-1].startswith('#line'):
71 # Avoid emitting multiple line info
[all...]
/third_party/skia/third_party/externals/dawn/generator/
H A Dgenerator_lib.py125 # the line, resulting in more verbose output.
126 lines = filter(lambda line: not line.strip().startswith('//*'), lines)
129 for line in lines:
131 # so we divide by two. There is also an extra line chunk
132 # corresponding to the line end, so we subtract it.
133 numends = (len(self.blockend.split(line)) - 1) // 2
136 result.append(self.remove_indentation(line, indentation_level))
138 numstarts = (len(self.blockstart.split(line)) - 1) // 2
143 def remove_indentation(self, line,
[all...]
/third_party/elfutils/libdw/
H A Ddwarf_line_file.c1 /* Find line information for address.
37 dwarf_line_file (Dwarf_Line *line, Dwarf_Files **files, size_t *idx) in dwarf_line_file() argument
39 if (line == NULL) in dwarf_line_file()
42 if (line->file >= line->files->nfiles) in dwarf_line_file()
48 *files = line->files; in dwarf_line_file()
49 *idx = line->file; in dwarf_line_file()
/third_party/mbedtls/tests/scripts/
H A Dcheck_files.py8 including incorrect file permissions, presence of tabs, non-Unix line endings,
120 """Base class for line-by-line issue tracking.
122 To implement a checker that processes files line by line, inherit from
129 def issue_with_line(self, line, filepath, line_number):
130 """Check the specified line for the issue that this class is for.
136 def check_file_line(self, filepath, line, line_number):
137 if self.issue_with_line(line, filepath, line_number):
146 for i, line i
[all...]
/third_party/python/Lib/test/
H A Dtest_peepholer.py63 # Don't bother checking if the line info is sensible, because
64 # most of the line info we can get at comes from lnotab.
85 for line, cmp_op, invert in (
91 with self.subTest(line=line):
92 code = compile(line, '', 'single')
136 for line, elem in (
141 with self.subTest(line=line):
142 code = compile(line,'','singl
[all...]
/third_party/mesa3d/src/amd/registers/
H A Dparseheader.py89 for line in filp:
90 if not line.startswith('#define '):
93 line = line[8:].strip()
96 m = RE_comment.search(line)
100 line = line[:m.span()[0]].strip()
102 split = line.split(None, 1)
130 sys.exit('Missing (x) in S line: {0}'.line)
[all...]
/third_party/littlefs/scripts/
H A Dchangeprefix.py37 def changeprefix(from_prefix, to_prefix, line):
38 line, count1 = re.subn(
41 line)
42 line, count2 = re.subn(
45 line)
46 line, count3 = re.subn(
49 line)
50 return line, count1+count2+count3
66 for line in from_f:
68 line,
[all...]
/third_party/pcre2/pcre2/maint/
H A DGenerateCommon.py132 for line in file:
133 line = re.sub(r'#.*', '', line)
134 data = list(map(str.strip, line.split(';')))
170 for line in f:
171 match_obj = names_re.match(line)
179 # Sometimes there is comment in the line
184 for line in f:
185 match_obj = value_alias_re.match(line)
202 for line i
[all...]
/test/testfwk/developer_test/libs/fuzzlib/tools/
H A Dtemplates.py216 for line in backtrace.split("\n"):
219 if line.strip().startswith(tag) == True \
220 and "in" in line and "exec/s" not in line:
227 if block_line in line:
231 new_backtrack = " %s %s \n" % (new_backtrack, line)
236 " > %s </b>\n' % line
239 new_backtrack = " %s %s \n" % (new_backtrack, line)
/third_party/mbedtls/library/
H A Ddebug_internal.h18 * context, file and line number parameters.
23 * \param line line number the message has occurred at
31 const char *file, int line,
37 * which supplies the ssl context, file and line number parameters.
42 * \param line line number the error has occurred in
50 const char *file, int line,
56 * which supplies the ssl context, file and line number parameters.
61 * \param line lin
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DParseHelper.cpp106 bool TParseContext::parseVectorFields(const TString& compString, int vecSize, TVectorFields& fields, const TSourceLoc &line) in parseVectorFields() argument
110 error(line, "illegal vector field selection", compString.c_str()); in parseVectorFields()
171 error(line, "illegal vector field selection", compString.c_str()); in parseVectorFields()
178 error(line, "vector field selection out of range", compString.c_str()); in parseVectorFields()
184 error(line, "illegal - vector component fields not from the same set", compString.c_str()); in parseVectorFields()
243 void TParseContext::assignError(const TSourceLoc &line, const char* op, TString left, TString right) in assignError() argument
248 error(line, "", op, extraInfo.c_str()); in assignError()
254 void TParseContext::unaryOpError(const TSourceLoc &line, const char* op, TString operand) in unaryOpError() argument
260 error(line, " wrong operand type", op, extraInfo.c_str()); in unaryOpError()
266 void TParseContext::binaryOpError(const TSourceLoc &line, cons argument
275 precisionErrorCheck(const TSourceLoc &line, TPrecision precision, TBasicType type) precisionErrorCheck() argument
303 lValueErrorCheck(const TSourceLoc &line, const char* op, TIntermTyped* node) lValueErrorCheck() argument
454 globalErrorCheck(const TSourceLoc &line, bool global, const char* token) globalErrorCheck() argument
473 reservedErrorCheck(const TSourceLoc &line, const TString& identifier) reservedErrorCheck() argument
497 constructorErrorCheck(const TSourceLoc &line, TIntermNode* node, TFunction& function, TOperator op, TType* type) constructorErrorCheck() argument
603 voidErrorCheck(const TSourceLoc &line, const TString& identifier, const TBasicType& type) voidErrorCheck() argument
617 boolErrorCheck(const TSourceLoc &line, const TIntermTyped* type) boolErrorCheck() argument
631 boolErrorCheck(const TSourceLoc &line, const TPublicType& pType) boolErrorCheck() argument
641 samplerErrorCheck(const TSourceLoc &line, const TPublicType& pType, const char* reason) samplerErrorCheck() argument
660 structQualifierErrorCheck(const TSourceLoc &line, const TPublicType& pType) structQualifierErrorCheck() argument
764 locationDeclaratorListCheck(const TSourceLoc& line, const TPublicType &pType) locationDeclaratorListCheck() argument
775 parameterSamplerErrorCheck(const TSourceLoc &line, TQualifier qualifier, const TType& type) parameterSamplerErrorCheck() argument
806 arraySizeErrorCheck(const TSourceLoc &line, TIntermTyped* expr, int& size) arraySizeErrorCheck() argument
855 arrayQualifierErrorCheck(const TSourceLoc &line, TPublicType type) arrayQualifierErrorCheck() argument
870 arrayTypeErrorCheck(const TSourceLoc &line, TPublicType type) arrayTypeErrorCheck() argument
892 arraySetMaxSize(TIntermSymbol *node, TType* type, int size, bool updateFlag, const TSourceLoc &line) arraySetMaxSize() argument
941 nonInitConstErrorCheck(const TSourceLoc &line, TString& identifier, TPublicType& type, bool array) nonInitConstErrorCheck() argument
973 nonInitErrorCheck(const TSourceLoc &line, const TString& identifier, TPublicType& type) nonInitErrorCheck() argument
1008 declareVariable(const TSourceLoc &line, const TString &identifier, const TType &type, TVariable **variable) declareVariable() argument
1043 paramErrorCheck(const TSourceLoc &line, TQualifier qualifier, TQualifier paramQualifier, TType* type) paramErrorCheck() argument
1062 extensionErrorCheck(const TSourceLoc &line, const TString& extension) extensionErrorCheck() argument
1128 handleExtensionDirective(const TSourceLoc &line, const char* extName, const char* behavior) handleExtensionDirective() argument
1134 handlePragmaDirective(const TSourceLoc &line, const char* name, const char* value, bool stdgl) handlePragmaDirective() argument
1209 findFunction(const TSourceLoc &line, TFunction* call, bool *builtIn) findFunction() argument
1235 executeInitializer(const TSourceLoc& line, const TString& identifier, const TPublicType& pType, TIntermTyped *initializer, TIntermNode **intermNode) executeInitializer() argument
2101 addConstructor(TIntermNode* arguments, const TType* type, TOperator op, TFunction* fnCall, const TSourceLoc &line) addConstructor() argument
2183 addConstVectorNode(TVectorFields& fields, TIntermTyped* node, const TSourceLoc &line) addConstVectorNode() argument
2230 addConstMatrixNode(int index, TIntermTyped* node, const TSourceLoc &line) addConstMatrixNode() argument
2265 addConstArrayNode(int index, TIntermTyped* node, const TSourceLoc &line) addConstArrayNode() argument
2302 addConstStruct(const TString& identifier, TIntermTyped* node, const TSourceLoc &line) addConstStruct() argument
3018 enterStructDeclaration(const TSourceLoc &line, const TString& identifier) enterStructDeclaration() argument
3038 structNestingErrorCheck(const TSourceLoc &line, const TField &field) structNestingErrorCheck() argument
[all...]
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
H A Dgenerator_impl.cc216 // Emit a new line between declarations if the type of declaration has in Generate()
221 line(); in Generate()
286 auto out = line(&helpers_); in EmitDynamicVectorAssignment()
301 auto out = line(&helpers_); in EmitDynamicVectorAssignment()
318 line(&helpers_) << "}"; in EmitDynamicVectorAssignment()
319 line(&helpers_); in EmitDynamicVectorAssignment()
329 auto out = line(); in EmitDynamicVectorAssignment()
362 auto out = line(&helpers_); in EmitDynamicMatrixVectorAssignment()
378 line(&helpers_) << "switch (col) {"; in EmitDynamicMatrixVectorAssignment()
382 line( in EmitDynamicMatrixVectorAssignment()
[all...]
/third_party/ffmpeg/libavformat/
H A Dmpjpegdec.c52 static int get_line(AVIOContext *pb, char *line, int line_size) in get_line() argument
54 ff_get_line(pb, line, line_size); in get_line()
62 trim_right(line); in get_line()
68 static int split_tag_value(char **tag, char **value, char *line) in split_tag_value() argument
70 char *p = line; in split_tag_value()
87 *tag = line; in split_tag_value()
176 char line[128]; in parse_multipart_header() local
183 ret = get_line(pb, line, sizeof(line)); in parse_multipart_header()
190 while (!line[ in parse_multipart_header()
[all...]
/third_party/node/deps/openssl/openssl/crypto/perlasm/
H A Dppc-xlate.pl87 my $ret = ($flavour =~ /aix64-as/) ? "" : ".p2align $line";
116 my $line = join(",",@_);
117 if ($line =~ /^"(.*)"$/)
380 while($line=<>) {
382 $line =~ s|[#!;].*$||; # get rid of asm-style comments...
383 $line =~ s|/\*.*\*/||; # ... and C-style comments...
384 $line =~ s|^\s+||; # ... and skip whitespaces in beginning...
385 $line =~ s|\s+$||; # ... and at the end
388 $line =~ s|\.L(\w+)|L$1|g; # common denominator for Locallabel
389 $line
[all...]
/third_party/openssl/test/
H A Dparams_conversion_test.c68 TEST_info("Line %d: unknown type line", s->curr); in param_conversion_load_stanza()
134 TEST_note("errant int32 on line %d", s->curr); in param_conversion_load_stanza()
143 TEST_note("errant int64 on line %d", s->curr); in param_conversion_load_stanza()
152 TEST_note("errant uint32 on line %d", s->curr); in param_conversion_load_stanza()
161 TEST_note("errant uint64 on line %d", s->curr); in param_conversion_load_stanza()
170 TEST_note("errant double on line %d", s->curr); in param_conversion_load_stanza()
178 TEST_error("type unknown at line %d", s->curr); in param_conversion_load_stanza()
184 static int param_conversion_test(const PARAM_CONVERSION *pc, int line) in param_conversion_test() argument
194 TEST_note("unexpected valid conversion to int32 on line %d", line); in param_conversion_test()
[all...]
/third_party/openssl/crypto/perlasm/
H A Dppc-xlate.pl87 my $ret = ($flavour =~ /aix64-as/) ? "" : ".p2align $line";
116 my $line = join(",",@_);
117 if ($line =~ /^"(.*)"$/)
380 while($line=<>) {
382 $line =~ s|[#!;].*$||; # get rid of asm-style comments...
383 $line =~ s|/\*.*\*/||; # ... and C-style comments...
384 $line =~ s|^\s+||; # ... and skip whitespaces in beginning...
385 $line =~ s|\s+$||; # ... and at the end
388 $line =~ s|\.L(\w+)|L$1|g; # common denominator for Locallabel
389 $line
[all...]
/third_party/selinux/libsepol/cil/src/
H A Dcil_parser.c76 static void create_node(struct cil_tree_node **node, struct cil_tree_node *current, uint32_t line, uint32_t hll_offset, void *value) in create_node() argument
81 (*node)->line = line; in create_node()
105 cil_log(CIL_ERR, "Invalid line mark syntax\n"); in add_hll_linemark()
110 cil_log(CIL_ERR, "Invalid line mark syntax\n"); in add_hll_linemark()
135 cil_log(CIL_ERR, "Number of active line marks exceeds limit of %d\n", CIL_PARSER_MAX_EXPR_DEPTH); in add_hll_linemark()
139 create_node(&node, *current, tok.line, *hll_offset, NULL); in add_hll_linemark()
143 create_node(&node, *current, tok.line, *hll_offset, CIL_KEY_SRC_INFO); in add_hll_linemark()
146 create_node(&node, *current, tok.line, *hll_offset, hll_type); in add_hll_linemark()
151 cil_log(CIL_ERR, "Invalid line mar in add_hll_linemark()
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
H A Dconstants.py24 def parse_product_info(line, is_params, product_info):
25 if Constant.PRODUCT_PARAMS_START in line:
27 elif Constant.PRODUCT_PARAMS_END in line:
30 # line output: 2023-11-13 15:51:23.453 OsFullName = xx
31 line = "".join(line.split(" ")[2:])
32 product_info.update(parse_line_key_value(line))
/third_party/icu/tools/unicode/c/genprops/misc/
H A Ducdstrip.c30 static char line[2000]; in main() local
35 * which can occur on the first line of a UTF-8 text file. in main()
37 while(gets(line)!=NULL) { in main()
38 char *end=strrchr(line, '#'); in main()
41 * Assume that a data line comment is preceded by some white space. in main()
44 if(end!=NULL && end!=line && ((c=*(end-1))==' ' || c=='\t')) { in main()
46 while(end!=line && ((c=*(end-1))==' ' || c=='\t')) { in main()
51 puts(line); in main()
/third_party/cups-filters/cupsfilters/
H A Dtestrgb.c46 main(int argc, /* I - Number of command-line arguments */ in main()
47 char *argv[]) /* I - Command-line arguments */ in main()
98 char line[255]; /* Line from PPM file */ in test_gray() local
117 while (fgets(line, sizeof(line), in) != NULL) in test_gray()
118 if (isdigit(line[0])) in test_gray()
121 sscanf(line, "%d%d", &width, &height); in test_gray()
123 fgets(line, sizeof(line), in); in test_gray()
228 char line[25 in test_rgb() local
[all...]
/third_party/icu/icu4c/source/layoutex/
H A Dplayout.cpp145 pl_closeLine(pl_line *line) in pl_closeLine() argument
147 ParagraphLayout::Line *ll = (ParagraphLayout::Line *) line; in pl_closeLine()
153 pl_countLineRuns(const pl_line *line) in pl_countLineRuns() argument
155 ParagraphLayout::Line *ll = (ParagraphLayout::Line *) line; in pl_countLineRuns()
165 pl_getLineAscent(const pl_line *line) in pl_getLineAscent() argument
167 ParagraphLayout::Line *ll = (ParagraphLayout::Line *) line; in pl_getLineAscent()
177 pl_getLineDescent(const pl_line *line) in pl_getLineDescent() argument
179 ParagraphLayout::Line *ll = (ParagraphLayout::Line *) line; in pl_getLineDescent()
189 pl_getLineLeading(const pl_line *line) in pl_getLineLeading() argument
191 ParagraphLayout::Line *ll = (ParagraphLayout::Line *) line; in pl_getLineLeading()
201 pl_getLineWidth(const pl_line *line) pl_getLineWidth() argument
213 pl_getLineVisualRun(const pl_line *line, le_int32 runIndex) pl_getLineVisualRun() argument
[all...]
/third_party/musl/porting/liteos_a/user/src/network/
H A Dgetnameinfo.c47 char line[512], *p, *z; in reverse_hosts() local
57 while (fgets(line, sizeof line, f)) { in reverse_hosts()
58 if ((p=strchr(line, '#'))) *p++='\n', *p=0; in reverse_hosts()
60 for (p=line; *p && !isspace(*p); p++); in reverse_hosts()
62 if (__lookup_ipliteral(&iplit, line, AF_UNSPEC)<=0) in reverse_hosts()
88 char line[128], *p, *z; in reverse_services() local
92 while (fgets(line, sizeof line, f)) { in reverse_services()
93 if ((p=strchr(line, '#'))) * in reverse_services()
[all...]

Completed in 14 milliseconds

1...<<11121314151617181920>>...172