Home
last modified time | relevance | path

Searched refs:pick (Results 1 - 25 of 41) sorted by relevance

12

/third_party/curl/lib/
H A Dheaders.c74 struct Curl_header_store *pick = NULL; in curl_easy_header() local
93 pick = hs; in curl_easy_header()
104 hs = pick; in curl_easy_header()
133 struct Curl_llist_element *pick; in curl_easy_nextheader() local
145 pick = prev->anchor; in curl_easy_nextheader()
146 if(!pick) in curl_easy_nextheader()
149 pick = pick->next; in curl_easy_nextheader()
152 pick = data->state.httphdrs.head; in curl_easy_nextheader()
154 if(pick) { in curl_easy_nextheader()
[all...]
H A Dhttp.c364 static bool pickoneauth(struct auth *pick, unsigned long mask) in pickoneauth() argument
368 unsigned long avail = pick->avail & pick->want & mask; in pickoneauth()
374 pick->picked = CURLAUTH_NEGOTIATE; in pickoneauth()
377 pick->picked = CURLAUTH_BEARER; in pickoneauth()
381 pick->picked = CURLAUTH_DIGEST; in pickoneauth()
384 pick->picked = CURLAUTH_NTLM; in pickoneauth()
386 pick->picked = CURLAUTH_NTLM_WB; in pickoneauth()
389 pick->picked = CURLAUTH_BASIC; in pickoneauth()
393 pick in pickoneauth()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DbindingPatternContextualTypeDoesNotCauseWidening.js2 declare function pick<O, T extends keyof O>(keys: T[], obj?: O): Pick<O, T>;
3 const _ = pick(['b'], { a: 'a', b: 'b' }); // T: "b"
4 const { } = pick(['b'], { a: 'a', b: 'b' }); // T: "b" | "a" ??? (before fix)
8 var _ = pick(['b'], { a: 'a', b: 'b' }); // T: "b"
9 var _a = pick(['b'], { a: 'a', b: 'b' }); // T: "b" | "a" ??? (before fix)
H A DkeyofIsLiteralContexualType.js11 declare function pick<T, K extends keyof T>(obj: T, propNames: K[]): Pick<T, K>;
13 let x = pick({ a: 10, b: 20, c: 30 }, ["a", "c"]);
22 var x = pick({ a: 10, b: 20, c: 30 }, ["a", "c"]);
H A DmappedTypes2.js28 declare function pick<T, K extends keyof T>(obj: T, ...keys: K[]): Pick<T, K>;
76 const x = pick(shape, "name", "location"); // { name: string, location: Point }
122 var x = pick(shape, "name", "location"); // { name: string, location: Point }
154 declare function pick<T, K extends keyof T>(obj: T, ...keys: K[]): Pick<T, K>;
H A DunderscoreTest1.js43 pick(...keys: string[]): T;
217 pick(...keys: string[]): ChainedObject<T>;
326 pick(...keys: string[]): ChainedArray<T>;
377 pick(...keys: string[]): ChainedDictionary<T>;
592 pick<T>(object: T, ...keys: string[]): T;
800 _.pick({ name: 'moe', age: 50, userid: 'moe1' }, 'name', 'age');
1017 _.pick({ name: 'moe', age: 50, userid: 'moe1' }, 'name', 'age');
/third_party/skia/third_party/externals/brotli/research/
H A Ddurchschlag.cc108 MetaSlot& pick = slots[slice]; in buildCandidatesList() local
109 if (pick.mark == 0) { in buildCandidatesList()
110 score += pick.score; in buildCandidatesList()
112 pick.mark++; in buildCandidatesList()
130 MetaSlot& pick = slots[slice]; in buildCandidatesList() local
131 if (pick.mark == 0) { in buildCandidatesList()
132 score += pick.score; in buildCandidatesList()
134 pick.mark++; in buildCandidatesList()
197 MetaSlot& pick = slots[shortcut[i + span - 1]]; in rebuildCandidatesList() local
198 if (pick in rebuildCandidatesList()
[all...]
/third_party/mesa3d/bin/
H A Dpick-ui.py26 from pick.ui import UI, PALETTE
/kernel/linux/linux-6.6/lib/
H A Dfortify_kunit.c40 static volatile int pick; variable
43 static noinline size_t want_minus_one(int pick) in want_minus_one() argument
47 switch (pick) { in want_minus_one()
63 KUNIT_EXPECT_EQ(test, want_minus_one(pick), SIZE_MAX); in control_flow_split_test()
/third_party/libunwind/libunwind/src/dwarf/
H A DGexpr.c29 /* The "pick" operator provides an index range of 0..255 indicating
284 # define pick(n) \ in dwarf_eval_expr() macro
289 Debug (1, "Out-of-stack pick\n"); \ in dwarf_eval_expr()
493 push (pick (0)); in dwarf_eval_expr()
503 push (pick (operand1)); in dwarf_eval_expr()
508 push (pick (1)); in dwarf_eval_expr()
/third_party/libbpf/scripts/
H A Dsync-kernel.sh96 # Cherry-pick commits touching libbpf-related files
144 if ! git cherry-pick ${new_commit} &>/dev/null; then
153 echo "Empty cherry-pick, skipping it..."
154 git cherry-pick --abort
160 if ! GIT_EDITOR=true git cherry-pick --continue &>/dev/null; then
163 echo "Success! All cherry-pick conflicts were resolved for '${desc}'!"
247 # Cherry-pick new commits onto squashed baseline commit
/third_party/ffmpeg/libavcodec/
H A Dilbcdec.c960 int16_t i, pick; in do_plc() local
1142 pick = i - randlag; in do_plc()
1144 if (pick < 0) { in do_plc()
1145 randvec[i] = s->prevResidual[s->block_samples + pick]; in do_plc()
1147 randvec[i] = s->prevResidual[pick]; in do_plc()
1151 pick = i - use_lag; in do_plc()
1153 if (pick < 0) { in do_plc()
1154 plc_residual[i] = s->prevResidual[s->block_samples + pick]; in do_plc()
1156 plc_residual[i] = plc_residual[pick]; in do_plc()
H A Delbg.c108 int pick = 0; in get_closest_codebook() local
114 pick = i; in get_closest_codebook()
118 return pick; in get_closest_codebook()
H A Droqvideoenc.c314 int i, lDiff = INT_MAX, pick=0; in index_mb() local
321 pick = i; in index_mb()
325 *outIndex = pick; in index_mb()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_rtalloc.h90 xfs_rtblock_t *pick); /* result rt extent */
H A Dxfs_rtalloc.c1305 xfs_rtblock_t *pick) /* result rt extent */ in xfs_rtpick_extent()
1334 *pick = b; in xfs_rtpick_extent()
1301 xfs_rtpick_extent( xfs_mount_t *mp, xfs_trans_t *tp, xfs_extlen_t len, xfs_rtblock_t *pick) xfs_rtpick_extent() argument
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_rtalloc.h95 xfs_rtblock_t *pick); /* result rt extent */
H A Dxfs_rtalloc.c1447 xfs_rtblock_t *pick) /* result rt extent */ in xfs_rtpick_extent()
1476 *pick = b; in xfs_rtpick_extent()
1443 xfs_rtpick_extent( xfs_mount_t *mp, xfs_trans_t *tp, xfs_extlen_t len, xfs_rtblock_t *pick) xfs_rtpick_extent() argument
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
H A Dintel-pt.c174 int pos, pick = -1; in intel_pt_pick_bit() local
178 if (pos <= target || pick < 0) in intel_pt_pick_bit()
179 pick = pos; in intel_pt_pick_bit()
185 return pick; in intel_pt_pick_bit()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_dir2_sf.c373 int pick; /* which algorithm to use */ in xfs_dir2_sf_addname() local
407 * or the pick routine says it won't (due to offset values). in xfs_dir2_sf_addname()
410 (pick = in xfs_dir2_sf_addname()
433 if (pick == 1) in xfs_dir2_sf_addname()
440 ASSERT(pick == 2); in xfs_dir2_sf_addname()
454 * This is already checked by the pick routine.
595 * If it will fit, pick between adding the new entry to the end (easy)
600 static int /* pick result */
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_dir2_sf.c373 int pick; /* which algorithm to use */ in xfs_dir2_sf_addname() local
407 * or the pick routine says it won't (due to offset values). in xfs_dir2_sf_addname()
410 (pick = in xfs_dir2_sf_addname()
433 if (pick == 1) in xfs_dir2_sf_addname()
440 ASSERT(pick == 2); in xfs_dir2_sf_addname()
454 * This is already checked by the pick routine.
595 * If it will fit, pick between adding the new entry to the end (easy)
600 static int /* pick result */
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
H A Dintel-pt.c171 int pos, pick = -1; in intel_pt_pick_bit() local
175 if (pos <= target || pick < 0) in intel_pt_pick_bit()
176 pick = pos; in intel_pt_pick_bit()
182 return pick; in intel_pt_pick_bit()
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dscall-trans-i386.S33 and t1, t0, a7 # pick the ARCH specfied tag
35 and a7, a7, t0 # pick the syscall num
/kernel/linux/linux-6.6/net/mptcp/
H A Dprotocol.c1428 /* pick the subflow with the lower wmem/wspace ratio */ in mptcp_subflow_get_send()
1459 /* pick the best backup if no other subflow is active */ in mptcp_subflow_get_send()
2286 struct sock *backup = NULL, *pick = NULL; in mptcp_subflow_get_retrans() local
2309 if (!pick) in mptcp_subflow_get_retrans()
2310 pick = ssk; in mptcp_subflow_get_retrans()
2313 if (pick) in mptcp_subflow_get_retrans()
2314 return pick; in mptcp_subflow_get_retrans()
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
H A Ddecbin.S145 moveql #ESTRT,%d3 |counter to pick up digits
207 moveql #FSTRT,%d3 |counter to pick up digits

Completed in 29 milliseconds

12