/external/libcups/cups/ |
dir.c | 72 cupsDirClose(cups_dir_t *dp) /* I - Directory pointer */ 78 if (!dp) 85 if (dp->dir != INVALID_HANDLE_VALUE) 86 FindClose(dp->dir); 92 free(dp); 105 cups_dir_t *dp; /* Directory */ local 119 dp = (cups_dir_t *)calloc(1, sizeof(cups_dir_t)); 120 if (!dp) 127 dp->dir = INVALID_HANDLE_VALUE; 129 strlcpy(dp->directory, directory, sizeof(dp->directory)) 285 cups_dir_t *dp; \/* Directory *\/ local [all...] |
dir.h | 54 extern void cupsDirClose(cups_dir_t *dp) _CUPS_API_1_2; 56 extern cups_dentry_t *cupsDirRead(cups_dir_t *dp) _CUPS_API_1_2; 57 extern void cupsDirRewind(cups_dir_t *dp) _CUPS_API_1_2;
|
/external/fec/ |
dotprod_port.c | 17 struct dotprod *dp; local 23 dp = (struct dotprod *)calloc(1,sizeof(struct dotprod)); 24 dp->len = len; 27 dp->coeffs = (signed short *)calloc(len,sizeof(signed short)); 29 dp->coeffs[j] = coeffs[j]; 30 return (void *)dp; 36 struct dotprod *dp = (struct dotprod *)p; local 38 if(dp->coeffs != NULL) 39 free(dp->coeffs); 40 free(dp); 47 struct dotprod *dp = (struct dotprod *)p; local [all...] |
dotprod_sse2.c | 25 struct dotprod *dp; local 31 dp = (struct dotprod *)calloc(1,sizeof(struct dotprod)); 32 dp->len = len; 39 posix_memalign((void **)&dp->coeffs[i],16,blksize); 40 memset(dp->coeffs[i],0,blksize); 42 dp->coeffs[i][j+i] = coeffs[j]; 44 return (void *)dp; 50 struct dotprod *dp = (struct dotprod *)p; local 54 if(dp->coeffs[i] != NULL) 55 free(dp->coeffs[i]) 63 struct dotprod *dp = (struct dotprod *)p; local [all...] |
dotprod_mmx.c | 23 struct dotprod *dp; local 30 dp = (struct dotprod *)calloc(1,sizeof(struct dotprod)); 31 dp->len = len; 35 dp->coeffs[i] = (signed short *)calloc(1+(len+i-1)/4, 38 dp->coeffs[i][j+i] = coeffs[j]; 40 return (void *)dp; 46 struct dotprod *dp = (struct dotprod *)p; local 50 if(dp->coeffs[i] != NULL) 51 free(dp->coeffs[i]); 52 free(dp); 59 struct dotprod *dp = (struct dotprod *)p; local [all...] |
dotprod_av.c | 20 struct dotprod *dp; local 26 dp = (struct dotprod *)calloc(1,sizeof(struct dotprod)); 27 dp->len = len; 33 dp->coeffs[i] = calloc(1+(len+i-1)/8,sizeof(vector signed short)); 35 dp->coeffs[i][j+i] = coeffs[j]; 37 return (void *)dp; 43 struct dotprod *dp = (struct dotprod *)p; local 47 if(dp->coeffs[i] != NULL) 48 free(dp->coeffs[i]); 49 free(dp); 56 struct dotprod *dp = (struct dotprod *)p; local [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
dirent.h | 106 #define _DIRENT_ALIGN(dp) (sizeof((dp)->Size) - 1)
112 #define _DIRENT_NAMEOFF(dp) \
113 ((char *)(void *)&(dp)->FileName - (char *)(void *)dp)
121 #define _DIRENT_RECLEN(dp, namlen) \
122 ((_DIRENT_NAMEOFF(dp) + (namlen) + 1 + _DIRENT_ALIGN(dp)) & \
123 ~_DIRENT_ALIGN(dp))
125 #define _DIRENT_NAMELEN(dp) \
[all...] |
/external/libpng/contrib/tools/ |
pngcp.c | 482 display_init(struct display *dp) 488 memset(dp, 0, sizeof *dp); 489 dp->operation = "internal error"; 490 dp->filename = "command line"; 491 dp->output_file = "no output file"; 492 dp->options = WARNINGS; /* default to !verbose, !quiet */ 493 dp->fp = NULL; 494 dp->read_pp = NULL; 495 dp->ip = NULL 568 struct display *dp = (struct display*)png_get_error_ptr(pp); local 1688 struct display *dp = get_dp(pp); local 1698 struct display *dp = get_dp(pp); local 1730 struct display *dp = get_dp(pp); local 1886 struct display *dp = get_dp(pp); local [all...] |
/external/tcpdump/ |
print-nfs.c | 234 const uint32_t *dp, struct nfsv3_sattr *sa3) 236 ND_TCHECK(dp[0]); 237 sa3->sa_modeset = EXTRACT_32BITS(dp); 238 dp++; 240 ND_TCHECK(dp[0]); 241 sa3->sa_mode = EXTRACT_32BITS(dp); 242 dp++; 245 ND_TCHECK(dp[0]); 246 sa3->sa_uidset = EXTRACT_32BITS(dp); 247 dp++ 421 register const uint32_t *dp; local 526 register const uint32_t *dp; local 979 register const uint32_t *dp; local 1450 register const uint32_t *dp; local [all...] |
print-frag6.c | 38 register const struct ip6_frag *dp; local 41 dp = (const struct ip6_frag *)bp; 44 ND_TCHECK(*dp); 48 EXTRACT_32BITS(&dp->ip6f_ident), 49 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK, 54 EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK, 60 if ((EXTRACT_16BITS(&dp->ip6f_offlg) & IP6F_OFF_MASK) != 0)
|
print-rt6.c | 41 register const struct ip6_rthdr *dp; local 47 dp = (const struct ip6_rthdr *)bp; 52 ND_TCHECK(dp->ip6r_segleft); 54 len = dp->ip6r_len; 55 ND_PRINT((ndo, "srcrt (len=%d", dp->ip6r_len)); /*)*/ 56 ND_PRINT((ndo, ", type=%d", dp->ip6r_type)); 57 ND_PRINT((ndo, ", segleft=%d", dp->ip6r_segleft)); 59 switch (dp->ip6r_type) { 62 dp0 = (const struct ip6_rthdr0 *)dp;
|
/bionic/libc/kernel/uapi/linux/ |
ppp-comp.h | 28 #define CCP_CODE(dp) ((dp)[0]) 29 #define CCP_ID(dp) ((dp)[1]) 30 #define CCP_LENGTH(dp) (((dp)[2] << 8) + (dp)[3]) 32 #define CCP_OPT_CODE(dp) ((dp)[0]) 33 #define CCP_OPT_LENGTH(dp) ((dp)[1] [all...] |
/external/kernel-headers/original/uapi/linux/ |
ppp-comp.h | 36 #define CCP_CODE(dp) ((dp)[0]) 37 #define CCP_ID(dp) ((dp)[1]) 38 #define CCP_LENGTH(dp) (((dp)[2] << 8) + (dp)[3]) 41 #define CCP_OPT_CODE(dp) ((dp)[0]) 42 #define CCP_OPT_LENGTH(dp) ((dp)[1] [all...] |
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/ |
readdir.c | 63 struct dirent *dp;
local 77 dp = (struct dirent *) (void *)(dirp->dd_buf + (size_t)dirp->dd_loc);
78 if ((intptr_t)dp & _DIRENT_ALIGN(dp))/* bogus pointer check */
80 dirp->dd_loc += (long)dp->Size;
81 if ((dp->Attribute & DT_HIDDEN) && (dirp->dd_flags & DTF_HIDEW))
83 return (dp);
90 struct dirent *dp;
local 95 dp = _readdir_unlocked(dirp, 1);
100 dp = _readdir_unlocked(dirp, 1); 107 struct dirent *dp; local [all...] |
/device/google/marlin/dataservices/datatop/src/ |
datatop_helpers.c | 53 * @param dp Dp whose name and prefix is printed. 54 * @param prefix Directory where dp is contained. 59 static int dtop_format_dp_names(struct dtop_data_point *dp, const char 62 if (dp->prefix) { 63 if (fprintf(fw, "\"%s:%s:%s\",", prefix, dp->prefix, 64 dp->name) < 0) 67 if (fprintf(fw, "\"%s::%s\",", prefix, dp->name) < 0) 78 * @param dp Pointer to the data_point struct which holds the value that will 84 static int dtop_format_dp_values(struct dtop_data_point *dp, FILE *fw [all...] |
/external/libunwind/src/ia64/ |
unwind_decoder.h | 107 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) 112 byte1 = *dp++; 113 t = unw_decode_uleb128 (&dp); 114 off = unw_decode_uleb128 (&dp); 120 return dp; 124 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) 129 byte1 = *dp++; byte2 = *dp++; 130 t = unw_decode_uleb128 (&dp); 138 return dp; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
strtod.c | 70 register char *sp, *dp;
local 80 dp = buffer;
81 *dp++ = '0'; *dp++ = '.';
82 buforg = dp, buflim = buffer+48;
92 if (dp != buforg) {
94 if (dp < buflim) *dp++ = c;
103 if (dp < buflim) *dp++ = c; [all...] |
/external/python/cpython2/Python/ |
strtod.c | 70 register char *sp, *dp; local 80 dp = buffer; 81 *dp++ = '0'; *dp++ = '.'; 82 buforg = dp, buflim = buffer+48; 92 if (dp != buforg) { 94 if (dp < buflim) *dp++ = c; 103 if (dp < buflim) *dp++ = c [all...] |
/external/compiler-rt/test/BlocksRuntime/ |
cast.c | 27 double *dp; local 31 dp = (double *)aBlock; 34 aBlock = (void (^)(void))dp;
|
/external/python/cpython2/Modules/ |
dbmmodule.c | 52 dbmobject *dp; local 54 dp = PyObject_New(dbmobject, &Dbmtype); 55 if (dp == NULL) 57 dp->di_size = -1; 58 if ( (dp->di_dbm = dbm_open(file, flags, mode)) == 0 ) { 60 Py_DECREF(dp); 63 return (PyObject *)dp; 69 dbm_dealloc(register dbmobject *dp) 71 if ( dp->di_dbm ) 72 dbm_close(dp->di_dbm) [all...] |
gdbmmodule.c | 61 dbmobject *dp; local 63 dp = PyObject_New(dbmobject, &Dbmtype); 64 if (dp == NULL) 66 dp->di_size = -1; 68 if ((dp->di_dbm = gdbm_open(file, 0, flags, mode, NULL)) == 0) { 73 Py_DECREF(dp); 76 return (PyObject *)dp; 82 dbm_dealloc(register dbmobject *dp) 84 if (dp->di_dbm) 85 gdbm_close(dp->di_dbm) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
finddev.c | 52 struct dir_list *dp; local 54 dp = malloc(sizeof(struct dir_list)); 55 if (!dp) 57 dp->name = malloc(strlen(name)+1); 58 if (!dp->name) { 59 free(dp); 62 strcpy(dp->name, name); 63 dp->next = *list; 64 *list = dp; 72 struct dir_list *dp, *next local 86 struct dirent *dp; local [all...] |
/external/u-boot/lib/efi_loader/ |
efi_device_path_to_text.c | 36 static char *dp_unknown(char *s, struct efi_device_path *dp) 38 s += sprintf(s, "UNKNOWN(%04x,%04x)", dp->type, dp->sub_type); 42 static char *dp_hardware(char *s, struct efi_device_path *dp) 44 switch (dp->sub_type) { 47 (struct efi_device_path_memory *)dp; 56 (struct efi_device_path_vendor *)dp; 61 s = dp_unknown(s, dp); 67 static char *dp_acpi(char *s, struct efi_device_path *dp) 69 switch (dp->sub_type) [all...] |
/external/u-boot/drivers/net/ |
ne2000_base.c | 106 dp83902a_priv_data_t *dp = &nic; local 114 base = dp->base; 126 DP_IN(base, DP_P1_PAR0+i, dp->esa[i]); 131 dp->esa[0], 132 dp->esa[1], 133 dp->esa[2], 134 dp->esa[3], 135 dp->esa[4], 136 dp->esa[5] ); 138 memcpy(enetaddr, dp->esa, 6); /* Use MAC from serial EEPROM * 146 dp83902a_priv_data_t *dp = &nic; local 167 dp83902a_priv_data_t *dp = &nic; local 218 dp83902a_priv_data_t *dp = (dp83902a_priv_data_t *) &nic; local 246 struct dp83902a_priv_data *dp = (struct dp83902a_priv_data *) &nic; local 376 struct dp83902a_priv_data *dp = (struct dp83902a_priv_data *) &nic; local 448 struct dp83902a_priv_data *dp = (struct dp83902a_priv_data *) &nic; local 513 struct dp83902a_priv_data *dp = (struct dp83902a_priv_data *) &nic; local 550 struct dp83902a_priv_data *dp = (struct dp83902a_priv_data *) &nic; local 567 struct dp83902a_priv_data *dp = (struct dp83902a_priv_data *)&nic; local 608 struct dp83902a_priv_data *dp = (struct dp83902a_priv_data *) &nic; local [all...] |
/external/libpng/contrib/libtests/ |
pngimage.c | 589 display_init(struct display *dp) 595 memset(dp, 0, sizeof *dp); 596 dp->options = WARNINGS; /* default to !verbose, !quiet */ 597 dp->filename = NULL; 598 dp->operation = NULL; 599 dp->original_pp = NULL; 600 dp->original_ip = NULL; 601 dp->original_rows = NULL; 602 dp->read_pp = NULL 660 struct display *dp = (struct display*)png_get_error_ptr(pp); local 776 struct display *dp = get_dp(pp); local [all...] |