Symbol: leaf
lib/libc/stdlib/tsearch.c
98
(*action)(root, leaf, level);
lib/libcrypto/x509/x509_verify.c
1101
x509_verify(struct x509_verify_ctx *ctx, X509 *leaf, char *name)
lib/libcrypto/x509/x509_verify.c
1112
if (leaf != NULL || name != NULL) {
lib/libcrypto/x509/x509_verify.c
1116
leaf = ctx->xsc->cert;
lib/libcrypto/x509/x509_verify.c
1133
if (!X509_up_ref(leaf)) {
lib/libcrypto/x509/x509_verify.c
1137
if (!sk_X509_push(ctx->xsc->chain, leaf)) {
lib/libcrypto/x509/x509_verify.c
1138
X509_free(leaf);
lib/libcrypto/x509/x509_verify.c
1143
ctx->xsc->current_cert = leaf;
lib/libcrypto/x509/x509_verify.c
1158
if (!x509_verify_chain_append(current_chain, leaf, &ctx->error)) {
lib/libcrypto/x509/x509_verify.c
1164
if (x509_verify_ctx_cert_is_root(ctx, leaf, full_chain)) {
lib/libcrypto/x509/x509_verify.c
1171
x509_verify_build_chains(ctx, leaf, current_chain,
lib/libcrypto/x509/x509_verify.c
477
X509 *leaf = x509_verify_chain_leaf(chain);
lib/libcrypto/x509/x509_verify.c
496
if (!x509_verify_cert_valid(ctx, leaf, NULL))
lib/libcrypto/x509/x509_verify.c
498
if (!x509_verify_cert_hostname(ctx, leaf, name))
lib/libcrypto/x509/x509_verify.h
40
size_t x509_verify(X509_VERIFY_CTX *ctx, X509 *leaf, char *name);
lib/libcrypto/x509/x509_vfy.c
2251
X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *leaf,
lib/libcrypto/x509/x509_vfy.c
2280
ctx->cert = leaf;
lib/libcurses/tinfo/access.c
143
char *leaf;
lib/libcurses/tinfo/access.c
146
leaf = _nc_basename(head);
lib/libcurses/tinfo/access.c
147
if (leaf == 0)
lib/libcurses/tinfo/access.c
148
leaf = head;
lib/libcurses/tinfo/access.c
149
*leaf = '\0';
lib/libcurses/tinfo/access.c
150
if (head == leaf)
lib/libcurses/tinfo/lib_tparm.c
168
if (which == preorder || which == leaf) {
regress/lib/libcrypto/x509/bettertls/verify.c
108
X509 *leaf = NULL;
regress/lib/libcrypto/x509/bettertls/verify.c
122
leaf = sk_X509_shift(cert);
regress/lib/libcrypto/x509/bettertls/verify.c
127
if (!X509_STORE_CTX_init(xsc, store, leaf, bundle)) {
regress/lib/libcrypto/x509/bettertls/verify.c
158
if (!X509_STORE_CTX_init(xscip, store, leaf, bundle)) {
regress/lib/libcrypto/x509/bettertls/verify.c
190
X509_free(leaf);
regress/lib/libcrypto/x509/callback.c
119
X509 *leaf = NULL;
regress/lib/libcrypto/x509/callback.c
130
leaf = sk_X509_shift(bundle);
regress/lib/libcrypto/x509/callback.c
136
if (!X509_STORE_CTX_init(xsc, store, leaf, bundle)) {
regress/lib/libcrypto/x509/callback.c
172
X509_free(leaf);
regress/lib/libcrypto/x509/callbackfailures.c
124
X509 *leaf = NULL;
regress/lib/libcrypto/x509/callbackfailures.c
137
leaf = sk_X509_shift(bundle);
regress/lib/libcrypto/x509/callbackfailures.c
143
if (!X509_STORE_CTX_init(xsc, store, leaf, bundle)) {
regress/lib/libcrypto/x509/callbackfailures.c
181
X509_free(leaf);
regress/lib/libcrypto/x509/expirecallback.c
122
X509 *leaf = NULL;
regress/lib/libcrypto/x509/expirecallback.c
138
leaf = sk_X509_shift(bundle);
regress/lib/libcrypto/x509/expirecallback.c
144
if (!X509_STORE_CTX_init(xsc, store, leaf, bundle)) {
regress/lib/libcrypto/x509/expirecallback.c
185
X509_free(leaf);
regress/lib/libcrypto/x509/policy/policy.c
127
X509 *leaf = NULL;
regress/lib/libcrypto/x509/policy/policy.c
144
leaf = sk_X509_shift(bundle);
regress/lib/libcrypto/x509/policy/policy.c
148
if (!X509_STORE_CTX_init(xsc, store, leaf, bundle)) {
regress/lib/libcrypto/x509/policy/policy.c
195
X509_free(leaf);
regress/lib/libcrypto/x509/verify.c
113
X509 *leaf = NULL;
regress/lib/libcrypto/x509/verify.c
129
leaf = sk_X509_shift(bundle);
regress/lib/libcrypto/x509/verify.c
135
if (!X509_STORE_CTX_init(xsc, store, leaf, bundle)) {
regress/lib/libcrypto/x509/verify.c
175
X509_free(leaf);
regress/lib/libcrypto/x509/verify.c
183
X509 *leaf = NULL;
regress/lib/libcrypto/x509/verify.c
194
leaf = sk_X509_shift(bundle);
regress/lib/libcrypto/x509/verify.c
198
if (!X509_STORE_CTX_init(xsc, NULL, leaf, bundle)) {
regress/lib/libcrypto/x509/verify.c
210
if ((*chains = x509_verify(ctx, leaf, NULL)) == 0) {
regress/lib/libcrypto/x509/verify.c
234
X509_free(leaf);
regress/sys/kern/ptrace/xstate/xstate.c
48
cpuid(uint32_t leaf, uint32_t subleaf, struct cpuid *out)
regress/sys/kern/ptrace/xstate/xstate.c
52
: "a" (leaf), "c" (subleaf));
regress/sys/kern/ptrace/xstate/xstate.c
62
struct cpuid leaf;
regress/sys/kern/ptrace/xstate/xstate.c
65
cpuid(0x1, 0, &leaf);
regress/sys/kern/ptrace/xstate/xstate.c
66
if ((leaf.c & CPUID_01_C_XSAVE_MASK) == 0) {
regress/sys/kern/ptrace/xstate/xstate.c
91
cpuid(0xd, XSTATE_COMPONENT_AVX, &leaf);
regress/sys/kern/ptrace/xstate/xstate.c
93
xstate->components[XSTATE_COMPONENT_AVX].offset = leaf.b;
regress/sys/kern/ptrace/xstate/xstate.c
94
xstate->components[XSTATE_COMPONENT_AVX].size = leaf.a;
sys/arch/amd64/amd64/cacheinfo.c
183
intel_print_one_cache(struct cpu_info *ci, int leaf, u_int eax, u_int ebx,
sys/arch/amd64/amd64/cacheinfo.c
201
if (leaf == 0)
sys/arch/amd64/amd64/cacheinfo.c
229
int leaf;
sys/arch/amd64/amd64/cacheinfo.c
232
leaf = 0;
sys/arch/amd64/amd64/cacheinfo.c
237
for (; leaf < MAX_CACHE_LEAF; leaf++) {
sys/arch/amd64/amd64/cacheinfo.c
238
CPUID_LEAF(fn, leaf, eax, ebx, ecx, dummy);
sys/arch/amd64/amd64/cacheinfo.c
239
if (PREV_SAME(prev_cache[leaf][0], eax) &&
sys/arch/amd64/amd64/cacheinfo.c
240
PREV_SAME(prev_cache[leaf][1], ebx) &&
sys/arch/amd64/amd64/cacheinfo.c
241
PREV_SAME(prev_cache[leaf][2], ecx)) {
sys/arch/amd64/amd64/cacheinfo.c
248
for (i = 0; i < leaf; i++)
sys/arch/amd64/amd64/cacheinfo.c
259
for (; leaf < MAX_CACHE_LEAF; leaf++) {
sys/arch/amd64/amd64/cacheinfo.c
260
CPUID_LEAF(fn, leaf, eax, ebx, ecx, dummy);
sys/arch/amd64/amd64/cacheinfo.c
264
PREV_SET(prev_cache[leaf][0], eax);
sys/arch/amd64/amd64/cacheinfo.c
265
PREV_SET(prev_cache[leaf][1], ebx);
sys/arch/amd64/amd64/cacheinfo.c
266
PREV_SET(prev_cache[leaf][2], ecx);
sys/arch/amd64/amd64/cacheinfo.c
267
if (intel_print_one_cache(ci, leaf, eax, ebx, ecx))
sys/arch/amd64/amd64/vmm_machdep.c
6274
uint32_t leaf, subleaf, eax, ebx, ecx, edx;
sys/arch/amd64/amd64/vmm_machdep.c
6320
leaf = *rax;
sys/arch/amd64/amd64/vmm_machdep.c
6337
if ((leaf > vmm_cpuid_level && leaf < 0x40000000) ||
sys/arch/amd64/amd64/vmm_machdep.c
6338
(leaf > curcpu()->ci_pnfeatset)) {
sys/arch/amd64/amd64/vmm_machdep.c
6340
"0x%llx - resetting to 0x%x\n", __func__, leaf,
sys/arch/amd64/amd64/vmm_machdep.c
6343
leaf = vmm_cpuid_level;
sys/arch/amd64/amd64/vmm_machdep.c
6347
if (leaf <= cpuid_level || leaf > 0x80000000)
sys/arch/amd64/amd64/vmm_machdep.c
6348
CPUID_LEAF(leaf, subleaf, eax, ebx, ecx, edx);
sys/arch/amd64/amd64/vmm_machdep.c
6352
switch (leaf) {
sys/arch/amd64/include/specialreg.h
448
#define CPUID_LEAF(code, leaf, eax, ebx, ecx, edx) \
sys/arch/amd64/include/specialreg.h
451
: "a" (code), "c" (leaf))
sys/arch/i386/include/specialreg.h
305
#define CPUID_LEAF(code, leaf, eax, ebx, ecx, edx) \
sys/arch/i386/include/specialreg.h
308
: "a" (code), "c" (leaf))
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
146
static int check_seqno(struct i915_syncmap *leaf, unsigned int idx, u32 seqno)
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
148
if (leaf->height) {
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
150
__func__, leaf->height);
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
154
if (__sync_seqno(leaf)[idx] != seqno) {
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
156
__func__, idx, __sync_seqno(leaf)[idx], seqno);
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
508
struct i915_syncmap *leaf = __sync_child(sync)[idx];
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
510
if (leaf->height) {
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
516
if (leaf->parent != sync) {
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
523
if (!is_power_of_2(leaf->bitmap)) {
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
525
idx, leaf->bitmap, hweight32(leaf->bitmap));
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
530
if (leaf->bitmap != BIT(idx)) {
sys/dev/pci/drm/i915/selftests/i915_syncmap.c
532
idx, ilog2(leaf->bitmap), idx);
sys/net/pf_ruleset.c
137
char *leaf, *p;
sys/net/pf_ruleset.c
145
leaf = p;
sys/net/pf_ruleset.c
147
leaf = strrchr(p, '/');
sys/net/pf_ruleset.c
148
if (leaf != NULL) {
sys/net/pf_ruleset.c
149
*leaf = '\0';
sys/net/pf_ruleset.c
153
leaf = path;
sys/net/pf_ruleset.c
163
*path_remainder = leaf;
sys/net/pf_ruleset.c
167
while (*leaf != '\0')
sys/net/pf_ruleset.c
168
leaf++;
sys/net/pf_ruleset.c
169
*leaf = '/';
sys/net/radix.c
208
rn_satisfies_leaf(char *trial, struct radix_node *leaf, int skip)
sys/net/radix.c
211
char *cp2 = leaf->rn_key;
sys/net/radix.c
212
char *cp3 = leaf->rn_mask;
usr.bin/tic/tic.c
612
unsigned leaf = _nc_pathlast(result);
usr.bin/tic/tic.c
615
if (leaf) {
usr.bin/tic/tic.c
616
char save = result[leaf];
usr.bin/tic/tic.c
617
result[leaf] = 0;
usr.bin/tic/tic.c
621
result[leaf] = save;
usr.bin/tset/tset.c
713
char *leaf;
usr.bin/tset/tset.c
719
&& ((len = (int) strlen(leaf = _nc_basename(var))) >= 3)
usr.bin/tset/tset.c
720
&& !strcmp(leaf + len - 3, "csh"))
usr.sbin/ldapd/btree.c
1495
btree_read_data(struct btree *bt, struct mpage *mp, struct node *leaf,
usr.sbin/ldapd/btree.c
1507
if (!F_ISSET(leaf->flags, F_BIGDATA)) {
usr.sbin/ldapd/btree.c
1508
data->size = leaf->n_dsize;
usr.sbin/ldapd/btree.c
1513
bcopy(NODEDATA(leaf), data->data, data->size);
usr.sbin/ldapd/btree.c
1517
data->data = NODEDATA(leaf);
usr.sbin/ldapd/btree.c
1528
DPRINTF("allocating %u byte for overflow data", leaf->n_dsize);
usr.sbin/ldapd/btree.c
1529
if ((data->data = malloc(leaf->n_dsize)) == NULL)
usr.sbin/ldapd/btree.c
1531
data->size = leaf->n_dsize;
usr.sbin/ldapd/btree.c
1534
bcopy(NODEDATA(leaf), &pgno, sizeof(pgno));
usr.sbin/ldapd/btree.c
1559
struct node *leaf;
usr.sbin/ldapd/btree.c
1587
leaf = btree_search_node(bt, mp, key, &exact, NULL);
usr.sbin/ldapd/btree.c
1588
if (leaf && exact)
usr.sbin/ldapd/btree.c
1589
rc = btree_read_data(bt, mp, leaf, data);
usr.sbin/ldapd/btree.c
1679
struct node *leaf;
usr.sbin/ldapd/btree.c
1709
leaf = NODEPTR(mp, top->ki);
usr.sbin/ldapd/btree.c
1711
if (data && btree_read_data(cursor->bt, mp, leaf, data) != BT_SUCCESS)
usr.sbin/ldapd/btree.c
1714
if (bt_set_key(cursor->bt, mp, leaf, key) != 0)
usr.sbin/ldapd/btree.c
1725
struct node *leaf;
usr.sbin/ldapd/btree.c
1739
leaf = btree_search_node(cursor->bt, mp, key, exactp, &top->ki);
usr.sbin/ldapd/btree.c
1746
if (leaf == NULL) {
usr.sbin/ldapd/btree.c
1754
leaf = NODEPTR(mp, 0);
usr.sbin/ldapd/btree.c
1760
if (data && btree_read_data(cursor->bt, mp, leaf, data) != BT_SUCCESS)
usr.sbin/ldapd/btree.c
1763
if (bt_set_key(cursor->bt, mp, leaf, key) != 0)
usr.sbin/ldapd/btree.c
1776
struct node *leaf;
usr.sbin/ldapd/btree.c
1783
leaf = NODEPTR(mp, 0);
usr.sbin/ldapd/btree.c
1787
if (data && btree_read_data(cursor->bt, mp, leaf, data) != BT_SUCCESS)
usr.sbin/ldapd/btree.c
1790
if (bt_set_key(cursor->bt, mp, leaf, key) != 0)
usr.sbin/ldapd/btree.c
2570
struct node *leaf;
usr.sbin/ldapd/btree.c
259
struct node *leaf, struct btval *data);
usr.sbin/ldapd/btree.c
2609
leaf = btree_search_node(bt, mp, key, &exact, &ki);
usr.sbin/ldapd/btree.c
2610
if (leaf == NULL || !exact) {
usr.sbin/ldapd/btree.c
2616
if (data && (rc = btree_read_data(bt, NULL, leaf, data)) != BT_SUCCESS)
usr.sbin/ldapd/btree.c
2889
struct node *leaf;
usr.sbin/ldapd/btree.c
2930
leaf = btree_search_node(bt, mp, key, &exact, &ki);
usr.sbin/ldapd/btree.c
2931
if (leaf && exact) {
usr.sbin/ldapd/btree.c
2941
if (leaf == NULL) { /* append if not found */