Searched refs:ptr (Results 1 - 25 of 968) sorted by relevance

1234567891011>>

/src/tests/usr.bin/xlint/lint1/
H A Dmsg_110.c10 call_take(int (*ptr)(int)) argument
13 ptr++;
16 ptr + 1;
H A Dmsg_133.c9 to_char(void *ptr) argument
12 return (char)ptr;
H A Dmsg_146.c9 example(void *ptr) argument
12 return sizeof(*ptr);
H A Dmsg_147.c13 call_take(int (*ptr)(int)) argument
16 take((int(int))ptr);
H A Dmsg_154.c11 example(int *ptr) argument
14 sink_int(ptr);
H A Dmsg_167.c9 example(int *ptr) argument
20 ptr[-3] = 13;
H A Dmsg_132_lp64.c12 const char *ptr; variable in typeref:typename:const char *
18 return (unsigned long)(ptr) >> 12;
25 u32 = ptr + 3 - ptr;
H A Dmsg_136.c12 example(const struct incomplete *ptr) argument
15 return ptr + 5;
H A Dmsg_112.c13 void *ptr = &s.bit_field; variable in typeref:typename:void *
H A Dgcc_builtin_alloca.c16 char *ptr = __builtin_alloca(8); local in function:example
17 ptr[4] = '4';
H A Dmsg_126.c10 example(int i, void *ptr, double dbl, void (*return_void)(void)) argument
13 i = i > 0 ? ptr : dbl;
15 ptr = i > 0 ? ptr : (void *)0;
17 ptr = i > 0 ? ptr : 0;
H A Dmsg_128.c8 char *ptr; variable in typeref:typename:char *
19 ptr = cvptr;
26 ptr = cviptr;
/src/sys/dev/videomode/
H A Dedidreg.h60 #define EDID_VENDOR_ID(ptr) ((((ptr)[8]) << 8) + ptr[9])
66 #define EDID_PRODUCT_ID(ptr) (((ptr)[10]) | (((ptr)[11]) << 8))
67 #define EDID_SERIAL_NUMBER(ptr) (((ptr)[12] << 24) + \
68 ((ptr)[13] << 16) + \
69 ((ptr)[1
[all...]
/src/sys/external/bsd/drm2/dist/drm/radeon/
H A Datom-bits.h30 static inline uint8_t get_u8(void *bios, int ptr) argument
32 return ((unsigned char *)bios)[ptr];
34 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr))
35 #define CU8(ptr) get_u8(ctx->bios, (ptr))
36 static inline uint16_t get_u16(void *bios, int ptr) argument
38 return get_u8(bios ,ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8);
40 #define U16(ptr) get_u1
42 get_u32(void * bios,int ptr) argument
[all...]
/src/sys/external/bsd/drm2/dist/drm/amd/include/
H A Datom-bits.h30 static inline uint8_t get_u8(void *bios, int ptr) argument
32 return ((unsigned char *)bios)[ptr];
34 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr))
35 #define CU8(ptr) get_u8(ctx->bios, (ptr))
36 static inline uint16_t get_u16(void *bios, int ptr) argument
38 return get_u8(bios ,ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8);
40 #define U16(ptr) get_u1
42 get_u32(void * bios,int ptr) argument
[all...]
/src/sys/external/bsd/common/include/linux/
H A Derr.h57 PTR_ERR(const void *ptr) argument
59 KASSERT(ptr == (void *)(intptr_t)(long)(intptr_t)ptr); /* XXX Hurk! */
60 return (long)(intptr_t)ptr;
64 IS_ERR(const void *ptr) argument
66 return IS_ERR_VALUE((uintptr_t)ptr);
70 IS_ERR_OR_NULL(const void *ptr) argument
72 return ((ptr == NULL) || IS_ERR(ptr));
76 ERR_CAST(void *ptr) /* XX argument
82 PTR_ERR_OR_ZERO(const void * ptr) argument
[all...]
/src/usr.sbin/mrouted/
H A Dcallout.c49 struct timeout_q *ptr; local in function:age_callout_queue
55 ptr = Q;
57 while (ptr) {
58 if (!ptr->time) {
63 if (ptr->func)
64 ptr->func(ptr->data);
67 free(ptr);
68 ptr = Q;
71 ptr
93 struct timeout_q *ptr, *node, *prev; local in function:timer_setTimer
156 struct timeout_q *ptr, *prev; local in function:timer_clearTimer
207 struct timeout_q *ptr; local in function:print_Q
217 struct timeout_q *ptr; local in function:secs_remaining
[all...]
/src/usr.sbin/timed/timed/
H A Dbyteorder.c46 bytenetorder(struct tsp *ptr) argument
48 ptr->tsp_seq = htons((uint16_t)ptr->tsp_seq);
49 switch (ptr->tsp_type) {
55 ptr->tsp_time.tv_sec = htonl((uint32_t)ptr->tsp_time.tv_sec);
56 ptr->tsp_time.tv_usec = htonl((uint32_t)ptr->tsp_time.tv_usec);
65 bytehostorder(struct tsp *ptr) argument
67 ptr
[all...]
/src/games/hack/
H A Dalloc.c76 void *ptr; local in function:alloc
78 ptr = malloc(len);
79 if (ptr == NULL)
81 return ptr;
86 enlarge(char *ptr, unsigned lth)
90 if (!(nptr = realloc(ptr, lth)))
/src/sys/arch/arm/arm/
H A Dbootconfig.c57 * get_bootconf_option("cow=moo milk=1", "moo", BOOTOPT_TYPE_STRING, &ptr)
58 * will return ptr of "moo milk=1", *not* "moo"
64 char *ptr; local in function:get_bootconf_option
68 ptr = opts;
70 while (*ptr) {
72 while (*ptr == ' ' || *ptr == '\t')
73 ++ptr;
75 if (*ptr == 0)
82 *ptr
[all...]
/src/libexec/talkd/
H A Dtable.c87 TABLE_ENTRY *ptr; local in function:find_match
94 for (ptr = table; ptr != NIL; ptr = ptr->next) {
95 if ((ptr->time - current_time) > MAX_LIFE) {
99 &ptr->request);
100 delete(ptr);
104 print_request("", &ptr->request);
105 if (strcmp(request->l_name, ptr
120 TABLE_ENTRY *ptr; local in function:find_request
157 TABLE_ENTRY *ptr; local in function:insert_table
200 TABLE_ENTRY *ptr; local in function:delete_invite
221 delete(TABLE_ENTRY * ptr) argument
[all...]
/src/sys/arch/mvme68k/stand/libsa/
H A Dparse_args.c43 char *name = KERNEL_NAME, *ptr; local in function:parse_args
48 ptr = bugargs.arg_start;
49 while ((c = *ptr)) {
51 c = *++ptr;
55 if (ptr[1] == ':') {
56 part = (int) (*ptr - 'A');
61 if (ptr[2] == ' ' || ptr[2] == '\0') {
62 ptr += 2;
65 name = &(ptr[
[all...]
/src/sys/arch/mvmeppc/stand/libsa/
H A Dparse_args.c43 char *ptr; local in function:parse_args
48 ptr = astart;
49 while ((c = *ptr)) {
51 c = *++ptr;
55 if (ptr[1] == ':') {
56 part = (int) (*ptr - 'A');
61 if (ptr[2] == ' ' || ptr[2] == '\0') {
62 ptr += 2;
65 name = &(ptr[
[all...]
/src/sys/arch/alpha/alpha/
H A Ddec_2100_a50.c125 mc_uc_avanti *ptr; local in function:dec_2100_a50_mcheck
137 ptr = (mc_uc_avanti *) (logout + sizeof (*hdr));
145 ptr->paltemp[i], ptr->paltemp[i+1]);
147 printf(fmt1, "Excepting Instruction Addr", ptr->exc_addr);
148 printf(fmt1, "Summary of arithmetic traps", ptr->exc_sum);
149 printf(fmt1, "Exception mask", ptr->exc_mask);
150 printf(fmt1, "ICCSR", ptr->iccsr);
151 printf(fmt1, "Base address for PALcode", ptr->pal_base);
152 printf(fmt1, "HIER", ptr
[all...]
/src/bin/csh/
H A Dalloc.c53 void *ptr; local in function:Malloc
55 if ((ptr = malloc(n)) == NULL) {
59 return (ptr);
65 void *ptr; local in function:Realloc
67 if ((ptr = realloc(p, n)) == NULL) {
71 return (ptr);
77 void *ptr = p; local in function:Reallocarray
79 if (reallocarr(&ptr, n, sz) != 0) {
84 return (ptr);
90 void *ptr; local in function:Calloc
[all...]

Completed in 25 milliseconds

1234567891011>>