/freebsd-11-stable/tools/tools/nxge/ |
H A D | xge_log.c | 41 int index = 0, count = 0; local 51 for(index = 0; index < count ; index++) { 52 switch(statsInfo[index].type) { 54 statsInfo[index].value = 56 GET_OFFSET_STATS(index))); 59 statsInfo[index].value = 61 GET_OFFSET_STATS(index))); 64 statsInfo[index] 88 int index = 0; local 118 int index = 0; local 149 int index = 0; local 180 int index = 0; local 207 int index = 0; local 236 int index = 0; local 300 int index = 0; local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.index.d.out | 4 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 D | tst.substr.d | 33 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-11-stable/contrib/ofed/librdmacm/ |
H A D | indexer.c | 43 * 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 D | indexer.h | 42 * 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-11-stable/contrib/gcclibs/libiberty/ |
H A D | index.c | 1 /* Stub implementation of (obsolete) index(). */ 5 @deftypefn Supplemental char* index (char *@var{s}, int @var{c}) 8 the string @var{s}, or @code{NULL} if not found. The use of @code{index} is 18 index (const char *s, int c) function
|
/freebsd-11-stable/contrib/binutils/libiberty/ |
H A D | index.c | 1 /* Stub implementation of (obsolete) index(). */ 5 @deftypefn Supplemental char* index (char *@var{s}, int @var{c}) 8 the string @var{s}, or @code{NULL} if not found. The use of @code{index} is 18 index (const char *s, int c) function
|
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_route.c | 46 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 D | mibII_ifstack.c | 43 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...] |
H A D | mibII_nettomedia.c | 53 if (at->index.subs[0] == ifp->index && 54 (at->index.subs[1] == ((a >> 24) & 0xff)) && 55 (at->index.subs[2] == ((a >> 16) & 0xff)) && 56 (at->index.subs[3] == ((a >> 8) & 0xff)) && 57 (at->index.subs[4] == ((a >> 0) & 0xff))) 73 at->index.len = 5; 74 at->index.subs[0] = ifp->index; 75 at->index [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/ |
H A D | avx512pfintrin.h | 20 #define _mm512_mask_prefetch_i32gather_pd(index, mask, addr, scale, hint) \ 21 __builtin_ia32_gatherpfdpd((__mmask8)(mask), (__v8si)(__m256i)(index), \ 25 #define _mm512_prefetch_i32gather_pd(index, addr, scale, hint) \ 26 __builtin_ia32_gatherpfdpd((__mmask8) -1, (__v8si)(__m256i)(index), \ 30 #define _mm512_mask_prefetch_i32gather_ps(index, mask, addr, scale, hint) \ 32 (__v16si)(__m512i)(index), (void const *)(addr), \ 35 #define _mm512_prefetch_i32gather_ps(index, addr, scale, hint) \ 37 (__v16si)(__m512i)(index), (void const *)(addr), \ 40 #define _mm512_mask_prefetch_i64gather_pd(index, mask, addr, scale, hint) \ 41 __builtin_ia32_gatherpfqpd((__mmask8)(mask), (__v8di)(__m512i)(index), \ [all...] |
/freebsd-11-stable/contrib/subversion/subversion/svn/ |
H A D | filesize.c | 49 /* Get the index of the order of magnitude of the given SIZE. 50 The returned index will be within [0 .. order_size - 1]. */ 58 apr_size_t index = order_size; 59 while (index > 0) 61 --index; 62 if (abs_size > order[index].mask) 65 return index; 74 apr_size_t index, 85 const char *const suffix = (long_units ? order[index].suffix 86 : order[index] 56 apr_size_t index = order_size; local 69 format_size(double human_readable_size, svn_boolean_t long_units, const filesize_order_t *order, apr_size_t index, apr_pool_t *result_pool) argument 131 apr_size_t index = get_order_index(abs_size, order, order_size); local 178 apr_size_t index = get_order_index(abs_size, order, order_size); local [all...] |
/freebsd-11-stable/usr.bin/mail/ |
H A D | strings.c | 63 int s, index; local 69 index = 0; 71 if (sp->s_topFree == NULL && (STRINGSIZE << index) >= s) 75 index++; 80 index = sp - &stringdope[0]; 81 if ((sp->s_topFree = malloc(STRINGSIZE << index)) == NULL) 82 err(1, "No room for space %d", index); 84 sp->s_nleft = STRINGSIZE << index; 101 int index; local 105 index [all...] |
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-sgmii.c | 98 * @param index Index of prot on the interface 102 static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) argument 110 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); 112 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); 117 pcsx_miscx_ctl_reg.u64 = cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); 118 pcsx_linkx_timer_count_reg.u64 = cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface)); 135 cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface), pcsx_linkx_timer_count_reg.u64); 147 pcsx_anx_adv_reg.u64 = cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface)); 152 cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface), pcsx_anx_adv_reg.u64); 161 cvmx_dprintf("SGMII%d%d: Forcing PHY mode as PHY address is not set\n", interface, index); 206 __cvmx_helper_sgmii_hardware_init_link(int interface, int index) argument 274 __cvmx_helper_sgmii_hardware_init_link_speed(int interface, int index, cvmx_helper_link_info_t link_info) argument 376 int index; local 486 int index; local 569 int index = cvmx_helper_get_interface_index_num(ipd_port); local 618 int index = cvmx_helper_get_interface_index_num(ipd_port); local 724 int index = cvmx_helper_get_interface_index_num(ipd_port); local 762 int index = cvmx_helper_get_interface_index_num(ipd_port); local [all...] |
H A D | cvmx-pow.c | 141 int index; local 174 for (index=0; index<num_pow_entries; index++) 181 load_addr.smemload.index = index; 186 dump->smemload[index][bits].u64 = cvmx_read_csr(load_addr.u64); 191 for (index=0; index<16; index 221 int index; local 404 int index; local 575 int index; local [all...] |
/freebsd-11-stable/sys/dev/xen/blkfront/ |
H A D | block.h | 209 xbd_added_qentry(struct xbd_softc *sc, xbd_q_index_t index) argument 213 cmq = &sc->xbd_cm_q[index]; 220 xbd_removed_qentry(struct xbd_softc *sc, xbd_q_index_t index) argument 222 sc->xbd_cm_q[index].q_length--; 226 xbd_queue_length(struct xbd_softc *sc, xbd_q_index_t index) argument 228 return (sc->xbd_cm_q[index].q_length); 232 xbd_initq_cm(struct xbd_softc *sc, xbd_q_index_t index) argument 236 cmq = &sc->xbd_cm_q[index]; 243 xbd_enqueue_cm(struct xbd_command *cm, xbd_q_index_t index) argument 245 KASSERT(index ! 257 xbd_requeue_cm(struct xbd_command *cm, xbd_q_index_t index) argument 271 xbd_dequeue_cm(struct xbd_softc *sc, xbd_q_index_t index) argument 297 xbd_q_index_t index; local 349 u_int index; local [all...] |
/freebsd-11-stable/contrib/ntp/lib/isc/ |
H A D | heap.c | 42 * not 0-based. The parent is index/2, and the left-child is index*2. 43 * The right child is index*2+1. 72 isc_heapindex_t index; member in struct:isc_heap 77 isc_heapindex_t index, unsigned int size_increment, 99 heap->index = index; 153 if (heap->index != NULL) 154 (heap->index)(heap->array[i], i); 157 if (heap->index ! 76 isc_heap_create(isc_mem_t *mctx, isc_heapcompare_t compare, isc_heapindex_t index, unsigned int size_increment, isc_heap_t **heapp) argument 206 isc_heap_delete(isc_heap_t *heap, unsigned int index) argument 231 isc_heap_increased(isc_heap_t *heap, unsigned int index) argument 239 isc_heap_decreased(isc_heap_t *heap, unsigned int index) argument 247 isc_heap_element(isc_heap_t *heap, unsigned int index) argument [all...] |
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_timer.c | 75 /* 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-11-stable/contrib/groff/src/include/ |
H A D | font.h | 40 int contains(int index); 42 int get_width(int index, int point_size); 43 int get_height(int index, int point_size); 44 int get_depth(int index, int point_size); 46 int get_character_type(int index); 48 int get_skew(int index, int point_size, int slant); 50 int get_italic_correction(int index, int point_size); 51 int get_left_italic_correction(int index, int point_size); 52 int get_subscript_correction(int index, int point_size); 54 const char *get_special_device_encoding(int index); [all...] |
/freebsd-11-stable/sys/mips/mediatek/ |
H A D | mtk_clock.c | 86 mtk_clock_set(device_t dev, int index, int value) argument 91 if (index < 0 || index > 31) 94 mask = (1u << index); 105 mtk_clock_enable(device_t dev, int index) argument 108 return mtk_clock_set(dev, index, CLOCK_ENABLE); 112 mtk_clock_disable(device_t dev, int index) argument 115 return mtk_clock_set(dev, index, CLOCK_DISABLE); 119 mtk_clock_get_info(device_t dev, int index, struct fdt_clock_info *info) argument 123 if (index < [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/version/ |
H A D | tst.1.0.d | 41 int index;
|
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | heap.h | 37 * The index function allows the client of the heap to receive a callback 38 * when an item's index number changes. This allows it to maintain 40 * from the heap require the index be provided. 56 isc_heapindex_t index, unsigned int size_increment, 68 *\li "index" is a function which takes a void *, and an unsigned int 70 * index value changes, so it may continue to delete itself from the 102 isc_heap_delete(isc_heap_t *heap, unsigned int index); 104 * \brief Deletes an element from a heap, by element index. 108 *\li "index" is a valid element index, a [all...] |
/freebsd-11-stable/tools/tools/mid/ |
H A D | mid-build | 5 # create a Message-ID, In-Reply-To look(1) index database 13 dbout=$home/index 22 find text/* -type f | mid-master-index 4 mid-index $dbout/mid 30 mid-master-index 1 mid-index $dbout/mid-current
|
/freebsd-11-stable/sys/mips/cavium/octe/ |
H A D | ethernet-rgmii.c | 80 int index = INDEX(priv->port); local 82 gmxx_rxx_int_reg.u64 = cvmx_read_csr(CVMX_GMXX_RXX_INT_REG(index, interface)); 94 gmxx_rxx_frm_ctl.u64 = cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface)); 96 cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface), gmxx_rxx_frm_ctl.u64); 104 cvmx_write_csr(CVMX_GMXX_RXX_INT_REG(index, interface), gmxx_rxx_int_reg.u64); 122 int index = INDEX(priv->port); local 125 gmxx_rxx_frm_ctl.u64 = cvmx_read_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface)); 127 cvmx_write_csr(CVMX_GMXX_RXX_FRM_CTL(index, interface), gmxx_rxx_frm_ctl.u64); 133 gmxx_rxx_int_reg.u64 = cvmx_read_csr(CVMX_GMXX_RXX_INT_REG(index, interface)); 134 cvmx_write_csr(CVMX_GMXX_RXX_INT_REG(index, interfac 149 int index; local 263 int index = INDEX(priv->port); local 292 int index = INDEX(priv->port); local [all...] |
/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_cache.h | 46 * @index: The index into the cached GID table to query. 47 * @gid: The GID value found at the specified index. 48 * @attr: The GID attribute found at the specified index (only in RoCE). 56 int index, 61 * ib_find_cached_gid - Returns the port number and GID table index where 68 * @index: The index into the cached GID table where the GID was found. This 79 u16 *index); 82 * ib_find_cached_gid_by_port - Returns the GID table index wher [all...] |