/third_party/backends/backend/ |
H A D | kvs20xx.c | 457 int rest = s->side_size - s->read - s->dummy_size; in sane_read() local 460 if (!s->scanning || !rest) in sane_read() 470 *len = max_len < rest ? max_len : rest; in sane_read()
|
H A D | hp3900_sane.c | 155 SANE_Byte *rest; member 587 if (scanner->rest != NULL) in img_buffers_free() 589 free (scanner->rest); in img_buffers_free() 590 scanner->rest = NULL; in img_buffers_free() 618 scanner->rest = (SANE_Byte *) malloc (size * sizeof (SANE_Byte)); in img_buffers_alloc() 619 if (scanner->rest != NULL) in img_buffers_alloc() 2485 SANE_Int chn_size, rest; in sane_read() local 2488 rest = emul_maxlen % (3 * chn_size); in sane_read() 2490 if (rest != 0) in sane_read() 2491 emul_maxlen -= rest; in sane_read() 2626 SANE_Int rest = emul_len % 8; sane_read() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-stream-duplex-from.js | 129 let rest = ''; 131 const lines = (rest + chunk.toString()).split('\n'); 132 rest = lines.pop(); 137 yield rest;
|
/third_party/node/test/common/ |
H A D | report.js | 79 function checkLoop(actual, rest, expect) { 80 actual = actual[rest.shift()]; 81 if (rest.length === 0 && actual !== undefined) { 85 checkLoop(actual, rest, expect);
|
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testwith.py | 316 rest = h.readlines() 318 self.assertEqual(rest, ['bar\n', 'baz\n']) 324 rest = h.read() 326 self.assertEqual(rest, 'bar\nbaz\n')
|
/third_party/rust/crates/syn/tests/ |
H A D | test_precedence.rs | 254 rest, in librustc_parenthesize() 259 if let StructRest::Base(rest) = rest { in librustc_parenthesize() 260 vis.visit_expr(rest); in librustc_parenthesize()
|
/third_party/rust/crates/rust-cexpr/src/ |
H A D | expr.rs | 415 rest, in identifier() 418 Ok((rest, r.clone())) in identifier() 439 rest, in literal() 441 Ok((_, result)) => Ok((rest, result)), in literal()
|
/third_party/python/Lib/http/ |
H A D | cookiejar.py | 770 rest, 801 self._rest = copy.copy(rest) 836 args.append("rest=%s" % repr(self._rest)) 1395 Tuples are name, value, standard, rest, where name and value are the 1398 domain, path and port) and rest is a dictionary containing the rest of 1414 # dictionary of other cookie-attributes (rest). 1426 rest = {} 1477 rest[k] = v 1482 cookie_tuples.append((name, value, standard, rest)) [all...] |
/third_party/rust/crates/proc-macro2/src/ |
H A D | fallback.rs | 150 return Cursor { rest: src, off: 1 }; in get_cursor() 158 rest: src, in get_cursor() 166 Cursor { rest: src } in get_cursor() 1112 if let Ok((rest, mut literal)) = parse::literal(cursor) { in from_str() 1113 if rest.is_empty() { in from_str() 1121 hi: rest.off, in from_str()
|
/third_party/rust/crates/syn/src/ |
H A D | pat.rs | 168 pub rest: Option<PatRest>, 493 let mut rest = None; in pat_struct() variables 497 rest = Some(PatRest { in pat_struct() 519 rest, in pat_struct() 850 if !self.fields.empty_or_trailing() && self.rest.is_some() { in to_tokens() 853 self.rest.to_tokens(tokens); in to_tokens()
|
H A D | path.rs | 624 let mut rest = Punctuated::new(); variables 627 rest.push_value(path); 632 rest.push_punct(punct); 638 path.segments.extend(rest.into_pairs()); 644 segments: rest,
|
/third_party/rust/crates/bitflags/src/ |
H A D | lib.rs | 846 $(? #[$rest:ident $($restargs:tt)*])* 852 $(? #[$rest $($restargs)*])* 860 $(? #[$rest:ident $($restargs:tt)*])* 866 $(? #[$rest $($restargs)*])* 901 $(? #[$rest:ident $($restargs:tt)*])* 907 $(? #[$rest $($restargs)*])* 915 $(? #[$rest:ident $($restargs:tt)*])* 921 $(? #[$rest $($restargs)*])*
|
/third_party/curl/tests/ |
H A D | test1173.pl | 220 my ($format, $rest) = ($1, $2); 221 if($rest !~ /\\fP/) {
|
/third_party/ltp/pan/cgi/ |
H A D | reconsile.cgi | 44 # an associative array. Take the rest of the input file and store 54 # advance past the header then read in the rest 65 # grab the rest and stop the while loop; 66 @rest = <F>; 78 foreach $line (@rest) {
|
/third_party/node/deps/npm/test/lib/commands/ |
H A D | help.js | 59 const { npm, ...rest } = await loadMockNpm(t, { 73 ...rest,
|
/third_party/node/deps/v8/src/inspector/ |
H A D | string-16.h | 138 void appendAll(T first, R... rest) { in appendAll() argument 140 appendAll(rest...); in appendAll()
|
/third_party/python/Lib/ |
H A D | string.py | 297 first, rest = _string.formatter_field_name_split(field_name) 301 # loop through the rest of the field_name, doing 303 for is_attr, i in rest:
|
/third_party/skia/infra/bots/recipe_modules/flavor/ |
H A D | ios.py | 133 def _run_ios_script(self, script, first, *rest): 139 cmd = [full, first] + list(rest),
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/ |
H A D | macros.rs | 40 (@__items ($($not:meta,)*) ; ( ($($m:meta),*) ($($it:item)*) ), $($rest:tt)*) => { 46 // Recurse to emit all other items in `$rest`, and when we do so add all 49 cfg_if! { @__items ($($not,)* $($m,)*) ; $($rest)* }
|
/third_party/node/benchmark/es/ |
H A D | spread-assign.js | 12 function main({ n, context, count, rest, method }) {
|
/third_party/python/Lib/test/ |
H A D | test_ftplib.py | 115 self.rest = None 240 self.rest = arg 241 self.push('350 rest ok') 245 if self.rest is not None: 246 offset = int(self.rest) 251 self.rest = None 604 for rest in (0, 10, 20): 606 self.client.retrbinary('retr', callback, rest=rest) 607 self.check_data(''.join(received), RETR_DATA[rest [all...] |
H A D | test_grammar.py | 551 def v0(*rest): pass 552 def v1(a, *rest): pass 553 def v2(a, b, *rest): pass 610 def d01v(a=1, *rest): pass 617 def d11v(a, b=1, *rest): pass 621 def d21v(a, b, c=1, *rest): pass 627 def d02v(a=1, b=2, *rest): pass 634 def d12v(a, b=1, c=2, *rest): pass 642 def d22v(a, b, c=1, d=2, *rest): pass 1172 def g(): rest [all...] |
/third_party/rust/crates/syn/codegen/src/ |
H A D | parse.rs | 313 let rest: TokenStream = input.parse()?; in ast_struct_inner() 316 pub struct #ident #rest in ast_struct_inner() 335 let rest: TokenStream = input.parse()?; in ast_enum() 339 pub enum #ident #rest in ast_enum()
|
/third_party/rust/crates/clap/src/parser/ |
H A D | parser.rs | 183 ParseResult::UnneededAttachedValue { rest, used, arg } => { 187 rest, 787 } else if let Some(rest) = long_value { in parse_long_arg() 791 long_arg, rest in parse_long_arg() 808 rest: rest.to_str_lossy().into_owned(), in parse_long_arg() 903 Err(rest) => { in parse_short_arg() 905 arg: format!("-{}", rest.to_str_lossy()), in parse_short_arg() 1611 rest: String,
|
/third_party/python/Objects/stringlib/ |
H A D | unicode_format.h | 316 'rest' is an iterator to return the rest 320 Py_ssize_t *first_idx, FieldNameIterator *rest, in field_name_split() 334 "rest" iterator */ in field_name_split() 345 FieldNameIterator_init(rest, str, i, end); in field_name_split() 405 FieldNameIterator rest; in get_field_object() local 408 &index, &rest, auto_number)) { in get_field_object() 454 /* iterate over the rest of the field_name */ in get_field_object() 455 while ((ok = FieldNameIterator_next(&rest, &is_attribute, &index, in get_field_object() 706 through, we'll return the rest o in MarkupIterator_next() 319 field_name_split(PyObject *str, Py_ssize_t start, Py_ssize_t end, SubString *first, Py_ssize_t *first_idx, FieldNameIterator *rest, AutoNumber *auto_number) field_name_split() argument [all...] |