Home
last modified time | relevance | path

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

12345678910>>...28

/external/libpng/contrib/tools/
Dpngcp.c482 display_init(struct display *dp) in display_init() argument
488 memset(dp, 0, sizeof *dp); in display_init()
489 dp->operation = "internal error"; in display_init()
490 dp->filename = "command line"; in display_init()
491 dp->output_file = "no output file"; in display_init()
492 dp->options = WARNINGS; /* default to !verbose, !quiet */ in display_init()
493 dp->fp = NULL; in display_init()
494 dp->read_pp = NULL; in display_init()
495 dp->ip = NULL; in display_init()
496 dp->write_pp = NULL; in display_init()
[all …]
/external/tcpdump/
Dprint-nfs.c234 const uint32_t *dp, struct nfsv3_sattr *sa3) in parse_sattr3() argument
236 ND_TCHECK(dp[0]); in parse_sattr3()
237 sa3->sa_modeset = EXTRACT_32BITS(dp); in parse_sattr3()
238 dp++; in parse_sattr3()
240 ND_TCHECK(dp[0]); in parse_sattr3()
241 sa3->sa_mode = EXTRACT_32BITS(dp); in parse_sattr3()
242 dp++; in parse_sattr3()
245 ND_TCHECK(dp[0]); in parse_sattr3()
246 sa3->sa_uidset = EXTRACT_32BITS(dp); in parse_sattr3()
247 dp++; in parse_sattr3()
[all …]
Dprint-icmp.c334 const struct icmp *dp; in icmp_print() local
348 dp = (const struct icmp *)bp; in icmp_print()
353 ND_TCHECK(dp->icmp_code); in icmp_print()
354 switch (dp->icmp_type) { in icmp_print()
358 ND_TCHECK(dp->icmp_seq); in icmp_print()
360 dp->icmp_type == ICMP_ECHO ? in icmp_print()
362 EXTRACT_16BITS(&dp->icmp_id), in icmp_print()
363 EXTRACT_16BITS(&dp->icmp_seq)); in icmp_print()
367 ND_TCHECK(dp->icmp_ip.ip_dst); in icmp_print()
368 switch (dp->icmp_code) { in icmp_print()
[all …]
/external/libcups/cups/
Ddir.c72 cupsDirClose(cups_dir_t *dp) /* I - Directory pointer */ in cupsDirClose() argument
78 if (!dp) in cupsDirClose()
85 if (dp->dir != INVALID_HANDLE_VALUE) in cupsDirClose()
86 FindClose(dp->dir); in cupsDirClose()
92 free(dp); in cupsDirClose()
105 cups_dir_t *dp; /* Directory */ in cupsDirOpen() local
119 dp = (cups_dir_t *)calloc(1, sizeof(cups_dir_t)); in cupsDirOpen()
120 if (!dp) in cupsDirOpen()
127 dp->dir = INVALID_HANDLE_VALUE; in cupsDirOpen()
129 strlcpy(dp->directory, directory, sizeof(dp->directory)); in cupsDirOpen()
[all …]
/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/u-boot/lib/efi_loader/
Defi_device_path.c33 .dp = {
77 struct efi_device_path *efi_dp_next(const struct efi_device_path *dp) in efi_dp_next() argument
79 if (dp == NULL) in efi_dp_next()
81 if (dp->type == DEVICE_PATH_TYPE_END) in efi_dp_next()
83 dp = ((void *)dp) + dp->length; in efi_dp_next()
84 if (dp->type == DEVICE_PATH_TYPE_END) in efi_dp_next()
86 return (struct efi_device_path *)dp; in efi_dp_next()
130 static struct efi_device_path *shorten_path(struct efi_device_path *dp) in shorten_path() argument
132 while (dp) { in shorten_path()
138 if (EFI_DP_TYPE(dp, MESSAGING_DEVICE, MSG_USB_CLASS) || in shorten_path()
[all …]
Defi_device_path_to_text.c44 static char *dp_unknown(char *s, struct efi_device_path *dp) in dp_unknown() argument
46 s += sprintf(s, "UNKNOWN(%04x,%04x)", dp->type, dp->sub_type); in dp_unknown()
50 static char *dp_hardware(char *s, struct efi_device_path *dp) in dp_hardware() argument
52 switch (dp->sub_type) { in dp_hardware()
55 (struct efi_device_path_memory *)dp; in dp_hardware()
65 (struct efi_device_path_vendor *)dp; in dp_hardware()
68 n = (int)vdp->dp.length - sizeof(struct efi_device_path_vendor); in dp_hardware()
78 s = dp_unknown(s, dp); in dp_hardware()
84 static char *dp_acpi(char *s, struct efi_device_path *dp) in dp_acpi() argument
86 switch (dp->sub_type) { in dp_acpi()
[all …]
Defi_root_node.c32 struct efi_root_dp *dp; in efi_root_node_register() local
35 dp = calloc(1, sizeof(*dp)); in efi_root_node_register()
36 if (!dp) in efi_root_node_register()
40 dp->vendor.dp.type = DEVICE_PATH_TYPE_HARDWARE_DEVICE; in efi_root_node_register()
41 dp->vendor.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; in efi_root_node_register()
42 dp->vendor.dp.length = sizeof(struct efi_device_path_vendor); in efi_root_node_register()
43 dp->vendor.guid = efi_u_boot_guid; in efi_root_node_register()
46 dp->end.type = DEVICE_PATH_TYPE_END; in efi_root_node_register()
47 dp->end.sub_type = DEVICE_PATH_SUB_TYPE_END; in efi_root_node_register()
48 dp->end.length = sizeof(struct efi_device_path); in efi_root_node_register()
[all …]
/external/python/cpython2/Modules/
Dbsddbmodule.c57 bsddbobject *dp; in newdbhashobject() local
60 if ((dp = PyObject_New(bsddbobject, &Bsddbtype)) == NULL) in newdbhashobject()
74 dp->di_bsddb = dbopen(file, flags, mode, DB_HASH, &info); in newdbhashobject()
76 if (dp->di_bsddb == NULL) { in newdbhashobject()
79 dp->di_lock = NULL; in newdbhashobject()
81 Py_DECREF(dp); in newdbhashobject()
85 dp->di_size = -1; in newdbhashobject()
86 dp->di_type = DB_HASH; in newdbhashobject()
89 dp->di_lock = PyThread_allocate_lock(); in newdbhashobject()
90 if (dp->di_lock == NULL) { in newdbhashobject()
[all …]
Dgdbmmodule.c61 dbmobject *dp; in newdbmobject() local
63 dp = PyObject_New(dbmobject, &Dbmtype); in newdbmobject()
64 if (dp == NULL) in newdbmobject()
66 dp->di_size = -1; in newdbmobject()
68 if ((dp->di_dbm = gdbm_open(file, 0, flags, mode, NULL)) == 0) { in newdbmobject()
73 Py_DECREF(dp); in newdbmobject()
76 return (PyObject *)dp; in newdbmobject()
82 dbm_dealloc(register dbmobject *dp) in dbm_dealloc() argument
84 if (dp->di_dbm) in dbm_dealloc()
85 gdbm_close(dp->di_dbm); in dbm_dealloc()
[all …]
Ddbmmodule.c52 dbmobject *dp; in newdbmobject() local
54 dp = PyObject_New(dbmobject, &Dbmtype); in newdbmobject()
55 if (dp == NULL) in newdbmobject()
57 dp->di_size = -1; in newdbmobject()
58 if ( (dp->di_dbm = dbm_open(file, flags, mode)) == 0 ) { in newdbmobject()
60 Py_DECREF(dp); in newdbmobject()
63 return (PyObject *)dp; in newdbmobject()
69 dbm_dealloc(register dbmobject *dp) in dbm_dealloc() argument
71 if ( dp->di_dbm ) in dbm_dealloc()
72 dbm_close(dp->di_dbm); in dbm_dealloc()
[all …]
/external/libpng/contrib/libtests/
Dpngimage.c589 display_init(struct display *dp) in display_init() argument
595 memset(dp, 0, sizeof *dp); in display_init()
596 dp->options = WARNINGS; /* default to !verbose, !quiet */ in display_init()
597 dp->filename = NULL; in display_init()
598 dp->operation = NULL; in display_init()
599 dp->original_pp = NULL; in display_init()
600 dp->original_ip = NULL; in display_init()
601 dp->original_rows = NULL; in display_init()
602 dp->read_pp = NULL; in display_init()
603 dp->read_ip = NULL; in display_init()
[all …]
/external/u-boot/drivers/net/
Dne2000_base.c106 dp83902a_priv_data_t *dp = &nic; in dp83902a_init() local
114 base = dp->base; in dp83902a_init()
126 DP_IN(base, DP_P1_PAR0+i, dp->esa[i]); in dp83902a_init()
131 dp->esa[0], in dp83902a_init()
132 dp->esa[1], in dp83902a_init()
133 dp->esa[2], in dp83902a_init()
134 dp->esa[3], in dp83902a_init()
135 dp->esa[4], in dp83902a_init()
136 dp->esa[5] ); in dp83902a_init()
138 memcpy(enetaddr, dp->esa, 6); /* Use MAC from serial EEPROM */ in dp83902a_init()
[all …]
/external/pdfium/third_party/libpng16/
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
80 dp = row; in png_do_pack()
94 *dp = (png_byte)v; in png_do_pack()
95 dp++; in png_do_pack()
106 *dp = (png_byte)v; in png_do_pack()
[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
80 dp = row; in png_do_pack()
94 *dp = (png_byte)v; in png_do_pack()
95 dp++; in png_do_pack()
106 *dp = (png_byte)v; in png_do_pack()
[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/u-boot/drivers/video/tegra124/
Ddp.c41 static inline u32 tegra_dpaux_readl(struct tegra_dp_priv *dp, u32 reg) in tegra_dpaux_readl() argument
43 return readl((u32 *)dp->regs + reg); in tegra_dpaux_readl()
46 static inline void tegra_dpaux_writel(struct tegra_dp_priv *dp, u32 reg, in tegra_dpaux_writel() argument
49 writel(val, (u32 *)dp->regs + reg); in tegra_dpaux_writel()
52 static inline u32 tegra_dc_dpaux_poll_register(struct tegra_dp_priv *dp, in tegra_dc_dpaux_poll_register() argument
62 reg_val = tegra_dpaux_readl(dp, reg); in tegra_dc_dpaux_poll_register()
76 static inline int tegra_dpaux_wait_transaction(struct tegra_dp_priv *dp) in tegra_dpaux_wait_transaction() argument
80 if (tegra_dc_dpaux_poll_register(dp, DPAUX_DP_AUXCTL, in tegra_dpaux_wait_transaction()
90 static int tegra_dc_dpaux_write_chunk(struct tegra_dp_priv *dp, u32 cmd, in tegra_dc_dpaux_write_chunk() argument
114 tegra_dpaux_writel(dp, DPAUX_DP_AUXADDR, addr); in tegra_dc_dpaux_write_chunk()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dfinddev.c52 struct dir_list *dp; in add_to_dirlist() local
54 dp = malloc(sizeof(struct dir_list)); in add_to_dirlist()
55 if (!dp) in add_to_dirlist()
57 dp->name = malloc(strlen(name)+1); in add_to_dirlist()
58 if (!dp->name) { in add_to_dirlist()
59 free(dp); in add_to_dirlist()
62 strcpy(dp->name, name); in add_to_dirlist()
63 dp->next = *list; in add_to_dirlist()
64 *list = dp; in add_to_dirlist()
72 struct dir_list *dp, *next; in free_dirlist() local
[all …]
/external/u-boot/lib/
Dasn1_decoder.c68 size_t dp = *_dp, len, n; in asn1_find_indefinite_length() local
72 if (unlikely(datalen - dp < 2)) { in asn1_find_indefinite_length()
73 if (datalen == dp) in asn1_find_indefinite_length()
79 tag = data[dp++]; in asn1_find_indefinite_length()
82 if (data[dp++] != 0) in asn1_find_indefinite_length()
85 *_len = dp - *_dp; in asn1_find_indefinite_length()
86 *_dp = dp; in asn1_find_indefinite_length()
94 if (unlikely(datalen - dp < 2)) in asn1_find_indefinite_length()
96 tmp = data[dp++]; in asn1_find_indefinite_length()
101 len = data[dp++]; in asn1_find_indefinite_length()
[all …]
/external/mesa3d/src/intel/tools/tests/gen9/
Dsends.asm2dp data 1 MsgDesc: ( DC typed surface write, Surface = 1, SIMD16, Mask = 0x0) mlen 2 ex_mlen 4 rle…
4dp data 1 MsgDesc: ( DC typed surface write, Surface = 1, SIMD8, Mask = 0x0) mlen 2 ex_mlen 4 rlen…
6dp data 1 MsgDesc: ( DC typed surface write, Surface = 1, SIMD16, Mask = 0x0) mlen 2 ex_mlen 4 rle…
8dp data 1 MsgDesc: ( DC untyped atomic op, Surface = 1, SIMD8, or) mlen 1 ex_mlen 1 rlen 1 { align…
10dp data 1 MsgDesc: ( DC untyped atomic op, Surface = 1, SIMD16, or) mlen 2 ex_mlen 2 rlen 2 { alig…
12dp data 1 MsgDesc: ( DC untyped surface write, Surface = 254, SIMD16, Mask = 0xe) mlen 2 ex_mlen 2…
14dp data 1 MsgDesc: ( DC untyped atomic op, Surface = 254, SIMD16, add) mlen 2 ex_mlen 2 rlen 0 { a…
16dp data 1 MsgDesc: ( DC typed surface write, Surface = 2, SIMD16, Mask = 0x0) mlen 2 ex_mlen 4 rle…
18dp data 1 MsgDesc: ( DC typed surface write, Surface = 2, SIMD8, Mask = 0x0) mlen 2 ex_mlen 4 rlen…
20dp data 1 MsgDesc: ( DC untyped surface write, Surface = 1, SIMD8, Mask = 0x0) mlen 1 ex_mlen 4 rl…
[all …]
/external/e2fsprogs/lib/blkid/
Ddevno.c68 struct dir_list *dp; in add_to_dirlist() local
70 dp = malloc(sizeof(struct dir_list)); in add_to_dirlist()
71 if (!dp) in add_to_dirlist()
73 dp->name = blkid_strdup(name); in add_to_dirlist()
74 if (!dp->name) { in add_to_dirlist()
75 free(dp); in add_to_dirlist()
78 dp->next = *list; in add_to_dirlist()
79 *list = dp; in add_to_dirlist()
87 struct dir_list *dp, *next; in free_dirlist() local
89 for (dp = *list; dp; dp = next) { in free_dirlist()
[all …]
/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf.c32 u_char *dp; in sshbuf_tests() local
85 r = sshbuf_reserve(p1, 1, &dp); in sshbuf_tests()
87 ASSERT_PTR_NE(dp, NULL); in sshbuf_tests()
88 *dp = 0x11; in sshbuf_tests()
89 r = sshbuf_reserve(p1, 3, &dp); in sshbuf_tests()
91 ASSERT_PTR_NE(dp, NULL); in sshbuf_tests()
92 *dp++ = 0x22; in sshbuf_tests()
93 *dp++ = 0x33; in sshbuf_tests()
94 *dp++ = 0x44; in sshbuf_tests()
140 r = sshbuf_reserve(p1, 4, &dp); in sshbuf_tests()
[all …]
/external/python/cpython3/Modules/
D_dbmmodule.c58 dbmobject *dp; in newdbmobject() local
60 dp = PyObject_New(dbmobject, &Dbmtype); in newdbmobject()
61 if (dp == NULL) in newdbmobject()
63 dp->di_size = -1; in newdbmobject()
64 dp->flags = flags; in newdbmobject()
66 if ( (dp->di_dbm = dbm_open((char *)file, flags, mode)) == 0 ) { in newdbmobject()
68 Py_DECREF(dp); in newdbmobject()
71 return (PyObject *)dp; in newdbmobject()
77 dbm_dealloc(dbmobject *dp) in dbm_dealloc() argument
79 if ( dp->di_dbm ) in dbm_dealloc()
[all …]
/external/python/cpython2/Python/
Dstrtod.c70 register char *sp, *dp; in strtod() local
80 dp = buffer; in strtod()
81 *dp++ = '0'; *dp++ = '.'; in strtod()
82 buforg = dp, buflim = buffer+48; in strtod()
92 if (dp != buforg) { in strtod()
94 if (dp < buflim) *dp++ = c; in strtod()
103 if (dp < buflim) *dp++ = c; in strtod()
113 while (dp > buforg && dp[-1] == '0') --dp; in strtod()
114 if (dp == buforg) *dp++ = '0'; in strtod()
115 *dp = '\0'; in strtod()
[all …]

12345678910>>...28