Home
last modified time | relevance | path

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

12345678910>>...27

/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.c32 .dp = {
76 struct efi_device_path *efi_dp_next(const struct efi_device_path *dp) in efi_dp_next() argument
78 if (dp == NULL) in efi_dp_next()
80 if (dp->type == DEVICE_PATH_TYPE_END) in efi_dp_next()
82 dp = ((void *)dp) + dp->length; in efi_dp_next()
83 if (dp->type == DEVICE_PATH_TYPE_END) in efi_dp_next()
85 return (struct efi_device_path *)dp; in efi_dp_next()
128 static struct efi_device_path *shorten_path(struct efi_device_path *dp) in shorten_path() argument
130 while (dp) { in shorten_path()
136 if (EFI_DP_TYPE(dp, MESSAGING_DEVICE, MSG_USB_CLASS) || in shorten_path()
[all …]
Defi_device_path_to_text.c36 static char *dp_unknown(char *s, struct efi_device_path *dp) in dp_unknown() argument
38 s += sprintf(s, "UNKNOWN(%04x,%04x)", dp->type, dp->sub_type); in dp_unknown()
42 static char *dp_hardware(char *s, struct efi_device_path *dp) in dp_hardware() argument
44 switch (dp->sub_type) { in dp_hardware()
47 (struct efi_device_path_memory *)dp; in dp_hardware()
56 (struct efi_device_path_vendor *)dp; in dp_hardware()
61 s = dp_unknown(s, dp); in dp_hardware()
67 static char *dp_acpi(char *s, struct efi_device_path *dp) in dp_acpi() argument
69 switch (dp->sub_type) { in dp_acpi()
72 (struct efi_device_path_acpi_path *)dp; in dp_acpi()
[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 …]
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 …]
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 …]
/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/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/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/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/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/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/pdfium/core/fxcodec/jbig2/
DJBig2_Image.cpp394 uint8_t* dp = nullptr; in composeTo_opt2() local
402 dp = lineDst; in composeTo_opt2()
406 uint32_t tmp2 = JBIG2_GETDWORD(dp); in composeTo_opt2()
425 dp[0] = (uint8_t)(tmp >> 24); in composeTo_opt2()
426 dp[1] = (uint8_t)(tmp >> 16); in composeTo_opt2()
427 dp[2] = (uint8_t)(tmp >> 8); in composeTo_opt2()
428 dp[3] = (uint8_t)tmp; in composeTo_opt2()
430 dp += 4; in composeTo_opt2()
435 uint32_t tmp2 = JBIG2_GETDWORD(dp); in composeTo_opt2()
454 dp[0] = (uint8_t)(tmp >> 24); in composeTo_opt2()
[all …]
/external/ltp/testcases/network/nfsv4/locks/
Dlocktests.c102 struct dataPub dp; variable
150 fsize = dp.nclnt * (maxClients + 1); in validationResults()
166 fcntl(dp.fd, F_GETLK, &request); in validationResults()
178 P("Master opens %s\n", dp.fname); in initTest()
179 dp.fd = open(dp.fname, OPENFLAGS, MANDMODES); in initTest()
180 if (dp.fd < 0) { in initTest()
184 P("fd=%d\n", dp.fd); in initTest()
197 df->dp = &dp; in initClientFork()
200 dp.lclnt[i] = malloc(sizeof(int) * 2); in initClientFork()
201 if (pipe(dp.lclnt[i]) < 0) { in initClientFork()
[all …]
/external/python/cpython3/Modules/
D_dbmmodule.c57 dbmobject *dp; in newdbmobject() local
59 dp = PyObject_New(dbmobject, &Dbmtype); in newdbmobject()
60 if (dp == NULL) in newdbmobject()
62 dp->di_size = -1; in newdbmobject()
64 if ( (dp->di_dbm = dbm_open((char *)file, flags, mode)) == 0 ) { in newdbmobject()
66 Py_DECREF(dp); in newdbmobject()
69 return (PyObject *)dp; in newdbmobject()
75 dbm_dealloc(dbmobject *dp) in dbm_dealloc() argument
77 if ( dp->di_dbm ) in dbm_dealloc()
78 dbm_close(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 …]
/external/fec/
Ddotprod_sse2.c25 struct dotprod *dp; in initdp_sse2() local
31 dp = (struct dotprod *)calloc(1,sizeof(struct dotprod)); in initdp_sse2()
32 dp->len = len; in initdp_sse2()
39 posix_memalign((void **)&dp->coeffs[i],16,blksize); in initdp_sse2()
40 memset(dp->coeffs[i],0,blksize); in initdp_sse2()
42 dp->coeffs[i][j+i] = coeffs[j]; in initdp_sse2()
44 return (void *)dp; in initdp_sse2()
50 struct dotprod *dp = (struct dotprod *)p; in freedp_sse2() local
54 if(dp->coeffs[i] != NULL) in freedp_sse2()
55 free(dp->coeffs[i]); in freedp_sse2()
[all …]

12345678910>>...27