Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 25 of 261) sorted by relevance

1234567891011

/external/tcpdump/
Dprint-nfs.c199 parse_sattr3(const u_int32_t *dp, struct nfsv3_sattr *sa3) in parse_sattr3() argument
201 TCHECK(dp[0]); in parse_sattr3()
202 sa3->sa_modeset = EXTRACT_32BITS(dp); in parse_sattr3()
203 dp++; in parse_sattr3()
205 TCHECK(dp[0]); in parse_sattr3()
206 sa3->sa_mode = EXTRACT_32BITS(dp); in parse_sattr3()
207 dp++; in parse_sattr3()
210 TCHECK(dp[0]); in parse_sattr3()
211 sa3->sa_uidset = EXTRACT_32BITS(dp); in parse_sattr3()
212 dp++; in parse_sattr3()
[all …]
Dprint-icmp.c337 const struct icmp *dp; in icmp_print() local
351 dp = (struct icmp *)bp; in icmp_print()
356 TCHECK(dp->icmp_code); in icmp_print()
357 switch (dp->icmp_type) { in icmp_print()
361 TCHECK(dp->icmp_seq); in icmp_print()
363 dp->icmp_type == ICMP_ECHO ? in icmp_print()
365 EXTRACT_16BITS(&dp->icmp_id), in icmp_print()
366 EXTRACT_16BITS(&dp->icmp_seq)); in icmp_print()
370 TCHECK(dp->icmp_ip.ip_dst); in icmp_print()
371 switch (dp->icmp_code) { in icmp_print()
[all …]
Dprint-icmp6.c306 const struct icmp6_hdr *dp; in icmp6_print() local
314 dp = (struct icmp6_hdr *)bp; in icmp6_print()
316 oip = (struct ip6_hdr *)(dp + 1); in icmp6_print()
320 TCHECK(dp->icmp6_cksum); in icmp6_print()
326 udp_sum = EXTRACT_16BITS(&dp->icmp6_cksum); in icmp6_print()
327 sum = icmp6_cksum(ip, dp, length); in icmp6_print()
337 printf("ICMP6, %s", tok2str(icmp6_type_values,"unknown icmp6 type (%u)",dp->icmp6_type)); in icmp6_print()
340 if (vflag && (dp->icmp6_type == ND_ROUTER_SOLICIT || in icmp6_print()
341 dp->icmp6_type == ND_ROUTER_ADVERT || in icmp6_print()
342 dp->icmp6_type == ND_NEIGHBOR_ADVERT || in icmp6_print()
[all …]
Dprint-rt6.c46 register const struct ip6_rthdr *dp; in rt6_print() local
52 dp = (struct ip6_rthdr *)bp; in rt6_print()
53 len = dp->ip6r_len; in rt6_print()
58 TCHECK(dp->ip6r_segleft); in rt6_print()
60 printf("srcrt (len=%d", dp->ip6r_len); /*)*/ in rt6_print()
61 printf(", type=%d", dp->ip6r_type); in rt6_print()
62 printf(", segleft=%d", dp->ip6r_segleft); in rt6_print()
64 switch (dp->ip6r_type) { in rt6_print()
73 dp0 = (struct ip6_rthdr0 *)dp; in rt6_print()
/external/libunwind/src/ia64/
Dunwind_decoder.h107 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument
112 byte1 = *dp++; in unw_decode_x1()
113 t = unw_decode_uleb128 (&dp); in unw_decode_x1()
114 off = unw_decode_uleb128 (&dp); in unw_decode_x1()
120 return dp; in unw_decode_x1()
124 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument
129 byte1 = *dp++; byte2 = *dp++; in unw_decode_x2()
130 t = unw_decode_uleb128 (&dp); in unw_decode_x2()
138 return dp; in unw_decode_x2()
142 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument
[all …]
/external/libpng/contrib/libtests/
Dpngimage.c545 display_init(struct display *dp) in display_init() argument
551 memset(dp, 0, sizeof *dp); in display_init()
552 dp->options = WARNINGS; /* default to !verbose, !quiet */ in display_init()
553 dp->filename = NULL; in display_init()
554 dp->operation = NULL; in display_init()
555 dp->original_pp = NULL; in display_init()
556 dp->original_ip = NULL; in display_init()
557 dp->original_rows = NULL; in display_init()
558 dp->read_pp = NULL; in display_init()
559 dp->read_ip = NULL; in display_init()
[all …]
/external/libpng/
Dpngwtran.c36 png_bytep sp, dp; in png_do_pack() local
42 dp = row; in png_do_pack()
59 *dp = (png_byte)v; in png_do_pack()
60 dp++; in png_do_pack()
66 *dp = (png_byte)v; in png_do_pack()
73 png_bytep sp, dp; in png_do_pack() local
79 dp = row; in png_do_pack()
93 *dp = (png_byte)v; in png_do_pack()
94 dp++; in png_do_pack()
105 *dp = (png_byte)v; in png_do_pack()
[all …]
Dpngrtran.c2148 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() local
2152 *dp = (png_byte)((*sp >> shift) & 0x01); in png_do_unpack()
2163 dp--; in png_do_unpack()
2172 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() local
2176 *dp = (png_byte)((*sp >> shift) & 0x03); in png_do_unpack()
2187 dp--; in png_do_unpack()
2195 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() local
2199 *dp = (png_byte)((*sp >> shift) & 0x0f); in png_do_unpack()
2210 dp--; in png_do_unpack()
2378 png_bytep dp = row; /* destination */ in png_do_scale_16_to_8() local
[all …]
/external/e2fsprogs/intl/
Dvasnprintf.c139 DIRECTIVE *dp; in VASNPRINTF() local
207 for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) in VASNPRINTF()
209 if (cp != dp->dir_start) in VASNPRINTF()
211 size_t n = dp->dir_start - cp; in VASNPRINTF()
222 if (dp->conversion == '%') in VASNPRINTF()
226 if (!(dp->arg_index == ARG_NONE)) in VASNPRINTF()
235 if (!(dp->arg_index != ARG_NONE)) in VASNPRINTF()
238 if (dp->conversion == 'n') in VASNPRINTF()
240 switch (a.arg[dp->arg_index].type) in VASNPRINTF()
243 *a.arg[dp->arg_index].a.a_count_schar_pointer = length; in VASNPRINTF()
[all …]
Dprintf-parse.c121 DIRECTIVE *dp = &d->dir[d->count];/* pointer to next directive */ in PRINTF_PARSE() local
124 dp->dir_start = cp - 1; in PRINTF_PARSE()
125 dp->flags = 0; in PRINTF_PARSE()
126 dp->width_start = NULL; in PRINTF_PARSE()
127 dp->width_end = NULL; in PRINTF_PARSE()
128 dp->width_arg_index = ARG_NONE; in PRINTF_PARSE()
129 dp->precision_start = NULL; in PRINTF_PARSE()
130 dp->precision_end = NULL; in PRINTF_PARSE()
131 dp->precision_arg_index = ARG_NONE; in PRINTF_PARSE()
132 dp->arg_index = ARG_NONE; in PRINTF_PARSE()
[all …]
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngwtran.c111 png_bytep sp, dp; in png_do_pack() local
117 dp = row; in png_do_pack()
134 *dp = (png_byte)v; in png_do_pack()
135 dp++; in png_do_pack()
141 *dp = (png_byte)v; in png_do_pack()
148 png_bytep sp, dp; in png_do_pack() local
154 dp = row; in png_do_pack()
168 *dp = (png_byte)v; in png_do_pack()
169 dp++; in png_do_pack()
180 *dp = (png_byte)v; in png_do_pack()
[all …]
Dfx_pngrtran.c2434 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() local
2438 *dp = (png_byte)((*sp >> shift) & 0x01); in png_do_unpack()
2449 dp--; in png_do_unpack()
2458 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() local
2462 *dp = (png_byte)((*sp >> shift) & 0x03); in png_do_unpack()
2473 dp--; in png_do_unpack()
2481 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack() local
2485 *dp = (png_byte)((*sp >> shift) & 0x0f); in png_do_unpack()
2496 dp--; in png_do_unpack()
2664 png_bytep dp = row; /* destination */ in png_do_scale_16_to_8() local
[all …]
/external/e2fsprogs/lib/ext2fs/
Dfinddev.c48 struct dir_list *dp; in add_to_dirlist() local
50 dp = malloc(sizeof(struct dir_list)); in add_to_dirlist()
51 if (!dp) in add_to_dirlist()
53 dp->name = malloc(strlen(name)+1); in add_to_dirlist()
54 if (!dp->name) { in add_to_dirlist()
55 free(dp); in add_to_dirlist()
58 strcpy(dp->name, name); in add_to_dirlist()
59 dp->next = *list; in add_to_dirlist()
60 *list = dp; in add_to_dirlist()
68 struct dir_list *dp, *next; in free_dirlist() local
[all …]
/external/bison/lib/
Dprintf-parse.c140 DIRECTIVE *dp = &d->dir[d->count]; /* pointer to next directive */ in PRINTF_PARSE() local
143 dp->dir_start = cp - 1; in PRINTF_PARSE()
144 dp->flags = 0; in PRINTF_PARSE()
145 dp->width_start = NULL; in PRINTF_PARSE()
146 dp->width_end = NULL; in PRINTF_PARSE()
147 dp->width_arg_index = ARG_NONE; in PRINTF_PARSE()
148 dp->precision_start = NULL; in PRINTF_PARSE()
149 dp->precision_end = NULL; in PRINTF_PARSE()
150 dp->precision_arg_index = ARG_NONE; in PRINTF_PARSE()
151 dp->arg_index = ARG_NONE; in PRINTF_PARSE()
[all …]
Dvasnprintf.c375 mp_limb_t *dp; in multiply() local
379 dp = (mp_limb_t *) malloc (dlen * sizeof (mp_limb_t)); in multiply()
380 if (dp == NULL) in multiply()
383 dp[--k] = 0; in multiply()
392 carry += dp[i + j]; in multiply()
393 dp[i + j] = (mp_limb_t) carry; in multiply()
396 dp[i + len2] = (mp_limb_t) carry; in multiply()
399 while (dlen > 0 && dp[dlen - 1] == 0) in multiply()
402 dest->limbs = dp; in multiply()
1802 DIRECTIVE *dp; in VASNPRINTF() local
[all …]
/external/libnl/lib/route/
Dnexthop.c107 static void nh_dump_line(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in nh_dump_line() argument
114 nl_dump(dp, "via"); in nh_dump_line()
117 nl_dump(dp, " %s", nl_addr2str(nh->rtnh_gateway, in nh_dump_line()
122 nl_dump(dp, " dev %s", in nh_dump_line()
127 nl_dump(dp, " dev %d", nh->rtnh_ifindex); in nh_dump_line()
130 nl_dump(dp, " "); in nh_dump_line()
133 static void nh_dump_details(struct rtnl_nexthop *nh, struct nl_dump_params *dp) in nh_dump_details() argument
140 nl_dump(dp, "nexthop"); in nh_dump_details()
143 nl_dump(dp, " via %s", nl_addr2str(nh->rtnh_gateway, in nh_dump_details()
148 nl_dump(dp, " dev %s", in nh_dump_details()
[all …]
/external/e2fsprogs/lib/blkid/
Ddevno.c64 struct dir_list *dp; in add_to_dirlist() local
66 dp = malloc(sizeof(struct dir_list)); in add_to_dirlist()
67 if (!dp) in add_to_dirlist()
69 dp->name = blkid_strdup(name); in add_to_dirlist()
70 if (!dp->name) { in add_to_dirlist()
71 free(dp); in add_to_dirlist()
74 dp->next = *list; in add_to_dirlist()
75 *list = dp; in add_to_dirlist()
83 struct dir_list *dp, *next; in free_dirlist() local
85 for (dp = *list; dp; dp = next) { in free_dirlist()
[all …]
/external/v8/test/mjsunit/
Daccessor-map-sharing.js31 var dp = Object.defineProperty;
42 dp(obj1, "alpha", { get: getter });
44 dp(obj2, "alpha", { get: getter });
58 dp(obj1, "charlie", { set: setter });
60 dp(obj2, "charlie", { set: setter });
74 dp(obj1, "foxtrot", { get: getter, set: setter });
76 dp(obj2, "foxtrot", { get: getter, set: setter });
81 dp(obj1, "golf", { get: getter, configurable: true });
82 dp(obj1, "golf", { set: setter, configurable: true });
84 dp(obj2, "golf", { get: getter, configurable: true });
[all …]
/external/kernel-headers/original/uapi/linux/
Dppp-comp.h35 #define CCP_CODE(dp) ((dp)[0]) argument
36 #define CCP_ID(dp) ((dp)[1]) argument
37 #define CCP_LENGTH(dp) (((dp)[2] << 8) + (dp)[3]) argument
40 #define CCP_OPT_CODE(dp) ((dp)[0]) argument
41 #define CCP_OPT_LENGTH(dp) ((dp)[1]) argument
/external/openssh/openbsd-compat/
Dgetcwd.c47 #define ISDOT(dp) \ argument
48 (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \
49 (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
54 struct dirent *dp; in getcwd() local
162 if (!(dp = readdir(dir))) in getcwd()
164 if (dp->d_fileno == ino) in getcwd()
169 if (!(dp = readdir(dir))) in getcwd()
171 if (ISDOT(dp)) in getcwd()
173 memcpy(bup, dp->d_name, dp->d_namlen + 1); in getcwd()
190 if (bpt - pt < dp->d_namlen + (first ? 1 : 2)) { in getcwd()
[all …]
/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_Image.cpp799 FX_BYTE *lineSrc = NULL, *lineDst = NULL, *sp = NULL, *dp = NULL; in composeTo_opt2() local
944 dp = lineDst; in composeTo_opt2()
947 tmp2 = JBIG2_GETDWORD(dp); in composeTo_opt2()
965 dp[0] = (FX_BYTE)(tmp >> 24); in composeTo_opt2()
966 dp[1] = (FX_BYTE)(tmp >> 16); in composeTo_opt2()
967 dp[2] = (FX_BYTE)(tmp >> 8); in composeTo_opt2()
968 dp[3] = (FX_BYTE)tmp; in composeTo_opt2()
970 dp += 4; in composeTo_opt2()
974 tmp2 = JBIG2_GETDWORD(dp); in composeTo_opt2()
992 dp[0] = (FX_BYTE)(tmp >> 24); in composeTo_opt2()
[all …]
/external/llvm/test/CodeGen/XCore/
Dglobals.ll6 ; CHECK: ldaw r0, dp[G1]
13 ; CHECK: ldaw r0, dp[G2]
20 ; CHECK: ldaw r0, dp[G3]
35 ; CHECK: ldaw r0, dp[G4]
42 ; CHECK: ldaw r0, dp[G5]
57 ; CHECK: ldaw r0, dp[G6]
64 ; CHECK: ldaw r0, dp[G7]
79 ; CHECK: ldaw r0, dp[G8]
84 ; CHECK: .section .dp.data,"awd",@progbits
88 ; CHECK: .section .dp.bss,"awd",@nobits
[all …]
/external/mksh/src/
Deval.c159 char *dp = null; in evalstr() local
164 dp = *XPptrv(w); in evalstr()
166 return (dp); in evalstr()
224 char *dp; in expand() local
260 Xinit(ds, dp, 128, ATEMP); in expand()
275 Xcheck(ds, dp); in expand()
317 *dp++ = '$'; in expand()
318 *dp++ = c == COMSUB ? '(' : '{'; in expand()
320 *dp++ = c == FUNSUB ? ' ' : '|'; in expand()
322 Xcheck(ds, dp); in expand()
[all …]
/external/ppp/pppd/include/net/
Dppp-comp.h125 #define CCP_CODE(dp) ((dp)[0]) argument
126 #define CCP_ID(dp) ((dp)[1]) argument
127 #define CCP_LENGTH(dp) (((dp)[2] << 8) + (dp)[3]) argument
130 #define CCP_OPT_CODE(dp) ((dp)[0]) argument
131 #define CCP_OPT_LENGTH(dp) ((dp)[1]) argument
/external/wpa_supplicant_8/src/tls/
Dlibtommath.c128 mp_digit *dp; member
134 #define mp_iseven(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 0)) ? MP_YES : MP_NO)
135 #define mp_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO)
256 tmpa = a->dp; in s_mp_add()
259 tmpb = b->dp; in s_mp_add()
262 tmpc = c->dp; in s_mp_add()
283 *tmpc = x->dp[i] + u; in s_mp_add()
330 tmpa = a->dp; in s_mp_sub()
331 tmpb = b->dp; in s_mp_sub()
332 tmpc = c->dp; in s_mp_sub()
[all …]

1234567891011