/third_party/ffmpeg/libavformat/ |
H A D | jacosubdec.c | 166 char line[JSS_MAX_LINESIZE]; in jacosub_read_header() local 185 const char *p = line; in jacosub_read_header() 187 int len = ff_get_line(pb, line, sizeof(line)); in jacosub_read_header() 191 /* queue timed line */ in jacosub_read_header() 195 sub = ff_subtitles_queue_insert(&jacosub->q, line, len, merge_line); in jacosub_read_header() 201 merge_line = len > 1 && !strcmp(&line[len - 2], "\\\n"); in jacosub_read_header()
|
/third_party/gptfdisk/ |
H A D | support.cc | 81 char line[255]; in GetNumber() local 86 cin.getline(line, 255); in GetNumber() 89 num = sscanf(line, "%" PRIu64, &response); in GetNumber() 107 string line; in GetYN() local 114 line = ReadString(); in GetYN() 115 response = toupper(line[0]); in GetYN()
|
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/ |
H A D | ima_tpm.sh | 20 local line tmp 22 read line < $ASCII_MEASUREMENTS 23 if tmp=$(get_algorithm_digest "$line"); then 108 while read line; do 109 pcr="$(echo $line | cut -d':' -f1)" 110 hash="$(echo $line | cut -d':' -f2 | awk '{ gsub (" ", "", $0); print tolower($0) }')"
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_unfilled.c | 29 * \brief Drawing stage for handling glPolygonMode(line/point). 99 static void line(struct draw_stage *stage, in line() function 109 stage->next->line(stage->next, &tmp); in line() 140 * XXX could revisit this. The only stage which cares is the line in lines() 143 * stages. Though technically it is necessary if line stipple is in lines() 152 line(stage, header, v2, v0); in lines() 154 line(stage, header, v0, v1); in lines() 156 line(stage, header, v1, v2); in lines() 285 unfilled->stage.line = draw_pipe_passthrough_line; in draw_unfilled_stage()
|
/third_party/python/Tools/unicode/ |
H A D | genmap_support.py | 187 for line in fo: 188 line = line.split('#', 1)[0].strip() 189 if not line or len(line.split()) < 2: 192 row = [eval(e) for e in line.split()]
|
/third_party/python/Lib/ |
H A D | netrc.py | 19 return "%s (%s, line %s)" % (self.msg, self.filename, self.lineno) 100 line = lexer.instream.readline() 101 if not line: 103 "Macro definition missing null line terminator.", 105 if line == '\n': 106 # a macro definition finished with consecutive new-line 110 self.macros[entryname].append(line) 186 for line in self.macros[macro]: 187 rep += line
|
H A D | smtpd.py | 336 line = self._emptystring.join(self.received_lines) 337 print('Data:', repr(line), file=DEBUGSTREAM) 341 if not line: 345 line = str(line, 'utf-8') 346 i = line.find(' ') 348 command = line.upper() 351 command = line[:i].upper() 352 arg = line[i+1:].strip() 356 self.push('500 Error: line to [all...] |
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | generate_new_renderer.py | 176 for line in impl_h_file: 177 clean_line = line.strip() 199 impl_stubs += line 201 private_impl_stubs += line 211 for line in impl_h_file: 212 match = re.search(r'^class ' + base_impl + r' : public (\w+)', line)
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcTestSubcase.cpp | 119 string line; in WriteField() local 121 while (getline(tokens, line)) in WriteField() 123 log.writeMessage(line.c_str()); in WriteField() 134 std::string line; in OutputNotSupported() local 136 while (getline(tokens, line)) in OutputNotSupported() 138 log.writeMessage(line.c_str()); in OutputNotSupported()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrShape.h | 24 // Represents a line segment between two points. 45 * to a point or line, not empty. This is to preserve geometric data for path effects and strokes. 47 * to a point or line, just like a rect. SkRRect does not have the concept of unsorted edges. 70 explicit GrShape(const GrLineSegment& line){ this->setLine(line); } in GrShape() argument 145 GrLineSegment& line() { SkASSERT(this->isLine()); return fLine; } in line() function in GrShape 146 const GrLineSegment& line() const { SkASSERT(this->isLine()); return fLine; } in line() function in GrShape 170 void setLine(const GrLineSegment& line) { in setLine() argument 172 fLine = line; in setLine() 207 // path), even if the final simplification results in a point, line, o [all...] |
H A D | GrStyledShape.cpp | 230 memcpy(key, &fShape.line(), sizeof(GrLineSegment)); in writeUnstyledKey() 513 pts[0] = fShape.line().fP1; in asLine() 514 pts[1] = fShape.line().fP2; in asLine() 597 // Remember if the original shape was closed; in the event we simplify to a point or line in simplify() 656 // Otherwise, if we're a point or a line, we might be able to explicitly apply some of the in simplifyStroke() 667 // the caps. For dashing a line, if every off interval is 0 length, its a stroke. in simplifyStroke() 676 // An off interval has non-zero length so this won't convert to a simple line in simplifyStroke() 688 // Since the reduced the line or point after dashing is dependent on the caps of the dashes, in simplifyStroke() 694 // At this point, we're a line or point with no path effects. Any fill portion of the style in simplifyStroke() 708 // A point or line tha in simplifyStroke() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | spirv_target_env.cpp | 382 size_t max_line_len = wrap - pad; // The first line isn't padded in spvTargetEnvList() 383 std::string line; in spvTargetEnvList() local 388 if (line.length() + word.length() > max_line_len) { in spvTargetEnvList() 389 // Adding one word wouldn't fit, commit the line in progress and in spvTargetEnvList() 391 ret += line + "\n"; in spvTargetEnvList() 392 line.assign(pad, ' '); in spvTargetEnvList() 393 // The first line is done. The max length now comprises the in spvTargetEnvList() 397 line += word; in spvTargetEnvList() 401 ret += line; in spvTargetEnvList()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | spirv_target_env.cpp | 382 size_t max_line_len = wrap - pad; // The first line isn't padded in spvTargetEnvList() 383 std::string line; in spvTargetEnvList() local 388 if (line.length() + word.length() > max_line_len) { in spvTargetEnvList() 389 // Adding one word wouldn't fit, commit the line in progress and in spvTargetEnvList() 391 ret += line + "\n"; in spvTargetEnvList() 392 line.assign(pad, ' '); in spvTargetEnvList() 393 // The first line is done. The max length now comprises the in spvTargetEnvList() 397 line += word; in spvTargetEnvList() 401 ret += line; in spvTargetEnvList()
|
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
H A D | retrace_restricted_traces.py | 72 for line in f.readlines(): 74 if keyword in line: 75 metadata += [line] 83 for line in f.readlines(): 86 if keyword in line: 95 lines += [line]
|
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | variable_test.cc | 31 EXPECT_EQ(v->source.range.begin.line, 0u); in TEST_F() 33 EXPECT_EQ(v->source.range.end.line, 0u); in TEST_F() 45 EXPECT_EQ(v->source.range.begin.line, 27u); in TEST_F() 47 EXPECT_EQ(v->source.range.end.line, 27u); in TEST_F() 59 EXPECT_EQ(v->source.range.begin.line, 27u); in TEST_F() 61 EXPECT_EQ(v->source.range.end.line, 27u); in TEST_F()
|
/third_party/tzdata/ |
H A D | ziguard.awk | 18 # When converting to vanguard form, the output can use the line 86 # The command line should set DATAFORM. 100 # If this line should differ due to Czechoslovakia using negative SAVE values, 111 # If this line should differ due to Ireland using negative SAVE values, 127 # If this line should differ due to Namibia using negative SAVE values, 147 # If this line should differ due to Portugal benefiting from %z if supported, 157 # In vanguard form, use the line "Zone GMT 0 - GMT" instead of 249 # In rearguard form, change the Japan rule line with "Sat>=8 25:00" 314 # Return a link line resulting by changing OLDLINE to link to TARGET 337 # Odd format line; do [all...] |
/third_party/python/Doc/tools/extensions/ |
H A D | c_annotations.py | 67 for line in fp: 68 line = line.strip() 69 if line[:1] in ("", "#"): 72 parts = line.split(":", 4) 74 raise ValueError("Wrong field count in %r" % line)
|
/third_party/python/Lib/test/ |
H A D | test_ucn.py | 187 for line in testdata: 188 line = line.strip() 189 if not line or line.startswith('#'): 191 seqname, codepoints = line.split(';')
|
/third_party/skia/modules/particles/include/ |
H A D | SkParticleSerialization.h | 37 for (const auto& line : lines) { 38 fWriter.appendString(line.c_str()); 86 for (const skjson::StringValue* line : *lines) { 87 if (line) { 91 s.append(line->begin(), line->size());
|
/third_party/selinux/libselinux/utils/ |
H A D | avcstat.c | 155 char *line; in main() local 167 line = strtok(buf, "\n"); in main() 168 if (!line) in main() 169 die("unable to parse \'%s\': end of line not found", in main() 172 if (strcmp(line, HEADERS)) in main() 182 while ((line = strtok(NULL, "\n"))) { in main() 185 ret = sscanf(line, "%llu %llu %llu %llu %llu %llu", in main()
|
/third_party/spirv-tools/source/ |
H A D | spirv_target_env.cpp | 403 size_t max_line_len = wrap - pad; // The first line isn't padded in spvTargetEnvList() 404 std::string line; in spvTargetEnvList() local 409 if (line.length() + word.length() > max_line_len) { in spvTargetEnvList() 410 // Adding one word wouldn't fit, commit the line in progress and in spvTargetEnvList() 412 ret += line + "\n"; in spvTargetEnvList() 413 line.assign(pad, ' '); in spvTargetEnvList() 414 // The first line is done. The max length now comprises the in spvTargetEnvList() 418 line += word; in spvTargetEnvList() 422 ret += line; in spvTargetEnvList()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_display_bind_helper.cpp | 148 std::string line; in operator >>() local 149 std::getline(is, line); in operator >>() 151 std::string::size_type pos = line.find(delim); in operator >>() 155 r.inputDeviceName_ = line.substr(0, pos); in operator >>() 156 r.displayName_ = line.substr(pos + delim.length()); in operator >>() 474 std::string line; in GetInputNodeNameByCfg() local 475 while (getline(file, line)) { in GetInputNodeNameByCfg() 477 size_t pos = line.find(delim); in GetInputNodeNameByCfg() 481 std::string displayId = line.substr(0, pos); in GetInputNodeNameByCfg() 482 std::string inputNodeName = line in GetInputNodeNameByCfg() 509 std::string line; GetContent() local [all...] |
/third_party/backends/backend/ |
H A D | canon_dr.c | 251 - if scanner stops, clone the last line until the end of buffer 310 - don't print 0 length line in hexdump 334 - rename all DUPLEX_INTERLACE_* to indicate start and end of line 556 char line[PATH_MAX]; in sane_get_devices() local 583 while (sanei_config_read (line, PATH_MAX, fp)) { in sane_get_devices() 585 lp = line; in sane_get_devices() 827 /* re-default these after reading the usb line */ in sane_get_devices() 834 /* re-default these after reading the scsi line */ in sane_get_devices() 838 DBG (5, "sane_get_devices: config line \"%s\" unrecognized - " in sane_get_devices() 5008 /* figure out how many valid bytes per line (251 in update_params() 6364 unsigned char * line = NULL; copy_simplex() local 6747 unsigned char * line; copy_line() local 8948 char line[70]; /* 'xxx: xx xx ... xx xx abc */ hexdump() local [all...] |
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/beans/ |
H A D | state_history.py | 36 for line in input_str.split('\n'): 37 if line.find('procedure: ') == -1: 39 event_procedure = ProcedureStep(line)
|
/foundation/graphic/graphic_2d/rosen/test/frame_analyzer/unittest/ |
H A D | frame_saver_test.cpp | 83 std::string line; in HWTEST_F() local 84 std::getline(ifs, line); in HWTEST_F() 85 ASSERT_EQ(line, "DrawStart 123456789"); in HWTEST_F()
|