/third_party/nghttp2/src/ |
H A D | shrpx_worker_test.cc | 42 auto groups = std::vector<std::shared_ptr<DownstreamAddrGroup>>(); in test_shrpx_worker_match_downstream_addr_group() local 50 groups.push_back(std::move(g)); in test_shrpx_worker_match_downstream_addr_group() 60 for (size_t i = 0; i < groups.size(); ++i) { in test_shrpx_worker_match_downstream_addr_group() 61 auto &g = groups[i]; in test_shrpx_worker_match_downstream_addr_group() 67 StringRef::from_lit("/"), groups, 255, balloc)); in test_shrpx_worker_match_downstream_addr_group() 72 StringRef::from_lit("/"), groups, 255, balloc)); in test_shrpx_worker_match_downstream_addr_group() 77 StringRef::from_lit("/alpha"), groups, 255, balloc)); in test_shrpx_worker_match_downstream_addr_group() 81 StringRef::from_lit("/alpha/bravo/"), groups, 255, in test_shrpx_worker_match_downstream_addr_group() 87 StringRef::from_lit("/alpha/bravo"), groups, 255, balloc)); in test_shrpx_worker_match_downstream_addr_group() 92 StringRef::from_lit("/Alpha/bravo"), groups, 25 in test_shrpx_worker_match_downstream_addr_group() [all...] |
/third_party/libuv/tools/ |
H A D | make_dist_html.py | 36 <table>{groups}</table> 43 <td>{groups[0]}</td> 44 <td>{groups[1]}</td> 45 <td>{groups[2]}</td> 46 <td>{groups[3]}</td> 85 return list(map(int, re.match('^v(\d+)\.(\d+)\.(\d+)', tag).groups())) 104 # Partition in groups of |n|. 105 def groups_for(groups, n=4): 107 groups = groups[ 118 groups = [group_for(list(g)) for _, g in itertools.groupby(tags, major_minor)] global() variable 119 groups = groups_for(groups) global() variable [all...] |
/third_party/node/deps/uv/tools/ |
H A D | make_dist_html.py | 36 <table>{groups}</table> 43 <td>{groups[0]}</td> 44 <td>{groups[1]}</td> 45 <td>{groups[2]}</td> 46 <td>{groups[3]}</td> 85 return list(map(int, re.match('^v(\d+)\.(\d+)\.(\d+)', tag).groups())) 104 # Partition in groups of |n|. 105 def groups_for(groups, n=4): 107 groups = groups[ 118 groups = [group_for(list(g)) for _, g in itertools.groupby(tags, major_minor)] global() variable 119 groups = groups_for(groups) global() variable [all...] |
/third_party/vk-gl-cts/scripts/ |
H A D | testset.py | 118 groups = [] 122 groups.append(group) 123 return groups 126 groups = [] 131 groups.append(group) 138 die("Case '%s' matched by multiple groups (when processing '%s')" % (case.name, group.name)) 142 return groups 145 groups = [] 154 groups.append(group) 161 return groups [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | setgroups.c | 30 gid_t groups[GROUPS_MAX]; in setgroups_0100() local 34 groups[0] = 0; in setgroups_0100() 35 groups[1] = 1; in setgroups_0100() 36 int result = setgroups(count, groups); in setgroups_0100() 41 if (groupslist[0] != groups[0] && groupslist[1] != groups[1]) { in setgroups_0100() 48 * @tc.desc : Drop all of its supplementary groups. 53 gid_t groups[GROUPS_MAX]; in setgroups_0200() local 57 groups[0] = 0; in setgroups_0200() 58 groups[ in setgroups_0200() [all...] |
/third_party/node/test/parallel/ |
H A D | test-process-getgroups.js | 25 // Check `id -G` and `process.getgroups()` return same groups. 34 const groups = unique(process.getgroups()); 35 assert(Array.isArray(groups)); 36 assert(groups.length > 0); 40 assert.deepStrictEqual(groups, real_groups); 41 check(groups, real_groups); 42 check(real_groups, groups); 50 function unique(groups) { 51 return [...new Set(groups)].sort();
|
/third_party/typescript/tests/baselines/reference/ |
H A D | useRegexpGroups.js | 7 let year1 = result.groups.year; 10 let month1 = result.groups.month; 13 let day1 = result.groups.day; 16 let foo = "foo".match(/(?<bar>foo)/)!.groups.foo;
22 var year1 = result.groups.year;
24 var month1 = result.groups.month;
26 var day1 = result.groups.day;
28 var foo = "foo".match(/(?<bar>foo)/).groups.foo;
|
H A D | regexpExecAndMatchTypeUsages(strict=false).js | 7 matchResult.groups["someVariable"].length; 8 matchResult.groups = undefined; 14 execResult.groups["someVariable"].length; 15 execResult.groups = undefined; 35 matchResult.groups["someVariable"].length;
36 matchResult.groups = undefined;
41 execResult.groups["someVariable"].length;
42 execResult.groups = undefined;
|
H A D | regexpExecAndMatchTypeUsages(strict=true).js | 7 matchResult.groups["someVariable"].length; 8 matchResult.groups = undefined; 14 execResult.groups["someVariable"].length; 15 execResult.groups = undefined; 35 matchResult.groups["someVariable"].length;
36 matchResult.groups = undefined;
41 execResult.groups["someVariable"].length;
42 execResult.groups = undefined;
|
/third_party/node/deps/npm/node_modules/ip-address/dist/ |
H A D | ipv6.js | 83 * @param {number} [groups=8] - How many octets to parse 111 this.groups = constants6.GROUPS; 114 this.groups = optionalGroups; 163 const groups = []; 166 groups.push(hex.slice(i * 4, (i + 1) * 4)); 168 return new Address6(groups.join(':')); 478 let groups = []; 500 groups = compact(this.parsedAddress, zeroes[index]); 503 groups = this.parsedAddress; 505 for (i = 0; i < groups [all...] |
/third_party/ltp/testcases/kernel/syscalls/getgroups/ |
H A D | getgroups03.c | 52 static GID_T groups[NGROUPS]; variable 87 * Scans the /etc/group file to get IDs of all the groups to which TESTUSER 91 static int readgroups(GID_T groups[NGROUPS]) in readgroups() argument 104 groups[ngrps++] = grp->gr_gid; in readgroups() 120 if (groups[i] == g) in readgroups() 124 groups[ngrps++] = g; in readgroups() 139 * Get the IDs of all the groups of "root" in setup() 142 ngroups = readgroups(groups); in setup() 149 if (SETGROUPS(cleanup, ngroups, groups) == -1) in setup() 176 if (groups_list[i] != groups[ in verify_groups() [all...] |
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify17.c | 12 * Check that fanotify groups and marks limits are enforced correctly. 15 * Otherwise, we only check that global groups limit is enforced. 44 * The fanotify_init() man page documents the max groups limit is 128, but the 62 /* 0: unlimited groups in userns */ 68 "Global groups limit in init user ns", 73 "Global groups limit in privileged user ns", 78 "Local groups limit in unprivileged user ns", 89 /* Verify that groups and marks cannot be created beyond limit */ 90 static void verify_user_limits(unsigned int init_flags, int groups, int marks) in verify_user_limits() argument 94 for (i = 0; i <= groups; in verify_user_limits() 170 int groups = max_groups; test_fanotify() local [all...] |
/third_party/node/deps/npm/node_modules/ip-address/dist/v6/ |
H A D | regular-expressions.js | 41 function simpleRegularExpression(groups) { 43 groups.forEach((group, i) => { 51 const possibilities = zeroIndexes.map((zeroIndex) => groups 61 possibilities.push(groups.map(padGroup).join(':')); 88 for (let groups = 1; groups < elidedGroups - 1; groups++) { 89 for (let position = 1; position < elidedGroups - groups; position++) { 90 possibilities.push((0, sprintf_js_1.sprintf)('(0{1,4}:){%d}:(0{1,4}:){%d}0{1,4}', position, elidedGroups - position - groups - 1));
|
H A D | helpers.js | 30 const groups = address.split(':'); 31 return groups.map((g) => spanLeadingZeroesSimple(g)).join(':'); 39 const groups = addressString.split(':'); 40 return groups.map((g, i) => {
|
/third_party/rust/crates/regex/scripts/ |
H A D | regex-match-tests.py | 23 groups = [] # groups as integer ranges 25 groups = [None] 31 groups.append(None) 33 groups.append((int(s), int(e))) 49 tests.append((name, pat, text, groups)) 54 lineno, pat, text, groups = t 55 options = map(group_tostr, groups)
|
/third_party/pulseaudio/src/modules/ |
H A D | stream-interaction.c | 48 struct group **groups; member 85 /* get it from all groups */ in get_trigger_role() 88 PA_IDXSET_FOREACH(trigger_role, u->groups[j]->trigger_roles, role_idx) { in get_trigger_role() 276 pa_hashmap_remove(u->groups[j]->interaction_state, stream); in process() 292 trigger_role = find_global_trigger_stream(u, create ? NULL : stream, u->groups[j]); in process() 293 apply_interaction_global(u, trigger_role, create ? NULL : (pa_sink_input_isinstance(stream) ? PA_SINK_INPUT(stream) : NULL), new_stream, u->groups[j]); in process() 295 trigger_role = find_trigger_stream(u, GET_DEVICE_FROM_STREAM(stream), create ? NULL : stream, u->groups[j]); in process() 297 apply_interaction_to_sink(u, PA_SINK_INPUT(stream)->sink, trigger_role, create ? NULL : PA_SINK_INPUT(stream), new_stream, u->groups[j]); in process() 480 pa_log("Invalid number of groups"); in pa_stream_interaction_init() 488 u->groups in pa_stream_interaction_init() [all...] |
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | Bundle.java | 55 private TreeSet groups; // A vector of groups of NLS items, the key is the group name field in Bundle 84 groups = new TreeSet(new Comparator() { in Bundle() 209 Iterator iter = groups.iterator(); in hasGroup() 234 Iterator iter = groups.iterator(); in removeGroup() 238 groups.remove(tempGroup); in removeGroup() 313 * Return the various resource bundle groups stored in a Vector collection. 318 Iterator iter = groups.iterator(); in getGroupsAsVector() 327 * Returns the number of groups in the bundle. 331 return groups in getGroupCount() [all...] |
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/ |
H A D | Schema.java | 41 private final ImmutableMap.Builder<String, ColumnGroup<?, ?>> groups = ImmutableMap.builder(); field in Schema.Builder 53 groups.put(group.prototype().getName(), group); in add() 58 return new AutoValue_Schema(names.build(), columns.buildOrThrow(), groups.buildOrThrow()); in build() 80 // Not all columns need to be present and groups are ordered contiguously as the group prefix 84 abstract ImmutableMap<String, ColumnGroup<?, ?>> groups(); in groups() method in Schema 87 * Returns the column for the specified key string. For "plain" columns (not in groups) the key 106 ColumnGroup<?, ?> group = groups().get(key.substring(0, split)); in getColumn() 120 ColumnGroup<?, ?> group = groups().get(column.getName().substring(0, split)); in isValidColumn() 136 * Returns whether the this schema has a subset of columns/groups, in the same order as the 141 && schema.groups() in isSubSchemaOf() [all...] |
/third_party/node/lib/internal/bootstrap/switches/ |
H A D | does_own_process_state.js | 63 function setgroups(groups) { 64 validateArray(groups, 'groups'); 65 for (let i = 0; i < groups.length; i++) { 66 validateId(groups[i], `groups[${i}]`); 70 const result = _setgroups(groups); 72 throw new ERR_UNKNOWN_CREDENTIAL('Group', groups[result - 1]);
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_ra.cpp | 91 group_allocation (LiveRangeMap& lrm, const Interference& interference, GroupRegisters& groups) in group_allocation() argument 95 while (!groups.empty()) { in group_allocation() 96 auto group = groups.top(); in group_allocation() 97 groups.pop(); in group_allocation() 229 std::map<int, Group> groups; in register_allocation() local 256 auto igroup = groups.find(sel); in register_allocation() 257 if (igroup != groups.end()) { in register_allocation() 265 groups[sel] = group; in register_allocation() 272 for (auto& [sel, group] : groups) in register_allocation()
|
/third_party/elfutils/libasm/ |
H A D | asm_newscngrp.c | 91 assert (ctx->groups == NULL); in asm_newscngrp() 92 ctx->groups = result->next = result; in asm_newscngrp() 96 result->next = ctx->groups->next; in asm_newscngrp() 97 ctx->groups = ctx->groups->next = result; in asm_newscngrp()
|
/third_party/ffmpeg/fftools/ |
H A D | cmdutils.c | 582 static int match_group_separator(const OptionGroupDef *groups, int nb_groups, in match_group_separator() argument 588 const OptionGroupDef *p = &groups[i]; in match_group_separator() 605 OptionGroupList *l = &octx->groups[group_idx]; in finish_group() 608 GROW_ARRAY(l->groups, l->nb_groups); in finish_group() 609 g = &l->groups[l->nb_groups - 1]; in finish_group() 643 const OptionGroupDef *groups, int nb_groups) in init_parse_context() 651 octx->groups = av_calloc(octx->nb_groups, sizeof(*octx->groups)); in init_parse_context() 652 if (!octx->groups) in init_parse_context() 656 octx->groups[ in init_parse_context() 642 init_parse_context(OptionParseContext *octx, const OptionGroupDef *groups, int nb_groups) init_parse_context() argument 687 split_commandline(OptionParseContext *octx, int argc, char *argv[], const OptionDef *options, const OptionGroupDef *groups, int nb_groups) split_commandline() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_slab.c | 64 struct pb_slab_group *group = &slabs->groups[entry->group_index]; in pb_slab_reclaim() 142 group = &slabs->groups[group_index]; in pb_slab_alloc_reclaimed() 262 slabs->groups = CALLOC(num_groups, sizeof(*slabs->groups)); in pb_slabs_init() 263 if (!slabs->groups) in pb_slabs_init() 267 struct pb_slab_group *group = &slabs->groups[i]; in pb_slabs_init() 294 FREE(slabs->groups); in pb_slabs_deinit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | thread.cpp | 85 std::array<ProcessorGroup, MaxGroupCount> groups; member 90 static ProcessorGroups groups = [] { in getProcessorGroups() local 101 out.groups[out.count++] = ProcessorGroup{ in getProcessorGroups() 109 return groups; in getProcessorGroups() 137 const auto& groups = getProcessorGroups(); in all() local 138 for (size_t groupIdx = 0; groupIdx < groups.count; groupIdx++) { in all() 139 const auto& group = groups.groups[groupIdx]; in all() 303 "Cannot create thread that uses multiple affinity groups"); in Thread() 350 const auto& groups in numLogicalCPUs() local [all...] |
/third_party/toybox/toys/posix/ |
H A D | id.c | 10 USE_GROUPS(NEWTOY(groups, NULL, TOYFLAG_USR|TOYFLAG_BIN)) 38 bool "groups" 41 usage: groups [user] 43 Print the groups a user is in. 91 gid_t gid = getgid(), egid = getegid(), *groups; in do_id() local 125 showid(" groups=", grp->gr_gid, grp->gr_name); in do_id() 129 groups = (gid_t *)toybuf; in do_id() 131 ngroups = username ? getgrouplist(username, gid, groups, &i) in do_id() 132 : getgroups(i, groups); in do_id() 139 if (!(grp = getgrgid(groups[ in do_id() [all...] |