Searched refs:index (Results 1 - 25 of 1781) sorted by relevance

1234567891011>>

/freebsd-current/lib/libc/aarch64/string/
H A Dstrchr.S4 .weak index
5 .equ index, strchr
H A Dmemcpy.S5 .weak index
6 .equ index, strchr
/freebsd-current/contrib/sendmail/libsm/
H A Dutf8_valid.c45 size_t index; local
48 index = 0;
54 if (index >= length)
56 byte1 = bytes[index++];
61 if (index == length)
63 if (byte1 < 0xC2 || bytes[index++] > 0xBF)
69 if (index + 1 >= length)
71 unsigned char byte2 = bytes[index++];
78 || bytes[index++] > 0xBF)
85 if (index
[all...]
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d.out4 if (index("foobarbaz", "barbaz") != 3) {
5 printf("perl => index(\"foobarbaz\", \"barbaz\") = %d\n",
6 index("foobarbaz", "barbaz"));
7 printf(" D => index(\"foobarbaz\", \"barbaz\") = 3\n");
18 if (index("foofoofoo", "foo") != 0) {
19 printf("perl => index(\"foofoofoo\", \"foo\") = %d\n",
20 index("foofoofoo", "foo"));
21 printf(" D => index(\"foofoofoo\", \"foo\") = 0\n");
32 if (index("boofoofoo", "foo") != 3) {
33 printf("perl => index(\"boofoofo
[all...]
H A Dtst.substr.d33 int index;
48 command[i].index = 3;
52 command[i].index = 300;
56 command[i].index = -10;
60 command[i].index = 0;
64 command[i].index = 1;
68 command[i].index = strlen(str) - 1;
72 command[i].index = strlen(str);
76 command[i].index = strlen(str) + 1;
80 command[i].index
[all...]
/freebsd-current/contrib/one-true-awk/testdir/
H A Dunbundle.awk4 { print substr($0, index($0, " ") + 1) >$1 }
/freebsd-current/contrib/ofed/librdmacm/
H A Dindexer.c43 * Indexer - to find a structure given an index
45 * We store pointers using a double lookup and return an index to the
47 * the index are itself an index into an array of memory allocations.
51 * This allows us to adjust the number of pointers stored by the index
89 int index; local
91 if ((index = idx->free_list) == 0) {
92 if ((index = idx_grow(idx)) <= 0)
93 return index;
96 entry = idx->array[idx_array_index(index)];
102 idx_remove(struct indexer *idx, int index) argument
114 idx_replace(struct indexer *idx, int index, void *item) argument
123 idm_grow(struct index_map *idm, int index) argument
136 idm_set(struct index_map *idm, int index, void *item) argument
155 idm_clear(struct index_map *idm, int index) argument
[all...]
H A Dindexer.h42 * Indexer - to find a structure given an index. Synchronization
65 #define idx_array_index(index) (index >> IDX_ENTRY_BITS)
66 #define idx_entry_index(index) (index & (IDX_ENTRY_SIZE - 1))
69 void *idx_remove(struct indexer *idx, int index);
70 void idx_replace(struct indexer *idx, int index, void *item);
72 static inline void *idx_at(struct indexer *idx, int index) argument
74 return (idx->array[idx_array_index(index)] + idx_entry_index(index))
91 idm_at(struct index_map *idm, int index) argument
98 idm_lookup(struct index_map *idm, int index) argument
[all...]
/freebsd-current/sys/contrib/device-tree/scripts/
H A Dindex-filter.sh6 ${SCRIPTS}/rewrite-index.pl | GIT_INDEX_FILE=$GIT_INDEX_FILE.new git update-index --index-info
/freebsd-current/contrib/bsnmp/snmp_mibII/
H A DmibII_route.c46 uint8_t index[13]; member in struct:sroute
65 return (memcmp(s1->index, s2->index, 13));
75 oid->subs[sub + i] = s->index[i];
85 printf("%u.", r->index[i]);
86 printf("%u proto=%u type=%u", r->index[i], r->proto, r->type);
118 /* build the index */
120 key.index[0] = (ha >> 24) & 0xff;
121 key.index[1] = (ha >> 16) & 0xff;
122 key.index[
[all...]
H A DmibII_ifstack.c43 stack->index.len = 2;
44 stack->index.subs[0] = upper ? upper->index : 0;
45 stack->index.subs[1] = lower ? lower->index : 0;
60 if (stack->index.subs[0] == (upper ? upper->index : 0) &&
61 stack->index.subs[1] == (lower ? lower->index : 0)) {
80 index_append(&value->var, sub, &stack->index);
[all...]
/freebsd-current/usr.sbin/bsdconfig/share/packages/
H A DMakefile3 FILES= categories.subr index.awk index.subr musthavepkg.subr packages.subr
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A Davx512pfintrin.h17 #define _mm512_mask_prefetch_i32gather_pd(index, mask, addr, scale, hint) \
18 __builtin_ia32_gatherpfdpd((__mmask8)(mask), (__v8si)(__m256i)(index), \
22 #define _mm512_prefetch_i32gather_pd(index, addr, scale, hint) \
23 __builtin_ia32_gatherpfdpd((__mmask8) -1, (__v8si)(__m256i)(index), \
27 #define _mm512_mask_prefetch_i32gather_ps(index, mask, addr, scale, hint) \
29 (__v16si)(__m512i)(index), (void const *)(addr), \
32 #define _mm512_prefetch_i32gather_ps(index, addr, scale, hint) \
34 (__v16si)(__m512i)(index), (void const *)(addr), \
37 #define _mm512_mask_prefetch_i64gather_pd(index, mask, addr, scale, hint) \
38 __builtin_ia32_gatherpfqpd((__mmask8)(mask), (__v8di)(__m512i)(index), \
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/
H A Dsetup.ksh37 index=`expr $RANDOM % 2`
38 case $index in
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/online_offline/
H A Dsetup.ksh37 index=`expr $RANDOM % 2`
38 case $index in
/freebsd-current/usr.bin/mail/
H A Dstrings.c57 int s, index; local
63 index = 0;
65 if (sp->s_topFree == NULL && (STRINGSIZE << index) >= s)
69 index++;
74 index = sp - &stringdope[0];
75 if ((sp->s_topFree = malloc(STRINGSIZE << index)) == NULL)
76 err(1, "No room for space %d", index);
78 sp->s_nleft = STRINGSIZE << index;
95 int index; local
99 index
[all...]
/freebsd-current/contrib/processor-trace/libipt/src/
H A Dpt_tnt_cache.c40 cache->index = 0ull;
48 return cache->index == 0;
58 if (!cache->index)
61 taken = (cache->tnt & cache->index) != 0;
62 cache->index >>= 1;
78 if (cache->index)
86 cache->index = 1ull << (bit_size - 1);
H A Dpt_block_cache.c62 int pt_bcache_add(struct pt_block_cache *bcache, uint64_t index, argument
68 if (bcache->nentries <= index)
75 bcache->entry[(uint32_t) index] = bce;
81 const struct pt_block_cache *bcache, uint64_t index)
86 if (bcache->nentries <= index)
93 *bce = bcache->entry[(uint32_t) index];
80 pt_bcache_lookup(struct pt_bcache_entry *bce, const struct pt_block_cache *bcache, uint64_t index) argument
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list.kshlib46 typeset -i index=1
57 EXPECTED=$(echo $list | awk "{print \$$index}")
65 ((index = index + 1))
70 if [ $index -ne $(echo $list | awk '{print split($0,arr)+1}') ]
87 # set our index to the be number of elements in the list
88 typeset -i index=$(echo $list | awk '{print split($0,arr)}')
99 EXPECTED=$(echo $list | awk "{print \$$index}")
108 ((index = index
[all...]
/freebsd-current/tests/sys/cddl/zfs/tests/cli_user/zfs_list/
H A Dzfs_list.kshlib42 typeset -i index=1
53 EXPECTED=$($ECHO $list | $AWK "{print \$$index}")
61 ((index = index + 1))
66 if [ $index -ne $($ECHO $list | $AWK '{print split($0,arr)+1}') ]
83 # set our index to the be number of elements in the list
84 typeset -i index=$($ECHO $list | $AWK '{print split($0,arr)}')
95 EXPECTED=$($ECHO $list | $AWK "{print \$$index}")
104 ((index = index
[all...]
/freebsd-current/sys/dev/xen/blkfront/
H A Dblock.h207 xbd_added_qentry(struct xbd_softc *sc, xbd_q_index_t index) argument
211 cmq = &sc->xbd_cm_q[index];
218 xbd_removed_qentry(struct xbd_softc *sc, xbd_q_index_t index) argument
220 sc->xbd_cm_q[index].q_length--;
224 xbd_queue_length(struct xbd_softc *sc, xbd_q_index_t index) argument
226 return (sc->xbd_cm_q[index].q_length);
230 xbd_initq_cm(struct xbd_softc *sc, xbd_q_index_t index) argument
234 cmq = &sc->xbd_cm_q[index];
241 xbd_enqueue_cm(struct xbd_command *cm, xbd_q_index_t index) argument
243 KASSERT(index !
255 xbd_requeue_cm(struct xbd_command *cm, xbd_q_index_t index) argument
269 xbd_dequeue_cm(struct xbd_softc *sc, xbd_q_index_t index) argument
295 xbd_q_index_t index; local
347 u_int index; local
[all...]
/freebsd-current/crypto/openssl/demos/certs/
H A Docsprun.sh13 $OPENSSL ocsp -port $PORT -index index.txt -CA intca.pem \
/freebsd-current/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_timer.c75 /* Find the first availabe timer index */
104 ar9300_free_generic_timer(struct ath_hal *ah, int index) argument
108 ar9300_stop_generic_timer(ah, index);
109 ahp->ah_avail_gen_timers |= AR_GENTMR_BIT(index);
115 int index,
119 if ((index < AR_FIRST_NDP_TIMER) || (index >= AR_NUM_GEN_TIMERS)) {
126 OS_REG_WRITE(ah, gen_timer_configuration[index].next_addr, timer_next);
127 OS_REG_WRITE(ah, gen_timer_configuration[index].period_addr, timer_period);
129 gen_timer_configuration[index]
113 ar9300_start_generic_timer( struct ath_hal *ah, int index, u_int32_t timer_next, u_int32_t timer_period) argument
153 ar9300_stop_generic_timer(struct ath_hal *ah, int index) argument
[all...]
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/version/
H A Dtst.1.0.d41 int index;
/freebsd-current/crypto/openssl/include/crypto/
H A Dcryptlib.h19 int ossl_init_thread_start(const void *index, void *arg,
21 int ossl_init_thread_deregister(void *index);

Completed in 330 milliseconds

1234567891011>>