Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 1180) sorted by relevance

12345678910>>...48

/illumos-gate/usr/src/tools/smatch/src/
H A Dptrlist.h14 #define CHECK_TYPE(head,ptr) (void)(&(ptr) == &(head)->list[0]) argument
59 #define add_ptr_list(list, ptr) ({ \ argument
64 #define add_ptr_list_tag(list, ptr, tag) ({ \ argument
79 #define PREPARE_PTR_LIST(head, ptr) \ argument
82 #define NEXT_PTR_LIST(ptr) \ argument
85 #define RESET_PTR_LIST(ptr) \ argument
88 #define FINISH_PTR_LIST(ptr) \ argument
91 #define RECURSE_PTR_REVERSE(ptr, new) \ argument
96 #define FOR_EACH_PTR(head, ptr) \ argument
99 #define FOR_EACH_PTR_TAG(head, ptr) \ argument
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal.h38 #define NOOFKEYS(ptr) ((ptr[10]<<8) | ptr[11]) argument
40 #define PRINCIPALLEN(ptr) ((ptr[0]<<8) | ptr[1]) argument
41 #define PRINCIPALNAME(ptr) (ptr + KEYHEADER + (NOOFKEYS(ptr) *8)) argument
43 #define KEYBODY(ptr) PRINCIPALNAME(ptr) + PRINCIPALLEN(ptr) argument
45 #define PKEYVER(ptr) ((ptr[2]<<8) | ptr[3]) argument
46 #define MKEYVER(ptr) ((ptr[4]<<8) | ptr[5]) argument
48 #define KEYTYPE(ptr,j) ((ptr[KEYHEADER+(j*8)]<<8) | ptr[KEYHEADER+1+(j*8)]) argument
49 #define KEYLENGTH(ptr,j) ((ptr[KEYHEADER+2+(j*8)]<<8) | ptr[KEYHEADER+3+(j*8)]) argument
50 #define SALTTYPE(ptr,j) ((ptr[KEYHEADER+4+(j*8)]<<8) | ptr[KEYHEADER+5+(j*8)]) argument
51 #define SALTLENGTH(ptr,j) ((ptr[KEYHEADER+6+(j*8)]<<8) | ptr[KEYHEADER+7+(j*8)]) argument
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dalloc.h48 #define REALLOC(ptr, nbytes) alloc_realloc(ptr, nbytes, __FILE__, __LINE__) argument
49 #define FREE(ptr) alloc_free(ptr, __FILE__, __LINE__) argument
50 #define STRDUP(ptr) alloc_strdup(ptr, __FILE__, __LINE__) argument
55 #define REALLOC(ptr, nbytes) alloc_realloc(ptr, nbytes, "???", __LINE__) argument
56 #define FREE(ptr) alloc_free(ptr, "???", __LINE__) argument
57 #define STRDUP(ptr) alloc_strdup(ptr, "???", __LINE__) argument
H A Dalloc.c90 alloc_realloc(void *ptr, size_t nbytes, const char *fname, int line) in alloc_realloc()
106 alloc_strdup(const char *ptr, const char *fname, int line) in alloc_strdup()
123 alloc_free(void *ptr, const char *fname, int line) in alloc_free()
149 alloc_xfree(void *ptr, size_t size) in alloc_xfree()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Ddnssd_ipc.c59 void put_uint32(const uint32_t l, char **ptr) in put_uint32()
68 uint32_t get_uint32(const char **ptr, const char *end) in get_uint32()
83 void put_uint16(uint16_t s, char **ptr) in put_uint16()
90 uint16_t get_uint16(const char **ptr, const char *end) in get_uint16()
105 int put_string(const char *str, char **ptr) in put_string()
115 int get_string(const char **ptr, const char *const end, char *buffer, int buflen) in get_string()
137 void put_rdata(const int rdlen, const unsigned char *rdata, char **ptr) in put_rdata()
143 const char *get_rdata(const char **ptr, const char *end, int rdlen) in get_rdata()
164 void put_tlv16(const uint16_t type, const uint16_t length, const uint8_t *value, char **ptr) in put_tlv16()
/illumos-gate/usr/src/cmd/mandoc/
H A Dmandoc_aux.c52 void *ptr; in mandoc_calloc() local
63 void *ptr; in mandoc_malloc() local
72 mandoc_realloc(void *ptr, size_t size) in mandoc_realloc()
81 mandoc_reallocarray(void *ptr, size_t num, size_t size) in mandoc_reallocarray()
90 mandoc_recallocarray(void *ptr, size_t oldnum, size_t num, size_t size) in mandoc_recallocarray()
99 mandoc_strdup(const char *ptr) in mandoc_strdup()
110 mandoc_strndup(const char *ptr, size_t sz) in mandoc_strndup()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dheap.c97 void *ptr; local
123 void *ptr; local
143 sm_realloc(ptr, size) in sm_realloc() argument
170 sm_realloc_x(ptr, size) in sm_realloc_x() argument
194 sm_free(ptr) in sm_free() argument
365 void *ptr; local
419 void *ptr; local
470 sm_heap_register(ptr, size, tag, num, group) in sm_heap_register() argument
523 sm_realloc(ptr, size) in sm_realloc() argument
591 sm_realloc_x(ptr, size) in sm_realloc_x() argument
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dtypeof-mods.c8 unsigned int obj, *ptr; in test_spec() local
22 const int obj, *ptr; in test_const() local
34 volatile int obj, *ptr; in test_volatile() local
48 int *restrict obj, *restrict *ptr; in test_restrict() local
62 int _Atomic obj, *ptr; in test_atomic() local
77 type_t obj, *ptr; in test_bitwise() local
91 static int obj, *ptr; in test_static() local
105 __thread int obj, *ptr; in test_tls() local
119 int __nocast obj, *ptr; in test_nocast() local
H A DWaddress.c5 int test_address(int arg, int ptr[]) in test_address()
26 int test_address_not(int arg, int ptr[]) in test_address_not()
47 int test_address_cmp(int arg, int ptr[]) in test_address_cmp()
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dheap.h33 # define sm_free(ptr) sm_free_tagged(ptr, __FILE__, __LINE__) argument
46 # define sm_free_tagged(ptr, file, line) sm_free(ptr) argument
47 # define sm_heap_register(ptr, size, file, line, grp) (true) argument
48 # define sm_heap_checkptr_tagged(ptr, tag, num) ((void)0) argument
59 # define sm_heap_checkptr(ptr) sm_heap_checkptr_tagged(ptr, __FILE__, __LINE__) argument
94 #define SM_FREE(ptr) \ argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dtable.c80 TABLE_ENTRY *ptr; in find_match() local
131 TABLE_ENTRY *ptr; in find_request() local
186 TABLE_ENTRY *ptr; in insert_table() local
239 TABLE_ENTRY *ptr; in delete_invite() local
265 delete(TABLE_ENTRY *ptr) in delete()
/illumos-gate/usr/src/lib/libzfsbootenv/common/
H A Dlzbe_pair.c28 lzbe_nvlist_get(const char *pool, const char *key, void **ptr) in lzbe_nvlist_get()
75 lzbe_nvlist_set(const char *pool, const char *key, void *ptr) in lzbe_nvlist_set()
132 lzbe_nvlist_free(void *ptr) in lzbe_nvlist_free()
183 lzbe_add_pair(void *ptr, const char *key, const char *type, void *value, in lzbe_add_pair()
344 lzbe_remove_pair(void *ptr, const char *key) in lzbe_remove_pair()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dalloc.c100 void *ptr; in initial_allocation() local
187 void *ptr; in lmalloc() local
271 lfree(void *ptr, size_t size) in lfree()
348 private_header_t *ptr; in libc_malloc() local
360 private_header_t *ptr; in libc_realloc() local
381 private_header_t *ptr; in libc_free() local
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_alloc.c75 smb_mem_realloc(void *ptr, size_t size) in smb_mem_realloc()
88 smb_mem_rezalloc(void *ptr, size_t size) in smb_mem_rezalloc()
98 smb_mem_free(void *ptr) in smb_mem_free()
109 smb_mem_zfree(void *ptr) in smb_mem_zfree()
118 smb_mem_strdup(const char *ptr) in smb_mem_strdup()
253 smb_free(smb_request_t *sr, void *ptr, boolean_t zero) in smb_free()
285 smb_realloc(smb_request_t *sr, void *ptr, size_t size, boolean_t zero) in smb_realloc()
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dstringlib.c21 register char *ptr; in Chop() local
37 register char *ptr; in Chomp() local
54 register char *ptr; in Trim() local
H A Drules.c77 register char *ptr; in Uppercase() local
93 register char *ptr; in Lowercase() local
109 register char *ptr; in Capitalise() local
163 register char *ptr; in Substitute() local
179 register char *ptr; in Purge() local
315 register char *ptr; in PolySubst() local
331 register char *ptr; in PolyPurge() local
364 register char *ptr; in Mangle() local
/illumos-gate/usr/src/boot/common/
H A Dnvstore.c123 nvstore_print(void *ptr) in nvstore_print()
131 nvstore_get_var(void *ptr, const char *name, void **data) in nvstore_get_var()
139 nvstore_set_var(void *ptr, int type, const char *name, in nvstore_set_var()
148 nvstore_set_var_from_string(void *ptr, const char *type, const char *name, in nvstore_set_var_from_string()
157 nvstore_unset_var(void *ptr, const char *name) in nvstore_unset_var()
291 char *ptr = NULL; in command_nvstore() local
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dhash.c37 hash *ptr; in make_hash() local
51 hash *ptr; in make_ihash() local
201 operate_hash(hash *tbl, void (*ptr)(), const char *usr_arg) in operate_hash()
215 operate_hash_addr(hash *tbl, void (*ptr)(), const char *usr_arg) in operate_hash_addr()
229 destroy_hash(hash *tbl, int (*ptr)(), const char *usr_arg) in destroy_hash()
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/
H A Dmem_partial.c101 uint8_t *ptr = guest_mem + gpa; in main() local
114 uint8_t *ptr = guest_mem + gpa; in main() local
138 volatile uint8_t *ptr = guest_mem; in main() local
168 volatile uint8_t *ptr = guest_mem + UPPER_OFF; in main() local
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_umem.c134 mdb_umem_gc_enter(void *ptr, size_t nbytes) in mdb_umem_gc_enter()
169 void *ptr; in mdb_alloc_align() local
207 void *ptr = mdb_alloc(nbytes, flags); in mdb_zalloc() local
216 mdb_free(void *ptr, size_t nbytes) in mdb_free()
230 mdb_free_align(void *ptr, size_t nbytes) in mdb_free_align()
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_random.c251 rngprov_getbytes(uint8_t *ptr, size_t need, boolean_t is_taskq_thr) in rngprov_getbytes()
326 rngprov_getbytes_nblk(uint8_t *ptr, size_t len) in rngprov_getbytes_nblk()
466 rnd_get_bytes(uint8_t *ptr, size_t len, extract_type_t how) in rnd_get_bytes()
557 kcf_rnd_get_bytes(uint8_t *ptr, size_t len, boolean_t noblock) in kcf_rnd_get_bytes()
622 rnd_generate_pseudo_bytes(rndmag_pad_t *rmp, uint8_t *ptr, size_t len) in rnd_generate_pseudo_bytes()
758 kcf_rnd_get_pseudo_bytes(uint8_t *ptr, size_t len) in kcf_rnd_get_pseudo_bytes()
998 rndc_addbytes(uint8_t *ptr, size_t len) in rndc_addbytes()
1025 rndc_getbytes(uint8_t *ptr, size_t len) in rndc_getbytes()
1047 random_add_pseudo_entropy(uint8_t *ptr, size_t len, uint_t entropy_est) in random_add_pseudo_entropy()
1062 random_add_entropy(uint8_t *ptr, size_t len, uint_t entropy_est) in random_add_entropy()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A DgssapiP_generic.h72 #define TWRITE_INT(ptr, num, bigend) \ argument
79 #define TWRITE_INT16(ptr, num, bigend) \ argument
84 #define TREAD_INT(ptr, num, bigend) \ argument
91 #define TREAD_INT16(ptr, num, bigend) \ argument
96 #define TWRITE_STR(ptr, str, len) \ argument
100 #define TREAD_STR(ptr, str, len) \ argument
104 #define TWRITE_BUF(ptr, buf, bigend) \ argument
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_fb.c170 gfxp_fb_softc_free(gfxp_fb_softc_ptr_t ptr) in gfxp_fb_softc_free()
191 gfxp_fb_attach(dev_info_t *devi, ddi_attach_cmd_t cmd, gfxp_fb_softc_ptr_t ptr) in gfxp_fb_attach()
272 gfxp_fb_detach(dev_info_t *devi, ddi_detach_cmd_t cmd, gfxp_fb_softc_ptr_t ptr) in gfxp_fb_detach()
309 gfxp_fb_softc_ptr_t ptr) in gfxp_fb_open()
322 gfxp_fb_softc_ptr_t ptr) in gfxp_fb_close()
454 cred_t *cred, int *rval, gfxp_fb_softc_ptr_t ptr) in gfxp_fb_ioctl()
469 size_t len, size_t *maplen, uint_t model, void *ptr) in gfxp_fb_devmap()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_config.c583 __s_get_enum_value(ns_config_t *ptr, char *value, ParamIndexType i) in __s_get_enum_value()
657 __s_get_auth_name(ns_config_t *ptr, AuthType_t type) in __s_get_auth_name()
676 __s_get_security_name(ns_config_t *ptr, TlsType_t type) in __s_get_security_name()
694 __s_get_scope_name(ns_config_t *ptr, ScopeType_t type) in __s_get_scope_name()
726 __s_get_searchref_name(ns_config_t *ptr, SearchRef_t type) in __s_get_searchref_name()
759 __s_get_credlvl_name(ns_config_t *ptr, CredLevel_t type) in __s_get_credlvl_name()
775 destroy_param(ns_config_t *ptr, ParamIndexType type) in destroy_param()
831 destroy_config(ns_config_t *ptr) in destroy_config()
909 set_curr_config_global(ns_config_t *ptr) in set_curr_config_global()
935 set_curr_config(ns_config_t *ptr) in set_curr_config()
[all …]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DDNSCommon.c246 mDNSu8 *ptr = (mDNSu8 *)&x; in swap32() local
252 mDNSu8 *ptr = (mDNSu8 *)&x; in swap16() local
301 char *ptr = buffer; in GetRRDisplayString_rdb() local
618 const mDNSu8 *ptr; in CountLabels() local
640 mDNSu8 * ptr = name->c + DomainNameLength(name) - 1; // Find end of current name in AppendLiteralLabelString() local
663 mDNSu8 * ptr = name->c + DomainNameLength(name) - 1; // Find end of current name in AppendDNSNameString() local
706 mDNSu8 *ptr = name->c + DomainNameLength(name) - 1; in AppendDomainLabel() local
721 mDNSu8 * ptr = name->c + DomainNameLength(name) - 1; // Find end of current name in AppendDomainName() local
743 mDNSu8 * ptr = label->c + 1; // Where we're putting it in MakeDomainLabelFromLiteralString() local
763 mDNSexport char *ConvertDomainLabelToCString_withescape(const domainlabel *const label, char *ptr, … in ConvertDomainLabelToCString_withescape()
[all …]

12345678910>>...48