Home
last modified time | relevance | path

Searched refs:line (Results 251 - 275 of 3925) sorted by relevance

1...<<11121314151617181920>>...157

/third_party/ffmpeg/libavcodec/
H A Dmsrledec.c40 int line = avctx->height - 1; in msrle_decode_pal4() local
43 while (line >= 0 && pixel_ptr <= avctx->width) { in msrle_decode_pal4()
47 avctx->width - pixel_ptr, line); in msrle_decode_pal4()
55 /* line is done, goto the next one */ in msrle_decode_pal4()
56 line--; in msrle_decode_pal4()
66 line -= stream_byte; in msrle_decode_pal4()
83 pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte >> 4; in msrle_decode_pal4()
89 pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte & 0x0F; in msrle_decode_pal4()
109 pic->data[0][line * pic->linesize[0] + pixel_ptr] = stream_byte >> 4; in msrle_decode_pal4()
111 pic->data[0][line * pi in msrle_decode_pal4()
133 int p1, p2, line=avctx->height - 1, pos=0, i; msrle_decode_8_16_24_32() local
[all...]
/third_party/ffmpeg/libavformat/
H A Dffmetadec.c101 uint8_t line[256]; in read_chapter() local
106 get_line(s->pb, line, sizeof(line)); in read_chapter()
108 if (sscanf(line, "TIMEBASE=%d/%d", &tb.num, &tb.den)) in read_chapter()
109 get_line(s->pb, line, sizeof(line)); in read_chapter()
110 ret = sscanf(line, "START=%"SCNd64, &start); in read_chapter()
112 av_log(s, AV_LOG_ERROR, "Expected chapter start timestamp, found %s.\n", line); in read_chapter()
116 get_line(s->pb, line, sizeof(line)); in read_chapter()
145 read_tag(const uint8_t *line, AVDictionary **m) read_tag() argument
[all...]
/third_party/curl/lib/
H A Dmemdebug.h56 int line,
59 size_t size, int line, const char *source);
62 int line,
64 CURL_EXTERN void curl_dbg_free(void *ptr, int line, const char *source);
65 CURL_EXTERN ALLOC_FUNC char *curl_dbg_strdup(const char *str, int line,
69 int line,
79 int line, const char *source);
81 int line, const char *source);
83 int line, const char *source);
85 int line, cons
[all...]
/third_party/musl/src/network/
H A Dgetnameinfo.c52 static inline int get_hosts_str(char *line, int length, FILE *f, int *i) in get_hosts_str() argument
55 return fgets(line, length, f); in get_hosts_str()
58 memcpy(line, fixed_hosts[*i], strlen(fixed_hosts[*i])); in get_hosts_str()
67 char line[512], *p, *z; in reverse_hosts() local
77 while (i < FIXED_HOSTS_MAX_LENGTH && get_hosts_str(line, sizeof line, f, &i)) { in reverse_hosts()
78 if ((p=strchr(line, '#'))) *p++='\n', *p=0; in reverse_hosts()
80 for (p=line; *p && !isspace(*p); p++); in reverse_hosts()
83 if (__lookup_ipliteral(&iplit, line, AF_UNSPEC)<=0) in reverse_hosts()
111 char line[12 in reverse_services() local
[all...]
H A Dresolvconf.c111 char line[256]; in get_resolv_conf_ext() local
185 while (fgets(line, sizeof line, f)) { in get_resolv_conf_ext()
187 if (!strchr(line, '\n') && !feof(f)) { in get_resolv_conf_ext()
195 if (!strncmp(line, "options", 7) && isspace(line[7])) { in get_resolv_conf_ext()
196 p = strstr(line, "ndots:"); in get_resolv_conf_ext()
202 p = strstr(line, "attempts:"); in get_resolv_conf_ext()
208 p = strstr(line, "timeout:"); in get_resolv_conf_ext()
216 if (!strncmp(line, "nameserve in get_resolv_conf_ext()
[all...]
/third_party/musl/porting/linux/user/src/network/
H A Dresolvconf.c125 char line[256]; in get_resolv_conf_ext() local
191 while (fgets(line, sizeof line, f)) { in get_resolv_conf_ext()
193 if (!strchr(line, '\n') && !feof(f)) { in get_resolv_conf_ext()
201 if (!strncmp(line, "options", 7) && isspace(line[7])) { in get_resolv_conf_ext()
202 p = strstr(line, "ndots:"); in get_resolv_conf_ext()
208 p = strstr(line, "attempts:"); in get_resolv_conf_ext()
214 p = strstr(line, "timeout:"); in get_resolv_conf_ext()
222 if (!strncmp(line, "nameserve in get_resolv_conf_ext()
[all...]
/third_party/python/Lib/
H A Dquopri.py25 quoted. Note that line-ending tabs and spaces are always encoded, as per
49 line-ending tabs and spaces are always encoded, as per RFC 1521.
60 # RFC 1521 requires that the line ending in a space or tab must have
71 line = input.readline()
72 if not line:
77 if line[-1:] == b'\n':
78 line = line[:-1]
80 # Calculate the un-length-limited encoded line
81 for c in line
[all...]
/third_party/python/Lib/idlelib/idle_test/
H A Dmock_tk.py120 """Return a (line, char) tuple of int indexes into self.data.
127 * line.char float: converted to 'line.char' string;
128 * 'line.char' string, where line and char are decimal integers;
129 * 'line.char lineend', where lineend='lineend' (and char is ignored);
130 * 'line.end', where end='end' (same as above);
148 line, char = index.split('.')
149 line = int(line)
[all...]
/third_party/vk-gl-cts/scripts/log/
H A Dlog_parser.py68 def __init__ (self, filename, line, message):
70 self.line = line
74 return "%s:%d: %s" % (self.filename, self.line, self.message)
76 def splitContainerLine (line):
79 return shlex.split(line)
82 return [w.decode('utf-8') for w in shlex.split(line.encode('utf-8'))]
99 for line in f:
100 self.parseLine(line)
139 def parseLine (self, line)
[all...]
/third_party/python/Tools/scripts/
H A Dfixcid.py20 # Command line arguments are files or directories to be processed.
56 err('Each non-empty non-comment line in a substitution file must\n')
58 err('Comments start with a # character and end at end of line.\n')
138 line = f.readline()
139 if not line: break
141 while line[-2:] == '\\\n':
144 line = line + nextline
146 newline = fixline(line)
147 if newline != line
[all...]
H A Dreindent.py17 at the end of files. Also ensure the last line ends with a newline.
19 If no paths are given on the command line, reindent operates as a filter,
160 def _rstrip(line, JUNK='\n \t'):
161 """Return line stripped of trailing spaces, tabs, newlines.
163 Note that line.rstrip() instead also strips sundry control characters,
168 i = len(line)
169 while i > 0 and line[i - 1] in JUNK:
171 return line[:i]
184 # that we can use tokenize's 1-based line numbering easily.
185 # Note that a line i
[all...]
/third_party/skia/third_party/externals/angle2/
H A DPRESUBMIT.py33 def _IsLineBlank(line):
34 return line.isspace() or line == ""
44 def _IsTagLine(line):
45 return ":" in line
61 return all([line.find("\t") == -1 for line in lines])
96 # the break between the tags paragraph is the first line without ":"
97 # this is sufficient because if a line is blank, it will not have ":"
110 "Please ensure that there exists 1 blank line "
[all...]
/third_party/toybox/scripts/
H A Dconfig2help.c129 // if line starts with name (as whole word) return pointer after it, else NULL
130 char *keyword(char *name, char *line) in keyword() argument
134 line = skip_spaces(line); in keyword()
135 if (strncmp(name, line, len)) return 0; in keyword()
136 line += len; in keyword()
137 if (*line && !isspace(*line)) return 0; in keyword()
138 line = skip_spaces(line); in keyword()
237 char *s, *line = NULL; parse() local
319 char *line = NULL; main() local
[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/mbedtls/tests/scripts/
H A Dgen_ctr_drbg.pl33 my $line = <TEST_DATA>;
34 ($val) = ($line =~ /\[$name\s\=\s(\w+)\]/);
43 my $line;
45 while($line = <TEST_DATA>)
47 next if($line !~ /=/);
51 ($val) = ($line =~ /^$name = (\w+)/);
57 while (my $line = <TEST_DATA>)
59 next if ($line !~ /^\[AES-256 use df/);
/third_party/ffmpeg/tools/
H A Dgraph2dot.c48 struct line { struct
50 struct line *next;
157 struct line *line, *last_line, *first_line; in main() local
159 last_line = first_line = av_malloc(sizeof(struct line)); in main()
166 struct line *new_line = av_malloc(sizeof(struct line)); in main()
183 for (line = first_line; line->next; line in main()
[all...]
/third_party/ltp/pan/cgi/
H A Dbrowse.cgi16 # get the UNAME line for a host, date, suite
19 my(@possible_files, $pf, $line);
44 while ($line = <UF>) {
45 if ($line =~ /^UNAME/) {
47 $line =~ s/UNAME *//;
48 $line =~ s/$inhost//;
49 $uname_cache{"$inhost.$indate"} = $line;
50 return $line;
59 while ($line = <UF>) {
60 if ($line
[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/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/curl/tests/
H A Dtest1222.pl56 my $line = "";
63 # Remove multi-line comment trail.
71 if($line ne "") {
72 # Unfold line.
73 $_ = "$line $1";
74 $line = "";
91 # Folded line.
92 $line = $_;
98 # Folded line.
99 $line
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
H A DUnicodeNormalizerConformanceTest.java59 String line = null; in TestConformance()
70 line = input.readLine(); in TestConformance()
71 if (line == null) { in TestConformance()
79 line = moreCases[count++]; in TestConformance()
81 if (line.length() == 0) continue; in TestConformance()
87 if (line.charAt(0) == '#' || line.charAt(0)=='@') continue; in TestConformance()
90 hexsplit(line, ';', fields, buf); in TestConformance()
104 if (checkConformance(fields, line)) { in TestConformance()
117 + " line in TestConformance()
151 checkConformance(String[] field, String line) checkConformance() argument
270 _testOneLine(String line) _testOneLine() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DDataDrivenTestHelper.java116 String line = in.readLine(); in load()
117 if (line == null) { in load()
120 line = line.trim(); in load()
121 if (line.isEmpty()) { in load()
125 int hash = line.indexOf('#'); in load()
129 commentBase = line.substring(hash+1).trim(); in load()
130 line = line.substring(0,hash).trim(); in load()
132 if (!line in load()
[all...]

Completed in 13 milliseconds

1...<<11121314151617181920>>...157