Home
last modified time | relevance | path

Searched refs:leftover (Results 1 – 25 of 49) sorted by relevance

12

/external/autotest/cli/
Duser_unittest.py17 (options, leftover) = ul.parse()
19 self.assertEqual([], leftover)
26 (options, leftover) = ul.parse()
29 self.assertEqual(leftover, [])
36 (options, leftover) = ul.parse()
38 self.assertEqual(leftover, [])
44 (options, leftover) = ul.parse()
46 self.assertEqual(leftover, [])
54 (options, leftover) = ul.parse()
59 self.assertEqual(leftover, [])
Dtopic_common_unittest.py43 result, leftover = test_parse_info.get_values(options, [])
53 result, leftover = test_parse_info.get_values(options, [])
58 def __test_parsing_leftover_good(self, leftover, expected): argument
65 result, leftover = test_parse_info.get_values(opt(), leftover)
70 def __test_parsing_all_good(self, options, leftover, expected): argument
76 result, leftover = test_parse_info.get_values(options, leftover)
82 def __test_parsing_all_bad(self, options, leftover): argument
89 test_parse_info.get_values, options, leftover)
463 (options, leftover) = self.atest.parse([item_info])
475 self.assertEqual(leftover, [])
[all …]
Datomicgroup.py63 options, leftover = super(atomicgroup_list, self).parse()
65 return options, leftover
93 options, leftover = super(atomicgroup_create, self).parse()
97 return options, leftover
129 options, leftover = super(atomicgroup_add_or_remove,
136 return options, leftover
Dacl.py79 (options, leftover) = super(acl_list, self).parse([user_info,
104 return (options, leftover)
151 (options, leftover) = super(acl_create, self).parse(req_items='acls')
162 return (options, leftover)
206 (options, leftover) = super(acl_add_or_remove,
214 return (options, leftover)
Dlabel.py91 (options, leftover) = super(label_list, self).parse([host_info])
107 return (options, leftover)
164 (options, leftover) = super(label_create,
169 return (options, leftover)
198 (options, leftover) = super(label_add_or_remove,
206 return (options, leftover)
Dserver.py76 (options, leftover) = super(server, self).parse([role_info], **kwargs)
93 return (options, leftover)
145 (options, leftover) = super(server_list, self).parse()
152 return (options, leftover)
203 (options, leftover) = super(server_create, self).parse()
209 return (options, leftover)
307 (options, leftover) = super(server_modify, self).parse()
339 return (options, leftover)
Dshard.py96 (options, leftover) = super(shard_create, self).parse(
105 return (options, leftover)
112 (options, leftover) = super(shard_delete, self).parse()
114 return (options, leftover)
Djob.py117 options, leftover = super(job_list, self).parse()
128 return options, leftover
166 options, leftover = super(job_stat, self).parse([status_list],
182 return options, leftover
314 options, leftover = super(job_create_or_clone, self).parse(
343 return options, leftover
456 options, leftover = super(job_create, self).parse(
528 return options, leftover
593 options, leftover = super(job_clone, self).parse()
608 return options, leftover
[all …]
Dtopic_common.py188 def get_values(self, options, leftover=[]): argument
215 add_on = leftover
216 leftover = []
249 return list(result), leftover
453 (options, leftover) = self.parse_global()
460 values, leftover = item_parse_info.get_values(options,
461 leftover)
472 return (options, leftover)
485 (options, leftover) = self.parser.parse_args()
508 return (options, leftover)
Dhost.py138 (options, leftover) = super(host_list, self).parse([label_info])
150 return (options, leftover)
268 (options, leftover) = super(host_jobs, self).parse()
270 return (options, leftover)
352 (options, leftover) = super(host_mod, self).parse()
374 return (options, leftover)
456 (options, leftover) = super(host_create, self).parse([label_info,
471 return (options, leftover)
Dstable_version.py51 (options, leftover) = super(stable_version, self).parse([board_info])
54 return (options, leftover)
129 options,leftover = super(stable_version_modify, self).parse()
Dsite_readme.py30 (options, leftover) = super(site_label_create, self).parse()
32 return (options, leftover)
Dhost_unittest.py56 (options, leftover) = hl.parse()
58 self.assertEqual([], leftover)
65 (options, leftover) = hl.parse()
68 self.assertEqual(leftover, [])
75 (options, leftover) = hl.parse()
77 self.assertEqual(leftover, [])
83 (options, leftover) = hl.parse()
85 self.assertEqual(leftover, [])
91 (options, leftover) = hl.parse()
93 self.assertEqual(leftover, [])
[all …]
Duser.py69 (options, leftover) = super(user_list, self).parse()
72 return (options, leftover)
Dtest.py76 (options, leftover) = super(test_list, self).parse()
86 return (options, leftover)
Dsite_suite.py93 options, leftover = site_suite.parse(
118 return options, leftover
/external/toybox/toys/posix/
Dod.c35 unsigned types, leftover, star;
132 if (TT.leftover<16) memset(TT.buf+TT.leftover, 0, 16-TT.leftover); in od_outline()
135 if (!(flags&FLAG_v) && TT.jump_bytes != TT.pos && TT.leftover in od_outline()
149 if (!TT.leftover) { in od_outline()
155 TT.pos += len = TT.leftover; in od_outline()
156 TT.leftover = 0; in od_outline()
200 char *buf = TT.buf + TT.leftover; in do_od()
201 int len = 16 - TT.leftover; in do_od()
214 TT.leftover += len; in do_od()
215 if (TT.leftover < 16) break; in do_od()
[all …]
/external/parameter-framework/upstream/utility/
DTokenizer.cpp46 bool leftover = false; in split() local
51 leftover = false; in split()
61 leftover = true; in split()
69 leftover = true; in split()
73 if (leftover) { in split()
/external/libweave/third_party/modp_b64/
Dmodp_b64.cc135 int leftover = len % 4; in modp_b64_decode() local
136 size_t chunks = (leftover == 0) ? len / 4 - 1 : len /4; in modp_b64_decode()
154 switch (leftover) { in modp_b64_decode()
180 return 3*chunks + (6*leftover)/8; in modp_b64_decode()
205 int leftover = len % 4; in modp_b64_decode() local
206 size_t chunks = (leftover == 0) ? len / 4 - 1 : len /4; in modp_b64_decode()
219 switch (leftover) { in modp_b64_decode()
246 return 3*chunks + (6*leftover)/8; in modp_b64_decode()
/external/modp_b64/
Dmodp_b64.cc139 int leftover = len % 4; in modp_b64_decode() local
140 size_t chunks = (leftover == 0) ? len / 4 - 1 : len /4; in modp_b64_decode()
158 switch (leftover) { in modp_b64_decode()
184 return 3*chunks + (6*leftover)/8; in modp_b64_decode()
209 int leftover = len % 4; in modp_b64_decode() local
210 size_t chunks = (leftover == 0) ? len / 4 - 1 : len /4; in modp_b64_decode()
230 switch (leftover) { in modp_b64_decode()
262 return 3*chunks + (6*leftover)/8; in modp_b64_decode()
/external/boringssl/src/crypto/poly1305/
Dpoly1305_vec.c80 uint64_t leftover; /* 8 bytes */ member
184 st->leftover = 0; in CRYPTO_poly1305_init()
720 if ((st->leftover == 0) && (bytes > 32)) { in CRYPTO_poly1305_update()
725 want = poly1305_min(32 - st->leftover, bytes); in CRYPTO_poly1305_update()
726 poly1305_block_copy(st->buffer + st->leftover, m, want); in CRYPTO_poly1305_update()
729 st->leftover += want; in CRYPTO_poly1305_update()
730 if ((st->leftover < 32) || (bytes == 0)) { in CRYPTO_poly1305_update()
734 st->leftover = 0; in CRYPTO_poly1305_update()
740 if (st->leftover) { in CRYPTO_poly1305_update()
741 want = poly1305_min(64 - st->leftover, bytes); in CRYPTO_poly1305_update()
[all …]
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Dandroid_logmsg.cpp143 int leftover = size % width; in dumpbin() local
144 if(leftover > 0) in dumpbin()
152 for(j = 0; j < leftover; j++) in dumpbin()
165 for(j = 0; j < leftover; j++) in dumpbin()
/external/skia/resources/
Dslides_utils.lua28 local leftover = s:match("^-*(.*)")
29 return string.len(s) - string.len(leftover)
/external/opencv3/3rdparty/libwebp/dsp/
Dupsampling_sse2.c140 const int leftover = uv_len - num_blocks * 16; \
170 UPSAMPLE_LAST_BLOCK(top_u, cur_u, leftover, r_uv + 0 * 32); \
171 UPSAMPLE_LAST_BLOCK(top_v, cur_v, leftover, r_uv + 1 * 32); \
/external/tremolo/Tremolo/
Dbitwise.c433 int leftover=count*8-oggpack_bits(&o); in _end_verify() local
434 if(leftover>7) in _end_verify()
438 if(oggpack_read(&o,leftover)==-1) in _end_verify()
462 int leftover=count*8-oggpack_bits(&o); in _end_verify2() local
463 if(leftover>7) in _end_verify2()
467 oggpack_adv(&o,leftover); in _end_verify2()

12