Home
last modified time | relevance | path

Searched refs:pidx (Results 1 – 25 of 39) sorted by relevance

12

/netbsd-src/external/bsd/nsd/dist/
H A Dradtree.c239 n->array[idx+need].node->pidx = idx+need; in radnode_array_space()
379 add->pidx = r->node->pidx; in radsel_split()
384 r->node->pidx = 0; in radsel_split()
411 add->pidx = addstr[r->len] - r->node->offset; in radsel_split()
412 r->node->array[add->pidx].node = add; in radsel_split()
413 r->node->array[add->pidx].str = split_str; in radsel_split()
414 r->node->array[add->pidx].len = split_len; in radsel_split()
475 com->pidx = r->node->pidx; in radsel_split()
477 r->node->pidx = r->str[common_len]-com->offset; in radsel_split()
479 add->pidx = addstr[common_len]-com->offset; in radsel_split()
[all …]
H A Dradtree.h43 uint8_t pidx; member
/netbsd-src/sys/arch/x86/x86/
H A Dsvs.c332 size_t i, pidx; in svs_tree_add() local
338 pidx = pl_pi(va, i); in svs_tree_add()
340 if (!pmap_valid_entry(dstpde[pidx])) { in svs_tree_add()
347 dstpde[pidx] = PTE_P | PTE_W | pa; in svs_tree_add()
350 pa = (paddr_t)(dstpde[pidx] & PTE_FRAME); in svs_tree_add()
361 size_t idx, pidx; in svs_page_add() local
367 pidx = pl1_pi(va); in svs_page_add()
384 if (pmap_valid_entry(dstpde[pidx])) { in svs_page_add()
387 dstpde[pidx] = pde; in svs_page_add()
399 if (pmap_valid_entry(dstpde[pidx])) { in svs_page_add()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dutf.c212 const char *utf_decodeChar(utf8_t const *s, size_t len, size_t *pidx, dchar_t *presult) in utf_decodeChar() argument
215 assert(pidx != NULL); in utf_decodeChar()
217 size_t i = (*pidx)++; in utf_decodeChar()
266 *pidx = i; in utf_decodeChar()
278 const char *utf_decodeWchar(utf16_t const *s, size_t len, size_t *pidx, dchar_t *presult) in utf_decodeWchar() argument
281 assert(pidx != NULL); in utf_decodeWchar()
283 size_t i = (*pidx)++; in utf_decodeWchar()
297 ++*pidx; in utf_decodeWchar()
H A Dutf.h116 const char *utf_decodeChar(utf8_t const *s, size_t len, size_t *pidx, dchar_t *presult);
117 const char *utf_decodeWchar(utf16_t const *s, size_t len, size_t *pidx, dchar_t *presult);
/netbsd-src/sys/dev/pci/cxgb/
H A Dcxgb_sge.c138 unsigned int pidx; member
462 struct rx_sw_desc *sd = &q->sdesc[q->pidx]; in refill_fl()
463 struct rx_desc *d = &q->desc[q->pidx]; in refill_fl()
507 if (++q->pidx == q->size) { in refill_fl()
508 q->pidx = 0; in refill_fl()
569 struct rx_desc *to = &q->desc[q->pidx]; in recycle_rx_buf()
571 q->sdesc[q->pidx] = q->sdesc[idx]; in recycle_rx_buf()
579 if (++q->pidx == q->size) { in recycle_rx_buf()
580 q->pidx = 0; in recycle_rx_buf()
885 txqs->pidx = txq->pidx; in txq_prod()
[all …]
H A Dcxgb_adapter.h231 uint32_t pidx; member
257 uint32_t pidx; member
/netbsd-src/lib/lua/sqlite/
H A Dsqlite.c205 int pidx; in stmt_bind() local
208 pidx = (int)luaL_checkinteger(L, 2); in stmt_bind()
212 lua_pushinteger(L, sqlite3_bind_double(*stmt, pidx, in stmt_bind()
216 lua_pushinteger(L, sqlite3_bind_text(*stmt, pidx, in stmt_bind()
220 lua_pushinteger(L, sqlite3_bind_null(*stmt, pidx)); in stmt_bind()
254 int pidx; in stmt_bind_parameter_name() local
257 pidx = (int)luaL_checkinteger(L, 2); in stmt_bind_parameter_name()
258 lua_pushstring(L, sqlite3_bind_parameter_name(*stmt, pidx)); in stmt_bind_parameter_name()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/property/
H A Dproperty_string.c120 OSSL_PROPERTY_IDX *pidx) in new_property_string() argument
128 ps->idx = ++*pidx; in new_property_string()
139 OSSL_PROPERTY_IDX *pidx, in ossl_property_string() argument
150 if (ps == NULL && pidx != NULL) { in ossl_property_string()
157 if (ps == NULL && (ps_new = new_property_string(s, pidx)) != NULL) { in ossl_property_string()
/netbsd-src/sys/dev/ic/
H A Dbcmgenet.c473 sc->sc_tx.cidx = sc->sc_tx.pidx = 0; in genet_set_txthresh()
506 sc->sc_rx.cidx = sc->sc_rx.pidx = 0; in genet_init_rings()
706 uint32_t status, pidx, total; in genet_rxintr()
709 pidx = RD4(sc, GENET_RX_DMA_PROD_INDEX(qid)) & 0xffff; in genet_rxintr()
710 total = (pidx - sc->sc_rx.cidx) & 0xffff; in genet_rxintr()
712 DPRINTF("RX pidx=%08x total=%d\n", pidx, total); in genet_rxintr()
829 index = sc->sc_tx.pidx % TX_DESC_COUNT; in genet_start_locked()
859 sc->sc_tx.pidx = (sc->sc_tx.pidx in genet_start()
684 uint32_t status, pidx, total; genet_rxintr() local
[all...]
H A Dbcmgenetvar.h54 uint32_t cidx, pidx; member
/netbsd-src/sys/arch/i386/pci/
H A Delan520.c695 int i, j, nregion, pidx, tidx = 0, xnregion; in elansc_protect_text() local
719 if ((pidx = elansc_alloc_par(memt, memh)) == -1) { in elansc_protect_text()
724 (void) bus_space_read_4(memt, memh, MMCR_PAR(pidx)); in elansc_protect_text()
754 elansc_protect(sc, pidx, start_pa, protsize); in elansc_protect_text()
756 sc->sc_textpar[tidx++] = pidx; in elansc_protect_text()
767 if ((pidx = elansc_alloc_par(memt, memh)) == -1) { in elansc_protect_text()
771 elansc_protect(sc, pidx, xregions[0].start, in elansc_protect_text()
773 sc->sc_textpar[tidx++] = pidx; in elansc_protect_text()
789 elansc_protect(struct elansc_softc *sc, int pidx, paddr_t addr, uint32_t sz) in elansc_protect() argument
817 bus_space_write_4(sc->sc_memt, sc->sc_memh, MMCR_PAR(pidx), par); in elansc_protect()
[all …]
/netbsd-src/sys/dev/usb/
H A Dif_urtwnvar.h70 size_t pidx; member
78 size_t pidx; member
H A Dif_urtwn.c816 data->pidx = j; in urtwn_alloc_tx_list()
2554 size_t pidx = data->pidx; in urtwn_rxeof()
2563 TAILQ_REMOVE(&sc->rx_free_list[pidx], data, next); in urtwn_rxeof()
2564 TAILQ_INSERT_TAIL(&sc->rx_free_list[pidx], data, next); in urtwn_rxeof()
2570 usbd_clear_endpoint_stall_async(sc->rx_pipe[pidx]); in urtwn_rxeof()
2639 size_t pidx = data->pidx; in urtwn_put_tx_data()
2643 TAILQ_INSERT_TAIL(&sc->tx_free_list[pidx], data, next); in urtwn_put_tx_data()
2653 size_t pidx in urtwn_txeof()
2553 size_t pidx = data->pidx; urtwn_rxeof() local
2638 size_t pidx = data->pidx; urtwn_put_tx_data() local
2652 size_t pidx = data->pidx; urtwn_txeof() local
2888 urtwn_get_tx_data(struct urtwn_softc * sc,size_t pidx) urtwn_get_tx_data() argument
[all...]
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DCallStack.cc262 long pidx = dview->getIdxByVals (&tval, DataView::REL_EQ); in find_preg_stack() local
263 if (pidx < 0) // No parent. Process the entire nat_stack in find_preg_stack()
268 uint32_t pthrid = (uint32_t) dview->getIntValue (PROP_THRID, pidx); in find_preg_stack()
290 void *pnat_stack = dview->getObjValue (PROP_MSTACK, pidx); in find_preg_stack()
845 long pidx = dview->getIdxByVals (&tval, DataView::REL_EQ); in add_stack() local
846 if (pidx < 0) // No parent. Process the entire nat_stack in add_stack()
850 uint32_t pthrid = (uint32_t) dview->getIntValue (PROP_THRID, pidx); in add_stack()
868 void *pnat_stack = dview->getObjValue (PROP_MSTACK, pidx); in add_stack()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DCallStack.cc262 long pidx = dview->getIdxByVals (&tval, DataView::REL_EQ); in find_preg_stack() local
263 if (pidx < 0) // No parent. Process the entire nat_stack in find_preg_stack()
268 uint32_t pthrid = (uint32_t) dview->getIntValue (PROP_THRID, pidx); in find_preg_stack()
290 void *pnat_stack = dview->getObjValue (PROP_MSTACK, pidx); in find_preg_stack()
845 long pidx = dview->getIdxByVals (&tval, DataView::REL_EQ); in add_stack() local
846 if (pidx < 0) // No parent. Process the entire nat_stack in add_stack()
850 uint32_t pthrid = (uint32_t) dview->getIntValue (PROP_THRID, pidx); in add_stack()
868 void *pnat_stack = dview->getObjValue (PROP_MSTACK, pidx); in add_stack()
/netbsd-src/sys/miscfs/genfs/
H A Dgenfs_io.c657 int pidx; in genfs_getpages_read() local
664 pidx = (offset - startoffset) >> PAGE_SHIFT; in genfs_getpages_read()
665 while ((pgs[pidx]->flags & PG_FAKE) == 0) { in genfs_getpages_read()
669 if ((pgs[pidx]->flags & PG_RDONLY)) { in genfs_getpages_read()
676 pidx++; in genfs_getpages_read()
712 while (pidx + pcount < npages && in genfs_getpages_read()
713 pgs[pidx + pcount]->flags & PG_FAKE) { in genfs_getpages_read()
739 pgs[pidx + i]->flags |= PG_RDONLY; in genfs_getpages_read()
/netbsd-src/crypto/external/bsd/openssl.old/dist/ssl/
H A Dssl_cert.c995 int ssl_cert_lookup_by_nid(int nid, size_t *pidx) in ssl_cert_lookup_by_nid() argument
1001 *pidx = i; in ssl_cert_lookup_by_nid()
1009 const SSL_CERT_LOOKUP *ssl_cert_lookup_by_pkey(const EVP_PKEY *pk, size_t *pidx) in ssl_cert_lookup_by_pkey() argument
1020 if (pidx != NULL) in ssl_cert_lookup_by_pkey()
1021 *pidx = tmpidx; in ssl_cert_lookup_by_pkey()
/netbsd-src/crypto/external/bsd/openssl/dist/ssl/
H A Dssl_cert.c1117 int ssl_cert_lookup_by_nid(int nid, size_t *pidx) in ssl_cert_lookup_by_nid() argument
1123 *pidx = i; in ssl_cert_lookup_by_nid()
1131 const SSL_CERT_LOOKUP *ssl_cert_lookup_by_pkey(const EVP_PKEY *pk, size_t *pidx) in ssl_cert_lookup_by_pkey() argument
1140 if (pidx != NULL) in ssl_cert_lookup_by_pkey()
1141 *pidx = i; in ssl_cert_lookup_by_pkey()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-ssa-strlen.c646 int *pidx = addr_stridxptr (TREE_OPERAND (exp, 0)); in new_stridx() local
647 if (pidx != NULL) in new_stridx()
649 gcc_assert (*pidx == 0); in new_stridx()
650 *pidx = max_stridx++; in new_stridx()
651 return *pidx; in new_stridx()
662 int *pidx; in new_addr_stridx() local
665 pidx = addr_stridxptr (exp); in new_addr_stridx()
666 if (pidx != NULL) in new_addr_stridx()
668 gcc_assert (*pidx == 0); in new_addr_stridx()
669 *pidx = max_stridx++; in new_addr_stridx()
[all …]
H A Dtree-ssa-coalesce.c1672 int pidx = var_to_partition (map, ssa_name (i)); in compute_optimized_partition_bases() local
1673 int base = partition_find (tentative, pidx); in compute_optimized_partition_bases()
1683 int pidx = var_to_partition (map, ssa_name (i)); in compute_optimized_partition_bases() local
1684 int base = partition_find (tentative, pidx); in compute_optimized_partition_bases()
1686 map->partition_to_base_index[pidx] = index_map[base]; in compute_optimized_partition_bases()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-ssa-strlen.cc721 int *pidx = addr_stridxptr (TREE_OPERAND (exp, 0)); in new_stridx() local
722 if (pidx != NULL) in new_stridx()
724 gcc_assert (*pidx == 0); in new_stridx()
725 *pidx = max_stridx++; in new_stridx()
726 return *pidx; in new_stridx()
737 int *pidx; in new_addr_stridx() local
740 pidx = addr_stridxptr (exp); in new_addr_stridx()
741 if (pidx != NULL) in new_addr_stridx()
743 gcc_assert (*pidx == 0); in new_addr_stridx()
744 *pidx = max_stridx++; in new_addr_stridx()
[all …]
H A Dtree-ssa-coalesce.cc1672 int pidx = var_to_partition (map, ssa_name (i)); in compute_optimized_partition_bases() local
1673 int base = partition_find (tentative, pidx); in compute_optimized_partition_bases()
1683 int pidx = var_to_partition (map, ssa_name (i)); in compute_optimized_partition_bases() local
1684 int base = partition_find (tentative, pidx); in compute_optimized_partition_bases()
1686 map->partition_to_base_index[pidx] = index_map[base]; in compute_optimized_partition_bases()
/netbsd-src/external/mit/lua/dist/src/
H A Dlparser.h105 short pidx; /* index of the variable in the Proto's 'locvars' array */ member
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dregexec.c1240 Idx nregs, regmatch_t *regs, Idx *pidx, Idx node, in proceed_next_node() argument
1248 re_node_set *cur_nodes = &mctx->state_log[*pidx]->nodes; in proceed_next_node()
1273 && push_fail_stack (fs, *pidx, candidate, nregs, regs, in proceed_next_node()
1290 naccepted = check_node_accept_bytes (dfa, node, &mctx->input, *pidx); in proceed_next_node()
1304 if (memcmp (buf + regs[subexp_idx].rm_so, buf + *pidx, in proceed_next_node()
1317 if (re_node_set_contains (&mctx->state_log[*pidx]->nodes, in proceed_next_node()
1324 || check_node_accept (mctx, dfa->nodes + node, *pidx)) in proceed_next_node()
1327 *pidx = (naccepted == 0) ? *pidx + 1 : *pidx + naccepted; in proceed_next_node()
1328 if (fs && (*pidx > mctx->match_last || mctx->state_log[*pidx] == NULL in proceed_next_node()
1329 || !re_node_set_contains (&mctx->state_log[*pidx]->nodes, in proceed_next_node()
[all …]

12