Searched refs:idx (Results 1 - 25 of 313) sorted by relevance

1234567891011>>

/barrelfish-2018-10-04/kernel/include/arch/x86/
H A Dperfmon_amd.h21 void perfmon_amd_measure_stop(uint8_t idx);
23 uint8_t idx, bool intr);
24 uint64_t perfmon_amd_measure_read(uint8_t idx);
25 void perfmon_amd_measure_write(uint64_t val, uint8_t idx);
/barrelfish-2018-10-04/lib/libc/string/
H A Dstrcspn.c41 * NB: idx and bit are temporaries whose use causes gcc 3.4.2 to
47 int idx; local
56 for (tbl[0] = idx = 1; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
57 tbl[idx] = 0;
60 idx = IDX(*charset);
62 tbl[idx] |= bit;
66 idx = IDX(*s1);
68 if ((tbl[idx]
[all...]
H A Dstrspn.c41 * NB: idx and bit are temporaries whose use causes gcc 3.4.2 to
47 int idx; local
55 for (idx = 0; idx < sizeof(tbl) / sizeof(tbl[0]); idx++)
56 tbl[idx] = 0;
59 idx = IDX(*charset);
61 tbl[idx] |= bit;
65 idx = IDX(*s1);
67 if ((tbl[idx]
[all...]
/barrelfish-2018-10-04/include/lwip2/lwip/apps/
H A Dsntp.h58 void sntp_setserver(u8_t idx, const ip_addr_t *addr);
59 const ip_addr_t* sntp_getserver(u8_t idx);
62 void sntp_setservername(u8_t idx, char *server);
63 char *sntp_getservername(u8_t idx);
/barrelfish-2018-10-04/lib/cxx/cxx/
H A Dstring.cpp68 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) argument
80 if (idx)
81 *idx = static_cast<size_t>(ptr - p);
88 as_integer(const string& func, const S& s, size_t* idx, int base);
94 as_integer(const string& func, const string& s, size_t* idx, int base ) argument
97 long r = as_integer_helper<long>( func, s, idx, base, strtol );
106 as_integer(const string& func, const string& s, size_t* idx, int base ) argument
108 return as_integer_helper<long>( func, s, idx, base, strtol );
114 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
116 return as_integer_helper<unsigned long>( func, s, idx, bas
122 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
130 as_integer( const string& func, const string& s, size_t* idx, int base ) argument
139 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
151 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
159 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
167 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
175 as_integer( const string& func, const wstring& s, size_t* idx, int base ) argument
185 as_float_helper(const string& func, const S& str, size_t* idx, F f ) argument
265 stoi(const string& str, size_t* idx, int base) argument
271 stoi(const wstring& str, size_t* idx, int base) argument
277 stol(const string& str, size_t* idx, int base) argument
283 stol(const wstring& str, size_t* idx, int base) argument
289 stoul(const string& str, size_t* idx, int base) argument
295 stoul(const wstring& str, size_t* idx, int base) argument
301 stoll(const string& str, size_t* idx, int base) argument
307 stoll(const wstring& str, size_t* idx, int base) argument
313 stoull(const string& str, size_t* idx, int base) argument
319 stoull(const wstring& str, size_t* idx, int base) argument
325 stof(const string& str, size_t* idx) argument
331 stof(const wstring& str, size_t* idx) argument
337 stod(const string& str, size_t* idx) argument
343 stod(const wstring& str, size_t* idx) argument
349 stold(const string& str, size_t* idx) argument
355 stold(const wstring& str, size_t* idx) argument
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/camellia/asm/
H A Dcmll-x86.pl48 $idx="esi";
84 &xor ($t0,$idx); # t0^=key[0]
86 &movz ($idx,&HB($t0)); # (t0>>8)&0xff
87 &mov ($t3,&DWP($SBOX3_3033,$Tbl,$idx,8)); # t3=SBOX3_3033[0]
88 &movz ($idx,&LB($t0)); # (t0>>0)&0xff
89 &xor ($t3,&DWP($SBOX4_4404,$Tbl,$idx,8)); # t3^=SBOX4_4404[0]
91 &movz ($idx,&LB($t1)); # (t1>>0)&0xff
92 &mov ($t2,&DWP($SBOX1_1110,$Tbl,$idx,8)); # t2=SBOX1_1110[1]
93 &movz ($idx,&HB($t0)); # (t0>>24)&0xff
94 &xor ($t3,&DWP($SBOX1_1110,$Tbl,$idx,
[all...]
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/
H A Dlinux_radix.c81 int idx; local
95 idx = radix_pos(index, 0);
97 item = node->slots[idx];
103 node->slots[idx] = NULL;
115 idx = radix_pos(index, height);
125 int idx; local
169 idx = radix_pos(index, height);
170 if (node->slots[idx] == NULL)
172 node = node->slots[idx];
176 for (idx
[all...]
H A Dlinux_idr.c121 int idx; local
136 idx = idr_pos(id, layer);
137 il->bitmap |= 1 << idx;
138 il = il->ary[idx];
141 idx = id & IDR_MASK;
147 if (il == NULL || (il->bitmap & (1 << idx)) != 0)
150 il->ary[idx] = NULL;
151 il->bitmap |= 1 << idx;
162 int idx; local
175 idx
285 int idx; local
361 int idx, sidx; local
[all...]
/barrelfish-2018-10-04/lib/libc/iconv/
H A Dcitrus_none.c86 _csid_t *csid, _index_t *idx, char **s, size_t n,
96 *idx = (_index_t)(unsigned char)*(*s)++;
97 *nresult = *idx == 0 ? 0 : 1;
100 hooks->uc_hook((unsigned int)*idx, hooks->data);
107 char *s, size_t n, _csid_t csid, _index_t idx, void *ps __unused,
118 if ((idx & 0x000000FF) == idx) {
123 *s = (char)idx;
125 } else if ((idx & 0x0000FFFF) == idx) {
85 _citrus_NONE_stdenc_mbtocs(struct _citrus_stdenc * __restrict ce __unused, _csid_t *csid, _index_t *idx, char **s, size_t n, void *ps __unused, size_t *nresult, struct iconv_hooks *hooks) argument
106 _citrus_NONE_stdenc_cstomb(struct _citrus_stdenc * __restrict ce __unused, char *s, size_t n, _csid_t csid, _index_t idx, void *ps __unused, size_t *nresult, struct iconv_hooks *hooks __unused) argument
[all...]
/barrelfish-2018-10-04/lib/spawndomain/
H A Dspawn.h22 errval_t spawn_symval_register(const char *binary, uint32_t idx,
24 errval_t spawn_symval_lookup(const char *binary, uint32_t idx, char **ret_name,
/barrelfish-2018-10-04/usr/bench/net_latency/elb/
H A Delb.h29 static inline void *buffer_address(size_t idx) { argument
30 return (void*) ((uintptr_t) buffer_base + idx * buffer_size);
H A Dinterface_lib.c36 static inline uint64_t buffer_phys(size_t idx) { argument
37 return buffer_base_phys + idx * buffer_size;
122 //errval_t buffer_tx_add(size_t idx, size_t offset, size_t len, size_t more_chunks)
123 errval_t buffer_tx_add(size_t idx, size_t offset, size_t len) argument
126 .va = buffer_address(idx) + offset,
127 .pa = buffer_phys(idx) + offset,
130 return ether_transmit_pbuf_list_ptr(&buffer, 1, (void*) idx);
139 errval_t buffer_rx_add(size_t idx) argument
141 return rx_register_buffer_fn_ptr(buffer_phys(idx),
142 buffer_address(idx),
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/CPViz/viz/src/ie/ucc/cccc/viz/
H A DTools.java34 private String idx; field in class:Tools
46 void setIdx(String idx){ argument
47 this.idx = idx;
53 return idx;
/barrelfish-2018-10-04/lib/dma/include/xeon_phi/
H A Dxeon_phi_dma_device_internal.h49 * \param idx DMA channel index
54 uint8_t idx);
60 * \param idx channel index
64 uint8_t idx,
71 * \param idx channel index
75 uint8_t idx,
/barrelfish-2018-10-04/usr/bcached/
H A Dservice.c41 uintptr_t idx, length = 0; local
45 ks = cache_lookup(key, key_len, &idx, &length);
48 cache_register_wait(idx, b);
51 idx = cache_allocate(key, key_len);
59 if(inwrite[idx]) {
62 w->next = waiting[idx];
63 waiting[idx] = w;
67 inwrite[idx] = true;
72 err = b->tx_vtbl.get_start_response(b, NOP_CONT, idx, haveit,
80 uint64_t idx, uint64_
79 get_stop_handler(struct bcache_binding *b, uint64_t transid, uint64_t idx, uint64_t length) argument
[all...]
H A Dmain.c65 static struct lru_queue *lru_get_untouched(uintptr_t idx) argument
67 return lru + idx;
70 static struct lru_queue *lru_use(uintptr_t idx) argument
72 assert(idx < NUM_BLOCKS);
73 struct lru_queue *e = &lru[idx];
117 uint64_t cache_get_block_length(uintptr_t idx) argument
119 idx /= BUFFER_CACHE_BLOCK_SIZE;
120 struct lru_queue *l = lru_get_untouched(idx);
125 uintptr_t *idx, uintptr_t *length)
137 *idx
124 cache_lookup(const char *key, size_t key_len, uintptr_t *idx, uintptr_t *length) argument
161 cache_register_wait(uintptr_t idx, void *ptr) argument
185 cache_get_next_waiter(uintptr_t idx) argument
240 cache_update(uintptr_t idx, uintptr_t length) argument
[all...]
/barrelfish-2018-10-04/include/net_interfaces/
H A Dnet_interfaces.h26 void benchmark_rx_done(size_t idx, size_t len, uint64_t more, uint64_t flags);
27 void benchmark_tx_done(size_t idx);
32 errval_t buffer_tx_add(size_t idx, size_t offset, size_t len,
34 errval_t buffer_rx_add(size_t idx);
/barrelfish-2018-10-04/kernel/arch/x86/
H A Dperfmon_amd.c54 void perfmon_amd_measure_stop(uint8_t idx) argument
59 switch(idx) {
76 uint8_t idx, bool intr)
88 switch(idx) {
104 uint64_t perfmon_amd_measure_read(uint8_t idx) argument
106 switch(idx) {
120 void perfmon_amd_measure_write(uint64_t val, uint8_t idx) argument
122 switch(idx) {
75 perfmon_amd_measure_start(uint16_t event, uint8_t umask, bool os, uint8_t idx, bool intr) argument
/barrelfish-2018-10-04/usr/drivers/solarflare/
H A Dhelper.c91 size_t idx; local
96 idx = i / BMALLOCATOR_BITS;
98 if (!(alloc->bitmap[idx] & bit)) {
99 alloc->bitmap[idx] |= bit;
112 size_t idx; local
119 idx = n / BMALLOCATOR_BITS;
121 result = alloc->bitmap[idx] & bit;
122 alloc->bitmap[idx] &= ~bit;
/barrelfish-2018-10-04/usr/drivers/xeon_phi/
H A Dserial.c32 uint32_t idx; member in struct:xeon_phi_arg
109 xarg->buffer[xarg->idx] = '\0';
111 xarg->idx = 0;
114 xarg->buffer[xarg->idx] = '\0';
116 xarg->idx = 0;
118 } else if (xarg->idx == XEON_PHI_BUFFER_LENGTH) {
119 xarg->buffer[xarg->idx] = '\0';
122 xarg->idx = 1;
125 xarg->buffer[xarg->idx] = value;
126 xarg->idx
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/engine/
H A Deng_ctrl.c75 int idx = 0; local
78 idx++;
84 return idx;
89 int idx = 0; local
94 idx++;
98 return idx;
106 int idx; local
130 if((e->cmd_defns == NULL) || ((idx = int_ctrl_cmd_by_name(
137 return e->cmd_defns[idx].cmd_num;
141 if((e->cmd_defns == NULL) || ((idx
[all...]
/barrelfish-2018-10-04/lib/libc/db/recno/
H A Drec_search.c64 indx_t idx; local
82 for (idx = 0, top = NEXTINDEX(h);;) {
83 r = GETRINTERNAL(h, idx);
84 if (++idx == top || total + r->nrecs > recno)
89 BT_PUSH(t, pg, idx - 1);
94 --GETRINTERNAL(h, (idx - 1))->nrecs;
98 ++GETRINTERNAL(h, (idx - 1))->nrecs;
/barrelfish-2018-10-04/lib/phoenix/
H A DtaskQ.c77 static int tq_queue_init(taskQ_t* tq, unsigned int idx);
78 static void tq_queue_destroy(taskQ_t* tq, unsigned int idx);
154 * @param idx index of queue to destroy in tq
156 static void tq_queue_destroy(taskQ_t* tq, unsigned int idx) argument
161 assert (idx < tq->num_queues);
163 tq_empty_queue(tq->queues[idx]);
164 tq_free_queue(tq->queues[idx]);
166 tq_empty_queue(tq->free_queues[idx]);
167 tq_free_queue(tq->free_queues[idx]);
172 chksum += (uintptr_t)tq->locks[idx]
186 tq_queue_init(taskQ_t* tq, unsigned int idx) argument
359 tq_elem_into_free_seq( taskQ_t* tq, int idx, int tid, queue_elem_t** qe) argument
382 tq_elem_into_free( taskQ_t* tq, int idx, int tid, queue_elem_t** qe) argument
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/x509v3/
H A Dv3_lib.c101 int idx; local
107 idx = sk_X509V3_EXT_METHOD_find(ext_list, &tmp);
108 if(idx == -1) return NULL;
109 return sk_X509V3_EXT_METHOD_value(ext_list, idx);
180 * The "idx" variable returns the last found extension and can
183 * due to a badly encoded certificate so if idx is NULL we
194 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx)
199 if(idx) *idx = -1;
203 if(idx) lastpo
[all...]
/barrelfish-2018-10-04/usr/tests/skb_tests/
H A Dmem_affinity.c27 uintptr_t idx = 0; local
61 memory_affinities[idx].base = base;
62 memory_affinities[idx].limit = limit;
63 idx++;
66 for (int i = 0; i < idx; i++) {

Completed in 138 milliseconds

1234567891011>>