Home
last modified time | relevance | path

Searched refs:elt (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/include/isc/
H A Dlist.h34 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ argument
50 (list).head = (elt); \
62 (list).tail = (elt); \
69 (elt)->link.next->link.prev = (elt)->link.prev; \
75 (elt)->link.prev->link.next = (elt)->link.next; \
85 #define PREV(elt, link) ((elt)->link.prev) argument
86 #define NEXT(elt, link) ((elt)->link.next) argument
96 (elt)->link.prev->link.next = (elt); \
109 (elt)->link.next->link.prev = (elt); \
114 #define ENQUEUE(list, elt, link) APPEND(list, elt, link) argument
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dbitset.c123 bitset_add(bitset_t *b, uint_t elt) in bitset_add() argument
163 bitset_del(bitset_t *b, uint_t elt) in bitset_del() argument
239 return (elt); in bitset_find_in_word()
244 if (elt != (uint_t)-1) in bitset_find_in_word()
245 elt = ((elt + rotate_bit) % BT_NBIPUL); in bitset_find_in_word()
247 return (elt); in bitset_find_in_word()
259 uint_t elt = (uint_t)-1; in bitset_find() local
270 if (elt != (uint_t)-1) { in bitset_find()
271 elt += i * BT_NBIPUL; in bitset_find()
272 return (elt >> b->bs_fanout); in bitset_find()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_shash.h33 #define HASHLOOKUP(begin, type, field, elt, r, n, hash, cmp) do { \ argument
37 __ndx = hash(elt) % (n); \
41 if (cmp(elt, r)) \
57 #define HASHINSERT(begin, type, field, elt, n, hash) do { \ argument
61 __ndx = hash(elt) % (n); \
63 SH_TAILQ_INSERT_HEAD(__bucket, elt, field, type); \
78 #define HASHREMOVE(begin, type, field, elt, n, hash, cmp) { \ argument
83 __ndx = hash(elt) % (n); \
85 HASHLOOKUP(begin, type, field, elt, __entp, n, hash, cmp); \
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dheap.c102 float_up(heap_context ctx, int i, void *elt) { in float_up() argument
112 ctx->heap[i] = elt; in float_up()
118 sink_down(heap_context ctx, int i, void *elt) { in sink_down() argument
129 if (ctx->higher_priority(elt, ctx->heap[j])) in sink_down()
136 ctx->heap[i] = elt; in sink_down()
142 heap_insert(heap_context ctx, void *elt) { in heap_insert() argument
145 if (ctx == NULL || elt == NULL) { in heap_insert()
154 float_up(ctx, i, elt); in heap_insert()
161 void *elt; in heap_delete() local
172 elt = ctx->heap[ctx->heap_size--]; in heap_delete()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_dts.sh50 $(for elt in /usr/lib/lib*.so; do echo -Wl,-N,$(basename $elt); done)
52 $(for elt in /usr/lib/lib*.so; do echo -Wl,-N,$(basename $elt); done)
54 $(for elt in /usr/lib/64/lib*.so; do echo -Wl,-N,$(basename $elt); done)
56 $(for elt in /usr/lib/64/lib*.so; do echo -Wl,-N,$(basename $elt); done)
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dfake_shdr.c349 SINFO_LISTELT *elt; in sinfo_list_alloc() local
351 if ((elt = malloc(sizeof (*elt))) == NULL) { in sinfo_list_alloc()
358 elt->next = root; in sinfo_list_alloc()
359 elt->prev = root->prev; in sinfo_list_alloc()
361 root->prev = elt; in sinfo_list_alloc()
362 elt->prev->next = elt; in sinfo_list_alloc()
364 bzero(&elt->sinfo, sizeof (elt->sinfo)); in sinfo_list_alloc()
365 return (&elt->sinfo); in sinfo_list_alloc()
377 SINFO_LISTELT *elt; in sinfo_list_free_all() local
379 for (elt = root->next; elt != root; elt = elt->next) in sinfo_list_free_all()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses_ses.c726 ses_decode(char *b, int amt, uchar_t *ep, int elt, int elm, SesComStat *sp) in ses_decode() argument
734 if (elt == -1) { in ses_decode()
748 if (elm >= ep[elt]) in ses_decode()
755 for (idx = 8, i = 0; i < elt; i++) { in ses_decode()
782 elt, elm, idx-4); in ses_decode()
794 ses_encode(char *b, int amt, uchar_t *ep, int elt, int elm, SesComStat *sp) in ses_encode() argument
802 if (elt == -1) { in ses_encode()
816 if (elm >= ep[elt]) in ses_encode()
823 for (idx = 8, i = 0; i < elt; i++) { in ses_encode()
853 "%x %x %x %x", elt, elm, idx, sp->comstatus, sp->comstat[0], in ses_encode()
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dcap.msg87 Interpret the elt argument as a direct index into the\n\
91 Restrict the elt argument to the capability elements belonging\n\
113 If the -capndx option is specified, elt is instead interpreted\n\
128 option is specified, then elt is instead interpreted as a\n\
146 capabilities group as elt.\n"
189 with the elt argument, the specified elements are displayed.\n\
201 elt argument, the value of the specified elements are displayed.\n\
216 moved from elt to dst_index.\n"
308 @ MSG_STR_ELT "elt"
H A Ddyn.msg118 Interpret the elt argument as a direct index into the dynamic\n\
141 If the -dynndx option is specified, elt is instead interpreted\n\
156 option is specified, then elt is instead interpreted as a\n\
224 with the elt argument, the specified elements are displayed.\n\
236 elt argument, the value of the specified elements are displayed.\n\
262 number of elements are moved from elt to dst_index.\n\
451 @ MSG_STR_ELT "elt"
H A Dphdr.msg325 number of elements are moved from elt to dst_index.\n"
/illumos-gate/usr/src/tools/scripts/
H A Dcddlchk.py80 def __contains__(self, elt): argument
81 return self.match(elt)
H A Dmapfilechk.py80 def __contains__(self, elt): argument
81 return self.match(elt)
H A Dgit-pbchk.py111 for elt in p:
112 if elt[0] == '*':
113 if elt.endswith('(no branch)'):
115 return elt.split()[1]
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c89 elfedit_dyn_elt_init(elfedit_dyn_elt_t *elt) in elfedit_dyn_elt_init() argument
91 elt->dn_seen = 0; in elfedit_dyn_elt_init()
99 elfedit_dyn_elt_save(elfedit_dyn_elt_t *elt, Word ndx, Dyn *dyn) in elfedit_dyn_elt_save() argument
101 elt->dn_seen = 1; in elfedit_dyn_elt_save()
102 elt->dn_ndx = ndx; in elfedit_dyn_elt_save()
103 elt->dn_dyn = *dyn; in elfedit_dyn_elt_save()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregnexec.c584 Ckey_t elt; in collelt() local
586 mbxfrm(elt, key, COLL_KEY_MAX); in collelt()
596 if (!strcmp((char*)ce->beg, (char*)elt)) in collelt()
600 …if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max) in collelt()
604 …if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max… in collelt()
608 …if (strcmp((char*)ce->beg, (char*)elt) <= ce->min && strcmp((char*)elt, (char*)ce->end) <= ce->max… in collelt()
659 Ckey_t elt; in collmatch() local
690 r = mbxfrm(elt, key, COLL_KEY_MAX); in collmatch()
695 if (mbxfrm(elt, key, COLL_KEY_MAX) != r) in collmatch()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_encode.c336 const void *elt, *eltptr; in get_nullterm_sequence_len() local
345 elt = LOADPTR(eltptr, a); in get_nullterm_sequence_len()
346 if (elt == NULL) in get_nullterm_sequence_len()
H A Dasn1_k_decode.c740 (*(array))[(size)-1] = elt
744 type *elt;\
748 alloc_field(elt,type);\
749 get_element(elt,decoder);\
750 array_append(val,size,elt,type);\
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddup_avl.c53 #define OFFSETOF(type, elt) ((size_t)(&((type *)NULL)->elt)) argument
/illumos-gate/usr/src/cmd/sgs/include/
H A Delfedit.h874 extern void elfedit32_dyn_elt_save(elfedit32_dyn_elt_t *elt, Elf32_Word ndx,
876 extern void elfedit64_dyn_elt_save(elfedit64_dyn_elt_t *elt, Elf64_Word ndx,
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c11522 struct snaplevel *elt; in lscf_select() local
11526 elt = uu_list_next(cur_levels, cur_elt); in lscf_select()
11527 if (elt == NULL) { in lscf_select()
11546 cur_elt = elt; in lscf_select()
11547 cur_level = elt->sl; in lscf_select()
11599 struct snaplevel *elt; in lscf_unselect() local
11602 if (elt == NULL) { in lscf_unselect()
11605 cur_elt = elt; in lscf_unselect()
11606 cur_level = elt->sl; in lscf_unselect()
11767 struct snaplevel *elt; in lscf_list() local
[all …]