HomeSort by: relevance | last modified time | path
    Searched refs:ptr (Results 1 - 25 of 969) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/tests/usr.bin/xlint/lint1/
msg_110.c 10 call_take(int (*ptr)(int))
13 ptr++;
16 ptr + 1;
msg_133.c 9 to_char(void *ptr)
12 return (char)ptr;
msg_146.c 9 example(void *ptr)
12 return sizeof(*ptr);
msg_147.c 13 call_take(int (*ptr)(int))
16 take((int(int))ptr);
msg_167.c 9 example(int *ptr)
20 ptr[-3] = 13;
msg_154.c 11 example(int *ptr)
14 sink_int(ptr);
msg_132_lp64.c 12 const char *ptr; variable in typeref:typename:const char *
18 return (unsigned long)(ptr) >> 12;
25 u32 = ptr + 3 - ptr;
msg_136.c 12 example(const struct incomplete *ptr)
15 return ptr + 5;
msg_112.c 13 void *ptr = &s.bit_field; variable in typeref:typename:void *
gcc_builtin_alloca.c 16 char *ptr = __builtin_alloca(8); local in function:example
17 ptr[4] = '4';
msg_126.c 10 example(int i, void *ptr, double dbl, void (*return_void)(void))
13 i = i > 0 ? ptr : dbl;
15 ptr = i > 0 ? ptr : (void *)0;
17 ptr = i > 0 ? ptr : 0;
msg_128.c 8 char *ptr; variable in typeref:typename:char *
19 ptr = cvptr;
26 ptr = cviptr;
  /src/sys/dev/videomode/
edidreg.h 60 #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)[14] << 8) +
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/include/
atom-bits.h 30 static inline uint8_t get_u8(void *bios, int ptr)
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)
38 return get_u8(bios ,ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8);
40 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/radeon/
atom-bits.h 30 static inline uint8_t get_u8(void *bios, int ptr)
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)
38 return get_u8(bios ,ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8);
40 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)
    [all...]
  /src/sys/external/bsd/common/include/linux/
err.h 57 PTR_ERR(const void *ptr)
59 KASSERT(ptr == (void *)(intptr_t)(long)(intptr_t)ptr); /* XXX Hurk! */
60 return (long)(intptr_t)ptr;
64 IS_ERR(const void *ptr)
66 return IS_ERR_VALUE((uintptr_t)ptr);
70 IS_ERR_OR_NULL(const void *ptr)
72 return ((ptr == NULL) || IS_ERR(ptr));
76 ERR_CAST(void *ptr) /* XXX Linux declares with const. *
    [all...]
  /src/usr.sbin/mrouted/
callout.c 49 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->time --
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/
byteorder.c 46 bytenetorder(struct tsp *ptr)
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)
67 ptr->tsp_seq = ntohs((uint16_t)ptr->tsp_seq)
    [all...]
  /src/games/hack/
alloc.c 76 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/
bootconfig.c 57 * 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/
table.c 87 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->request.r_name) == 0 &
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
    [all...]
  /src/sys/arch/mvme68k/stand/libsa/
parse_args.c 43 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[2])
    [all...]
  /src/sys/arch/mvmeppc/stand/libsa/
parse_args.c 43 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[2])
    [all...]
  /src/sys/arch/alpha/alpha/
dec_2100_a50.c 125 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->hier)
    [all...]
  /src/bin/csh/
alloc.c 53 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 23 milliseconds

1 2 3 4 5 6 7 8 91011>>