/illumos-gate/usr/src/lib/libresolv2/include/isc/ |
H A D | list.h | 27 #define INIT_LINK_TYPE(elt, link, type) \ argument 29 (elt)->link.prev = (type *)(-1); \ 30 (elt)->link.next = (type *)(-1); \ 32 #define INIT_LINK(elt, link) \ argument 33 INIT_LINK_TYPE(elt, link, void) 34 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ argument 35 (void *)((elt)->link.next) != (void *)(-1)) 41 #define PREPEND(list, elt, link) \ argument 43 INSIST(!LINKED(elt, link));\ 45 (list).head->link.prev = (elt); \ [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | bitset.c | 123 bitset_add(bitset_t *b, uint_t elt) in bitset_add() argument 125 uint_t pos = (elt << b->bs_fanout); in bitset_add() 135 bitset_atomic_add(bitset_t *b, uint_t elt) in bitset_atomic_add() argument 137 uint_t pos = (elt << b->bs_fanout); in bitset_atomic_add() 148 bitset_atomic_test_and_add(bitset_t *b, uint_t elt) in bitset_atomic_test_and_add() argument 150 uint_t pos = (elt << b->bs_fanout); in bitset_atomic_test_and_add() 163 bitset_del(bitset_t *b, uint_t elt) in bitset_del() argument 165 uint_t pos = (elt << b->bs_fanout); in bitset_del() 175 bitset_atomic_del(bitset_t *b, uint_t elt) in bitset_atomic_del() argument 177 uint_t pos = (elt << b->bs_fanout); in bitset_atomic_del() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | db_shash.h | 33 #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 D | heap.c | 102 float_up(heap_context ctx, int i, void *elt) { in float_up() argument 106 i > 1 && ctx->higher_priority(elt, ctx->heap[p]); in float_up() 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 [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | secflags_dts.sh | 50 $(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 D | fake_shdr.c | 349 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 D | ses_ses.c | 726 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 D | cap.msg | 87 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 D | dyn.msg | 118 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 D | phdr.msg | 325 number of elements are moved from elt to dst_index.\n"
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | cddlchk.py | 80 def __contains__(self, elt): argument 81 return self.match(elt)
|
H A D | mapfilechk.py | 80 def __contains__(self, elt): argument 81 return self.match(elt)
|
H A D | git-pbchk.py | 112 for elt in p: 113 if elt[0] == '*': 114 if elt.endswith('(no branch)'): 116 return elt.split()[1]
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | util_machelf.c | 89 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 D | regnexec.c | 584 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 D | asn1_encode.c | 336 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 D | asn1_k_decode.c | 740 (*(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 D | dup_avl.c | 53 #define OFFSETOF(type, elt) ((size_t)(&((type *)NULL)->elt)) argument
|
/illumos-gate/usr/src/cmd/sgs/include/ |
H A D | elfedit.h | 874 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 D | svccfg_libscf.c | 11522 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() 11534 if (scf_snaplevel_get_instance_name(elt->sl, buf, 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 11601 elt = uu_list_prev(cur_levels, cur_elt); in lscf_unselect() 11602 if (elt == NULL) { in lscf_unselect() 11605 cur_elt = elt; in lscf_unselect() [all …]
|