Home
last modified time | relevance | path

Searched refs:nelem (Results 1 – 15 of 15) sorted by relevance

/glibc-2.36/posix/
Dregex_internal.c972 set->nelem = 0; in re_node_set_alloc()
985 set->nelem = 1; in re_node_set_init_1()
989 set->alloc = set->nelem = 0; in re_node_set_init_1()
1006 set->nelem = 1; in re_node_set_init_2()
1011 set->nelem = 2; in re_node_set_init_2()
1030 dest->nelem = src->nelem; in re_node_set_init_copy()
1031 if (src->nelem > 0) in re_node_set_init_copy()
1033 dest->alloc = dest->nelem; in re_node_set_init_copy()
1037 dest->alloc = dest->nelem = 0; in re_node_set_init_copy()
1040 memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx)); in re_node_set_init_copy()
[all …]
Dregexec.c623 if (dfa->init_state->nodes.nelem == 0 in re_search_internal()
624 && dfa->init_state_word->nodes.nelem == 0 in re_search_internal()
625 && (dfa->init_state_nl->nodes.nelem == 0 in re_search_internal()
1200 for (i = 0; i < state->nodes.nelem; ++i) in check_halt_state_context()
1232 for (Idx i = 0; i < edests->nelem; i++) in proceed_next_node()
1630 for (i = 0; i < cur_src->nelem; i++) in build_sifted_states()
1655 if (sctx->limits.nelem) in build_sifted_states()
1735 if (dest_nodes->nelem == 0) in update_cur_sifted_state()
1748 if (sctx->limits.nelem) in update_cur_sifted_state()
1785 err = re_node_set_alloc (&state->inveclosure, dest_nodes->nelem); in add_epsilon_src_nodes()
[all …]
Dregcomp.c301 for (node_cnt = 0; node_cnt < init_state->nodes.nelem; ++node_cnt) in re_compile_fastmap_iter()
1016 for (i = 0; i < init_nodes.nelem; ++i) in create_initial_state()
1024 for (clexp_idx = 0; clexp_idx < init_nodes.nelem; ++clexp_idx) in create_initial_state()
1032 if (clexp_idx == init_nodes.nelem) in create_initial_state()
1512 else if (dfa->edests[org_node].nelem == 0) in duplicate_node_closure()
1520 else if (dfa->edests[org_node].nelem == 1) in duplicate_node_closure()
1638 for (idx = 0; idx < dfa->eclosures[src].nelem; ++idx) in calc_inveclosure()
1671 DEBUG_ASSERT (dfa->eclosures[node_idx].nelem != -1); in calc_eclosure()
1674 if (dfa->eclosures[node_idx].nelem != 0) in calc_eclosure()
1681 if (dfa->eclosures[node_idx].nelem == 0) in calc_eclosure()
[all …]
Dregex_internal.h235 Idx nelem; member
688 #define re_node_set_empty(p) ((p)->nelem = 0)
/glibc-2.36/sysdeps/unix/sysv/linux/
Dgetloadavg.c33 getloadavg (double loadavg[], int nelem) in getloadavg() argument
40 nelem = CLAMP (nelem, 0, array_length (info.loads)); in getloadavg()
42 for (int i = 0; i < nelem; i++) in getloadavg()
45 return nelem; in getloadavg()
/glibc-2.36/malloc/
Dscratch_buffer_set_array_size.c29 size_t nelem, size_t size) in __libc_scratch_buffer_set_array_size() argument
31 size_t new_length = nelem * size; in __libc_scratch_buffer_set_array_size()
34 if ((nelem | size) >> (sizeof (size_t) * CHAR_BIT / 2) != 0 in __libc_scratch_buffer_set_array_size()
35 && nelem != 0 && size != new_length / nelem) in __libc_scratch_buffer_set_array_size()
/glibc-2.36/locale/programs/
Dlocale-spec.c42 size_t nelem = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_ELEM_HASH_SIZE); in locale_special()
49 if (nelem != 0) in locale_special()
54 for (cnt = 0; cnt < nelem; ++cnt) in locale_special()
96 size_t nelem = _NL_CURRENT_WORD (LC_COLLATE, _NL_COLLATE_SYMB_HASH_SIZE); in locale_special()
105 for (cnt = 0; cnt < nelem; ++cnt) in locale_special()
/glibc-2.36/sysdeps/mach/
Dgetloadavg.c33 getloadavg (double loadavg[], int nelem) in getloadavg() argument
47 if (nelem > 3) in getloadavg()
48 nelem = 3; in getloadavg()
49 for (i = 0; i < nelem; ++i) in getloadavg()
/glibc-2.36/include/
Dscratch_buffer.h123 size_t nelem, size_t size);
129 size_t nelem, size_t size) in libc_hidden_proto()
132 (buffer, nelem, size)); in libc_hidden_proto()
/glibc-2.36/sunrpc/
Dxdr_array.c149 xdr_vector (XDR *xdrs, char *basep, u_int nelem, u_int elemsize, in libc_hidden_def()
156 for (i = 0; i < nelem; i++) in libc_hidden_def()
/glibc-2.36/misc/
Dgetloadavg.c30 getloadavg (double loadavg[], int nelem) in getloadavg() argument
/glibc-2.36/nptl_db/
Dthread_dbP.h75 #define DB_DEFINE_DESC(name, size, nelem, offset) \ argument
76 const uint32_t name[3] = { (size), (nelem), (offset) }
/glibc-2.36/elf/
Drtld.c749 size_t nelem = GL(dl_tls_max_dtv_idx) + 1 + TLS_SLOTINFO_SURPLUS; in init_tls() local
754 + nelem * sizeof (struct dtv_slotinfo), 1); in init_tls()
759 GL(dl_tls_dtv_slotinfo_list)->len = nelem; in init_tls()
/glibc-2.36/manual/
Dresource.texi1624 @deftypefun int getloadavg (double @var{loadavg}[], int @var{nelem})
1632 place at most @var{nelem} elements into the array but never more than
/glibc-2.36/ChangeLog.old/
DChangeLog.15935 dfa->edests[node].elems[0] if dfa->edests[node].nelem == 0.
1003 dest_nodes->nelem == 0.