/third_party/python/Tools/demo/ |
H A D | markov.py | 13 def add(self, state, next): 14 self.trans.setdefault(state, []).append(next) 32 next = choice(options) 33 if not next: 35 seq += next
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | hook-list.c | 70 for (where = hook->slots; where; where = where->next) { in pa_hook_connect() 93 pa_hook_slot *slot, *next; in pa_hook_fire() local 111 for (slot = hook->slots; hook->n_dead > 0 && slot; slot = next) { in pa_hook_fire() 112 next = slot->next; in pa_hook_fire()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | MetaRenamer.cpp | 48 unsigned long next; member 51 next = seed; in srand() 55 next = next * 1103515245 + 12345; in rand() 56 return (unsigned int)(next / 65536) % 32768; in rand()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | blockScopedBindingsInDownlevelGenerator.js | 12 return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
17 if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
41 next: function () {
69 _a = __values([1, 2, 3]), _b = _a.next();
79 _b = _a.next();
|
/third_party/rust/crates/proc-macro-error/proc-macro-error-attr/src/ |
H A D | parse.rs | 17 let body = input.next().ok_or_else(|| { 31 Some(TokenTree::Punct(ref punct)) if punct.as_char() == '#' => input.next().unwrap(), in parse_next_attr() 38 input.next(); in parse_next_attr() 47 let path = match group.stream().into_iter().next() { in parse_next_attr() 67 _ => sig.push(input.next().unwrap()), in parse_signature()
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_policy.c | 293 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy() 296 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy() 298 cil_cond_expr_to_policy(out, i1->next->next->data, CIL_FALSE); in cil_cond_expr_to_policy() 301 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy() 303 cil_cond_expr_to_policy(out, i1->next->next->data, CIL_FALSE); in cil_cond_expr_to_policy() 306 cil_cond_expr_to_policy(out, i1->next->data, CIL_FALSE); in cil_cond_expr_to_policy() 308 cil_cond_expr_to_policy(out, i1->next->next in cil_cond_expr_to_policy() [all...] |
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | register-allocator.cc | 64 for (LiveRange* i = range; i != nullptr; i = i->next(), ++curr, ++length_) { in Initialize() 314 for (UsePosition* pos = first_pos_; pos != nullptr; pos = pos->next()) { in VerifyPositions() 319 interval = interval->next(); in VerifyPositions() 328 for (UseInterval* interval = first_interval()->next(); interval != nullptr; in VerifyIntervals() 329 interval = interval->next()) { in VerifyIntervals() 357 while (ptr->next() != nullptr) { in AttachToNext() 358 ptr = ptr->next(); in AttachToNext() 403 for (; pos != nullptr; pos = pos->next()) { in FirstHintPosition() 418 for (; pos_check != nullptr; pos_check = pos_check->next()) { in FirstHintPosition() 434 use_pos = use_pos->next(); in NextUsePosition() 574 UseInterval* next = current->next(); DetachAt() local 808 SpillMoveInsertionList* next; global() member 3988 InstructionBlock* next = LastDeferredInstructionIndex() local 4827 LiveRange* next = cur->next(); PopulateReferenceMaps() local [all...] |
/third_party/selinux/libsepol/src/ |
H A D | write.c | 72 for (n = e->node; n; n = n->next) in ebitmap_write() 80 for (n = e->node; n; n = n->next) { in ebitmap_write() 274 for (cur = a->htable[i]; cur; cur = cur->next) in avtab_reset_merged() 313 for (cur = a->htable[i]; cur; cur = cur->next) { in avtab_write() 334 for (cur = a->htable[i]; cur; cur = cur->next) { in avtab_write() 361 for (cat = l->cat; cat; cat = cat->next) in mls_write_semantic_level_helper() 370 for (cat = l->cat; cat; cat = cat->next) { in mls_write_semantic_level_helper() 515 for (tr = r; tr; tr = tr->next) in role_trans_write() 523 for (tr = r; tr; tr = tr->next) { in role_trans_write() 556 for (ra = r; ra; ra = ra->next) in role_allow_write() [all...] |
/third_party/lwip/src/core/ |
H A D | tcp_out.c | 186 seg->next = NULL; in tcp_create_segment() 279 LWIP_ASSERT("need unchained pbuf", p->next == NULL); in tcp_pbuf_prealloc() 493 for (last_unsent = pcb->unsent; last_unsent->next != NULL; in tcp_write() 494 last_unsent = last_unsent->next); in tcp_write() 570 for (p = last_unsent->p; p->next != NULL; p = p->next); in tcp_write() 696 prev_seg->next = seg; in tcp_write() 698 /* remember last segment of to-be-queued data for next iteration */ in tcp_write() 726 for (p = last_unsent->p; p; p = p->next) { in tcp_write() 728 if (p->next in tcp_write() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | x509v3.c | 49 if (cert->next) { in x509_certificate_free() 51 "was still on a list (next=%p)\n", in x509_certificate_free() 52 cert, cert->next); in x509_certificate_free() 69 struct x509_certificate *next; in x509_certificate_chain_free() local 72 next = cert->next; in x509_certificate_chain_free() 73 cert->next = NULL; in x509_certificate_chain_free() 75 cert = next; in x509_certificate_chain_free() 183 const u8 **next) in x509_parse_algorithm_identifier() 208 *next in x509_parse_algorithm_identifier() 181 x509_parse_algorithm_identifier(const u8 *buf, size_t len, struct x509_algorithm_identifier *id, const u8 **next) x509_parse_algorithm_identifier() argument 219 x509_parse_public_key(const u8 *buf, size_t len, struct x509_certificate *cert, const u8 **next) x509_parse_public_key() argument 291 x509_parse_name(const u8 *buf, size_t len, struct x509_name *name, const u8 **next) x509_parse_name() argument 692 x509_parse_validity(const u8 *buf, size_t len, struct x509_certificate *cert, const u8 **next) x509_parse_validity() argument 1259 x509_parse_extension(struct x509_certificate *cert, const u8 *pos, size_t len, const u8 **next) x509_parse_extension() argument 1366 x509_parse_tbs_certificate(const u8 *buf, size_t len, struct x509_certificate *cert, const u8 **next) x509_parse_tbs_certificate() argument 1774 const u8 *pos, *end, *next, *da_end; x509_check_signature() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | x509v3.c | 49 if (cert->next) { in x509_certificate_free() 51 "was still on a list (next=%p)\n", in x509_certificate_free() 52 cert, cert->next); in x509_certificate_free() 69 struct x509_certificate *next; in x509_certificate_chain_free() local 72 next = cert->next; in x509_certificate_chain_free() 73 cert->next = NULL; in x509_certificate_chain_free() 75 cert = next; in x509_certificate_chain_free() 183 const u8 **next) in x509_parse_algorithm_identifier() 205 *next in x509_parse_algorithm_identifier() 181 x509_parse_algorithm_identifier(const u8 *buf, size_t len, struct x509_algorithm_identifier *id, const u8 **next) x509_parse_algorithm_identifier() argument 216 x509_parse_public_key(const u8 *buf, size_t len, struct x509_certificate *cert, const u8 **next) x509_parse_public_key() argument 285 x509_parse_name(const u8 *buf, size_t len, struct x509_name *name, const u8 **next) x509_parse_name() argument 686 x509_parse_validity(const u8 *buf, size_t len, struct x509_certificate *cert, const u8 **next) x509_parse_validity() argument 1355 x509_parse_extension(struct x509_certificate *cert, const u8 *pos, size_t len, const u8 **next) x509_parse_extension() argument 1455 x509_parse_tbs_certificate(const u8 *buf, size_t len, struct x509_certificate *cert, const u8 **next) x509_parse_tbs_certificate() argument 1844 const u8 *pos, *end, *next, *da_end; x509_check_signature() local [all...] |
/third_party/python/Lib/re/ |
H A D | _parser.py | 229 self.next = None 236 self.next = None 246 self.next = char 248 if char == self.next: 253 this = self.next 259 c = self.next 268 c = self.next 283 return self.index - len(self.next or '') 285 return self.index - len(self.next or '') 415 if source.next i [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cri_parser.c | 51 int next = END_NOT_FOUND, i = 0; in cri_parse() local 82 next = i - 7; in cri_parse() 88 if (ff_combine_frame(&bpc->pc, next, &buf, &buf_size) < 0) { in cri_parse() 97 return next; in cri_parse()
|
H A D | adx_parser.c | 46 int next = END_NOT_FOUND; in adx_parse() local 72 next = s->remaining; in adx_parse() 78 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0 || !buf_size) { in adx_parse() 88 return next; in adx_parse()
|
/third_party/alsa-lib/src/topology/ |
H A D | text.c | 29 snd_config_iterator_t i, next; in parse_text_values() local 36 snd_config_for_each(i, next, cfg) { in parse_text_values() 63 snd_config_iterator_t i, next; in tplg_parse_text() local 73 snd_config_for_each(i, next, cfg) { in tplg_parse_text()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/impl/ |
H A D | CSCharacterIteratorTest.java | 35 assertEquals("", sci.next(), csci.next()); in TestAPI() 45 assertEquals("", sci.next(), clci.next()); in TestAPI()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/ |
H A D | AbstractBreakIteratorTests.java | 53 public int next(int n) { in next() method in AbstractBreakIteratorTests.AbstractBreakIterator 58 public int next() { in next() method in AbstractBreakIteratorTests.AbstractBreakIterator 59 return next(1); in next() 64 return next(-1); in previous()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
H A D | CSCharacterIteratorTest.java | 32 assertEquals("", sci.next(), csci.next()); in TestAPI() 42 assertEquals("", sci.next(), clci.next()); in TestAPI()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
H A D | AbstractBreakIteratorTests.java | 50 public int next(int n) { in next() method in AbstractBreakIteratorTests.AbstractBreakIterator 55 public int next() { in next() method in AbstractBreakIteratorTests.AbstractBreakIterator 56 return next(1); in next() 61 return next(-1); in previous()
|
/third_party/ltp/testcases/kernel/containers/pidns/ |
H A D | pidns05.c | 55 int next = 0; in find_cinit_pids() local 68 pids[next] = pid; in find_cinit_pids() 69 next++; in find_cinit_pids() 73 return next; in find_cinit_pids()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_cl.c | 11 * The above copyright notice and this permission notice (including the next 39 cl->next = cl->base; in v3d_init_cl() 50 cl->next = cl->base + offset; in v3d_cl_ensure_space() 58 cl->next = cl->base; in v3d_cl_ensure_space() 86 cl->next = cl->base; in v3d_cl_ensure_space_with_branch()
|
/third_party/node/lib/internal/readline/ |
H A D | emitKeypressEvents.js | 40 stream[ESCAPE_DECODER].next(); 42 const triggerEscape = () => stream[ESCAPE_DECODER].next(''); 64 stream[ESCAPE_DECODER].next(character); 73 stream[ESCAPE_DECODER].next();
|
/third_party/node/lib/internal/streams/ |
H A D | from.js | 53 next(); 81 async function next() { 85 await iterator.next() : 86 iterator.next();
|
/third_party/node/test/parallel/ |
H A D | test-https-agent-additional-options.js | 61 const next = iter.next(); 63 if (next.done) { 67 // Save `value` for check the next time. 68 const [key, val] = next.value;
|
/third_party/musl/src/process/ |
H A D | fork.c | 63 pthread_t self=__pthread_self(), next=self->next; in fork() local 68 for (pthread_t td=next; td!=self; td=td->next) in fork()
|