/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()
|
/third_party/ffmpeg/libavcodec/ |
H A D | snow_dwt.c | 38 buf->line = av_calloc(line_count, sizeof(*buf->line)); in ff_slice_buffer_init() 39 if (!buf->line) in ff_slice_buffer_init() 43 av_freep(&buf->line); in ff_slice_buffer_init() 53 av_freep(&buf->line); in ff_slice_buffer_init() 62 IDWTELEM *ff_slice_buffer_load_line(slice_buffer *buf, int line) in ff_slice_buffer_load_line() argument 67 // av_assert1(!buf->line[line]); in ff_slice_buffer_load_line() 68 if (buf->line[line]) in ff_slice_buffer_load_line() 78 ff_slice_buffer_release(slice_buffer *buf, int line) ff_slice_buffer_release() argument [all...] |
/third_party/curl/lib/ |
H A D | pop3.c | 175 255 - 8, /* Max line len - strlen("AUTH ") - 1 space - crlf */ 205 char *line, size_t len, int *resp) in pop3_endofresp() 211 if(len >= 4 && !memcmp("-ERR", line, 4)) { in pop3_endofresp() 219 /* Do we have the terminating line? */ in pop3_endofresp() 220 if(len >= 1 && line[0] == '.') in pop3_endofresp() 231 if(len >= 3 && !memcmp("+OK", line, 3)) { in pop3_endofresp() 238 if(len >= 1 && line[0] == '+') { in pop3_endofresp() 652 const char *line = Curl_dyn_ptr(&data->conn->proto.pop3c.pp.recvbuf); in pop3_state_servergreet_resp() local 667 lt = memchr(line, '<', len); in pop3_state_servergreet_resp() 670 gt = memchr(lt, '>', len - (lt - line)); in pop3_state_servergreet_resp() 204 pop3_endofresp(struct Curl_easy *data, struct connectdata *conn, char *line, size_t len, int *resp) pop3_endofresp() argument 702 const char *line = Curl_dyn_ptr(&data->conn->proto.pop3c.pp.recvbuf); pop3_state_capa_resp() local [all...] |
/third_party/mksh/ |
H A D | histrap.c | 162 char *pat = NULL, *rep = NULL, *line; in c_fc() local 190 strdupx(line, *hp, ATEMP); in c_fc() 221 line = Xclose(xs, xp); in c_fc() 223 return (hist_execute(line, ATEMP)); in c_fc() 276 (unsigned long)hist_source->line - in c_fc() 279 /* print multi-line commands correctly */ in c_fc() 360 if (histptr >= history && last_line != hist_source->line) { in hist_execute() 361 hist_source->line--; in hist_execute() 364 last_line = hist_source->line; in hist_execute() 367 histsave(&hist_source->line, cm in hist_execute() [all...] |
/kernel/linux/linux-5.10/tools/testing/ktest/ |
H A D | ktest.pl | 959 my $line; 976 $line = $2; 998 # If SKIP is anywhere in the line, the command will be skipped 1281 # Append beginning of line 1394 # May contain the reboot success line 1404 # May contain the reboot success line 1651 my $line; 1663 $line = wait_for_input($monitor_fp, $time); 1664 last if (!defined($line)); 1665 print "$line"; [all...] |
/kernel/linux/linux-6.6/tools/testing/ktest/ |
H A D | ktest.pl | 1028 my $line; 1045 $line = $2; 1066 # If SKIP is anywhere in the line, the command will be skipped 1348 # Append beginning of line 1456 # May contain the reboot success line 1466 # May contain the reboot success line 1709 my $line; 1721 $line = wait_for_input($monitor_fp, $time); 1722 last if (!defined($line)); 1723 print "$line"; [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | serial_txx9.c | 554 if (up->cons && up->line == up->cons->index) { in serial_txx9_shutdown() 778 if (up->line == up->cons->index) in serial_txx9_config_port() 822 up->line = i; in serial_txx9_register_ports() 935 if (port->line >= ARRAY_SIZE(serial_txx9_ports)) in early_serial_txx9_setup() 938 serial_txx9_ports[port->line] = *port; in early_serial_txx9_setup() 939 serial_txx9_ports[port->line].ops = &serial_txx9_pops; in early_serial_txx9_setup() 940 serial_txx9_ports[port->line].flags |= in early_serial_txx9_setup() 956 * On success the port is ready to use and the line number is returned. 993 ret = uart->line; in serial_txx9_register_port() 1001 * @line 1006 serial_txx9_unregister_port(int line) serial_txx9_unregister_port() argument 1119 int line; pciserial_txx9_init_one() local [all...] |
/third_party/python/Lib/ |
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/src/gpu/geometry/ |
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...] |
/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...] |
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | nconf.gui.c | 154 int get_line_length(const char *line) in get_line_length() argument 157 while (*line != '\0' && *line != '\n') { in get_line_length() 158 line++; in get_line_length() 172 /* do not go over end of line */ in fill_window() 176 const char *line = get_line(text, i); in fill_window() local 177 int len = get_line_length(line); in fill_window() 178 strncpy(tmp, line, min(len, x)); in fill_window() 219 /* find the widest line of msg: */ in btn_dialog() 222 const char *line in btn_dialog() local 334 const char *line = get_line(prompt, i); dialog_inputbox() local 536 const char *line = get_line(text, i); show_scroll_win_ext() local [all...] |
/kernel/linux/linux-5.10/fs/unicode/ |
H A D | mkutf8data.c | 52 /* An arbitrary line size limit on input lines. */ 55 char line[LINESIZE]; variable 951 /* Align to a cache line (or half a cache line?). */ in index_nodes() 1899 static void line_fail(const char *filename, const char *line) in line_fail() argument 1901 printf("Error parsing %s:%s\n", filename, line); in line_fail() 1953 while (fgets(line, LINESIZE, file)) { in age_init() 1954 ret = sscanf(line, "# Age=V%d_%d_%d", in age_init() 1962 line_fail(age_name, line); in age_init() 1965 ret = sscanf(line, "# Ag in age_init() [all...] |
/kernel/linux/linux-6.6/fs/unicode/ |
H A D | mkutf8data.c | 52 /* An arbitrary line size limit on input lines. */ 55 char line[LINESIZE]; variable 951 /* Align to a cache line (or half a cache line?). */ in index_nodes() 1899 static void line_fail(const char *filename, const char *line) in line_fail() argument 1901 printf("Error parsing %s:%s\n", filename, line); in line_fail() 1953 while (fgets(line, LINESIZE, file)) { in age_init() 1954 ret = sscanf(line, "# Age=V%d_%d_%d", in age_init() 1962 line_fail(age_name, line); in age_init() 1965 ret = sscanf(line, "# Ag in age_init() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/ |
H A D | mm.c | 108 const char *func, int line) in _debug_dump_map() 110 DBG("%s:%d: map.total = %llxh\n", func, line, m->total); in _debug_dump_map() 111 DBG("%s:%d: map.rm.size = %llxh\n", func, line, m->rm.size); in _debug_dump_map() 112 DBG("%s:%d: map.vas_id = %llu\n", func, line, m->vas_id); in _debug_dump_map() 113 DBG("%s:%d: map.htab_size = %llxh\n", func, line, m->htab_size); in _debug_dump_map() 114 DBG("%s:%d: map.r1.base = %llxh\n", func, line, m->r1.base); in _debug_dump_map() 115 DBG("%s:%d: map.r1.offset = %lxh\n", func, line, m->r1.offset); in _debug_dump_map() 116 DBG("%s:%d: map.r1.size = %llxh\n", func, line, m->r1.size); in _debug_dump_map() 348 const char *func, int line) in _dma_dump_region() 350 DBG("%s:%d: dev %llu:%llu\n", func, line, in _dma_dump_region() 107 _debug_dump_map(const struct map *m, const char *func, int line) _debug_dump_map() argument 347 _dma_dump_region(const struct ps3_dma_region *r, const char *func, int line) _dma_dump_region() argument 382 _dma_dump_chunk(const struct dma_chunk* c, const char* func, int line) _dma_dump_chunk() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/ps3/ |
H A D | mm.c | 107 const char *func, int line) in _debug_dump_map() 109 DBG("%s:%d: map.total = %llxh\n", func, line, m->total); in _debug_dump_map() 110 DBG("%s:%d: map.rm.size = %llxh\n", func, line, m->rm.size); in _debug_dump_map() 111 DBG("%s:%d: map.vas_id = %llu\n", func, line, m->vas_id); in _debug_dump_map() 112 DBG("%s:%d: map.htab_size = %llxh\n", func, line, m->htab_size); in _debug_dump_map() 113 DBG("%s:%d: map.r1.base = %llxh\n", func, line, m->r1.base); in _debug_dump_map() 114 DBG("%s:%d: map.r1.offset = %lxh\n", func, line, m->r1.offset); in _debug_dump_map() 115 DBG("%s:%d: map.r1.size = %llxh\n", func, line, m->r1.size); in _debug_dump_map() 349 const char *func, int line) in _dma_dump_region() 351 DBG("%s:%d: dev %llu:%llu\n", func, line, in _dma_dump_region() 106 _debug_dump_map(const struct map *m, const char *func, int line) _debug_dump_map() argument 348 _dma_dump_region(const struct ps3_dma_region *r, const char *func, int line) _dma_dump_region() argument 383 _dma_dump_chunk(const struct dma_chunk* c, const char* func, int line) _dma_dump_chunk() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
H A D | bttv-risc.c | 41 u32 instructions,line,todo; in bttv_risc_packed() local 47 one write per scan line + sync + jump (all 2 dwords). padding in bttv_risc_packed() 69 for (line = 0; line < store_lines; line++) { in bttv_risc_packed() 71 (line >= (store_lines - VCR_HACK_LINES))) in bttv_risc_packed() 122 unsigned int instructions,line,todo,ylen,chroma; in bttv_risc_planar() local 132 one write per scan line (5 dwords) in bttv_risc_planar() 149 for (line = 0; line < yline in bttv_risc_planar() 239 int dwords, rc, line, maxy, start, end; bttv_risc_overlay() local [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/ |
H A D | pinctrl-at91-pio4.c | 29 * framework groups, Atmel PIO groups will be called banks, line is kept to 88 unsigned line; member 101 * @pins: pins table used for both pinctrl and gpio. pin_id, bank and line 175 BIT(pin->line)); in atmel_gpio_irq_set_type() 216 BIT(pin->line)); in atmel_gpio_irq_mask() 225 BIT(pin->line)); in atmel_gpio_irq_unmask() 234 int line = ATMEL_PIO_LINE(d->hwirq); in atmel_gpio_irq_set_wake() local 236 /* The gpio controller has one interrupt line per bank. */ in atmel_gpio_irq_set_wake() 240 atmel_pioctrl->pm_wakeup_sources[bank] |= BIT(line); in atmel_gpio_irq_set_wake() 242 atmel_pioctrl->pm_wakeup_sources[bank] &= ~(BIT(line)); in atmel_gpio_irq_set_wake() 440 unsigned line = atmel_pioctrl->pins[pin_id]->line; atmel_pin_config_read() local 456 unsigned line = atmel_pioctrl->pins[pin_id]->line; atmel_pin_config_write() local 1078 unsigned line = ATMEL_PIO_LINE(i); atmel_pinctrl_probe() local [all...] |