/external/e2fsprogs/intl/ |
D | vasnprintf.c | 123 if (a.arg) \ in VASNPRINTF() 124 free (a.arg); 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() 246 *a.arg[dp->arg_index].a.a_count_short_pointer = length; in VASNPRINTF() 249 *a.arg[dp->arg_index].a.a_count_int_pointer = length; in VASNPRINTF() 252 *a.arg[dp->arg_index].a.a_count_longint_pointer = length; in VASNPRINTF() 256 *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length; in VASNPRINTF() 265 arg_type type = a.arg[dp->arg_index].type; in VASNPRINTF() 285 int arg; in VASNPRINTF() local [all …]
|
/external/grub/stage2/ |
D | builtins.c | 85 static int configfile_func (char *arg, int flags); 138 blocklist_func (char *arg, int flags) in blocklist_func() argument 194 if (! grub_open (arg)) in blocklist_func() 240 boot_func (char *arg, int flags) in boot_func() argument 327 bootp_func (char *arg, int flags) in bootp_func() argument 331 if (grub_memcmp (arg, "--with-configfile", sizeof ("--with-configfile") - 1) in bootp_func() 335 arg = skip_to (0, arg); in bootp_func() 372 cat_func (char *arg, int flags) in cat_func() argument 376 if (! grub_open (arg)) in cat_func() 405 chainloader_func (char *arg, int flags) in chainloader_func() argument [all …]
|
/external/dbus/tools/ |
D | dbus-send.c | 178 type_from_name (const char *arg) in type_from_name() argument 181 if (!strcmp (arg, "string")) in type_from_name() 183 else if (!strcmp (arg, "int16")) in type_from_name() 185 else if (!strcmp (arg, "uint16")) in type_from_name() 187 else if (!strcmp (arg, "int32")) in type_from_name() 189 else if (!strcmp (arg, "uint32")) in type_from_name() 191 else if (!strcmp (arg, "int64")) in type_from_name() 193 else if (!strcmp (arg, "uint64")) in type_from_name() 195 else if (!strcmp (arg, "double")) in type_from_name() 197 else if (!strcmp (arg, "byte")) in type_from_name() [all …]
|
/external/iptables/ |
D | iptables-xml.c | 354 isTarget(char *arg) in isTarget() argument 356 return ((arg) in isTarget() 357 && (strcmp((arg), "-j") == 0 || strcmp((arg), "--jump") == 0 in isTarget() 358 || strcmp((arg), "-g") == 0 in isTarget() 359 || strcmp((arg), "--goto") == 0)); in isTarget() 367 int arg = 1; // ignore leading -A in do_rule_part() local 393 thisChain = argv[arg++]; in do_rule_part() 398 while (arg < argc && (argvattr[arg] || !isTarget(argv[arg]))) in do_rule_part() 399 arg++; in do_rule_part() 405 if (arg < argc && argv[arg][0] == '-' && !isTarget(argv[arg]) in do_rule_part() [all …]
|
/external/openssl/crypto/asn1/ |
D | a_strex.c | 82 static int send_mem_chars(void *arg, const void *buf, int len) 84 unsigned char **out = arg; 92 static int send_bio_chars(void *arg, const void *buf, int len) in send_bio_chars() argument 94 if(!arg) return 1; in send_bio_chars() 95 if(BIO_write(arg, buf, len) != len) return 0; in send_bio_chars() 99 static int send_fp_chars(void *arg, const void *buf, int len) in send_fp_chars() argument 101 if(!arg) return 1; in send_fp_chars() 102 if(fwrite(buf, 1, len, arg) != (unsigned int)len) return 0; in send_fp_chars() 106 typedef int char_io(void *arg, const void *buf, int len); 115 …c int do_esc_char(unsigned long c, unsigned char flags, char *do_quotes, char_io *io_ch, void *arg) in do_esc_char() argument [all …]
|
D | a_mbstr.c | 65 int (*rfunc)(unsigned long value, void *in), void *arg); 66 static int in_utf8(unsigned long value, void *arg); 67 static int out_utf8(unsigned long value, void *arg); 68 static int type_str(unsigned long value, void *arg); 69 static int cpy_asc(unsigned long value, void *arg); 70 static int cpy_bmp(unsigned long value, void *arg); 71 static int cpy_univ(unsigned long value, void *arg); 72 static int cpy_utf8(unsigned long value, void *arg); 251 int (*rfunc)(unsigned long value, void *in), void *arg) in traverse_string() argument 276 ret = rfunc(value, arg); in traverse_string() [all …]
|
/external/icu4c/samples/date/ |
D | date.c | 63 char *arg; in main() local 72 arg = argv[optind]; in main() 75 if(strcmp(arg, "-v") == 0 || strcmp(arg, "--version") == 0) { in main() 79 else if(strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) { in main() 83 else if(strcmp(arg, "-u") == 0 || strcmp(arg, "--gmt") == 0) { in main() 87 else if(strcmp(arg, "-f") == 0 || strcmp(arg, "--full") == 0) { in main() 91 else if(strcmp(arg, "-l") == 0 || strcmp(arg, "--long") == 0) { in main() 95 else if(strcmp(arg, "-m") == 0 || strcmp(arg, "--medium") == 0) { in main() 99 else if(strcmp(arg, "-s") == 0 || strcmp(arg, "--short") == 0) { in main() 102 else if(strcmp(arg, "-F") == 0 || strcmp(arg, "--format") == 0) { in main() [all …]
|
/external/bison/lib/ |
D | quotearg.c | 189 char const *arg, size_t argsize, in quotearg_buffer_restyled() argument 265 for (i = 0; ! (argsize == SIZE_MAX ? arg[i] == '\0' : i == argsize); i++) in quotearg_buffer_restyled() 273 && memcmp (arg + i, quote_string, quote_string_len) == 0) in quotearg_buffer_restyled() 276 c = arg[i]; in quotearg_buffer_restyled() 296 if (i + 2 < argsize && arg[i + 1] == '?') in quotearg_buffer_restyled() 297 switch (arg[i + 2]) in quotearg_buffer_restyled() 304 c = arg[i + 2]; in quotearg_buffer_restyled() 342 if (! (argsize == SIZE_MAX ? arg[1] == '\0' : argsize == 1)) in quotearg_buffer_restyled() 424 argsize = strlen (arg); in quotearg_buffer_restyled() 429 size_t bytes = mbrtowc (&w, &arg[i + m], in quotearg_buffer_restyled() [all …]
|
/external/libffi/src/s390/ |
D | ffi.c | 108 ffi_check_struct_type (ffi_type *arg) in ffi_check_struct_type() argument 110 size_t size = arg->size; in ffi_check_struct_type() 114 while (arg->type == FFI_TYPE_STRUCT in ffi_check_struct_type() 115 && arg->elements[0] && !arg->elements[1]) in ffi_check_struct_type() 116 arg = arg->elements[0]; in ffi_check_struct_type() 129 if (arg->type == FFI_TYPE_FLOAT) in ffi_check_struct_type() 135 if (arg->type == FFI_TYPE_DOUBLE) in ffi_check_struct_type() 208 void *arg = *p_argv; in ffi_prep_args() local 226 memcpy (p_struct, (char *)arg, (*ptr)->size); in ffi_prep_args() 227 arg = &p_struct; in ffi_prep_args() [all …]
|
/external/elfutils/src/ |
D | ld.c | 190 static error_t parse_opt_1st (int key, char *arg, struct argp_state *state); 191 static error_t parse_opt_2nd (int key, char *arg, struct argp_state *state); 256 static void parse_z_option (const char *arg); 257 static void parse_z_option_2 (const char *arg); 258 static void parse_B_option (const char *arg); 259 static void parse_B_option_2 (const char *arg); 504 parse_opt_1st (int key, char *arg, struct argp_state *state) in parse_opt_1st() argument 509 parse_B_option (arg); in parse_opt_1st() 513 linker_script = arg; in parse_opt_1st() 531 ld_state.soname = arg; in parse_opt_1st() [all …]
|
/external/dbus/bus/ |
D | main.c | 254 const char *arg = argv[i]; in main() local 256 if (strcmp (arg, "--help") == 0 || in main() 257 strcmp (arg, "-h") == 0 || in main() 258 strcmp (arg, "-?") == 0) in main() 260 else if (strcmp (arg, "--version") == 0) in main() 262 else if (strcmp (arg, "--introspect") == 0) in main() 264 else if (strcmp (arg, "--nofork") == 0) in main() 266 else if (strcmp (arg, "--fork") == 0) in main() 268 else if (strcmp (arg, "--system") == 0) in main() 275 else if (strcmp (arg, "--session") == 0) in main() [all …]
|
/external/strace/ |
D | proc.c | 90 proc_ioctl(tcp, code, arg) in proc_ioctl() argument 92 int code, arg; 105 if (arg == 0) 108 tprintf(", %#x", arg); 109 else if (umove(tcp, arg, &status) < 0) 138 if (arg == 0) 140 else if (umove(tcp, arg, &run) < 0) 151 if (umove(tcp, arg, &val) < 0) 163 if (umove(tcp, arg, &val) < 0) 206 proc_ioctl(tcp, code, arg) in proc_ioctl() argument [all …]
|
/external/qemu/tcg/ |
D | tcg-op.h | 172 static inline void tcg_gen_mov_i32(TCGv ret, TCGv arg) in tcg_gen_mov_i32() argument 174 if (GET_TCGV(ret) != GET_TCGV(arg)) in tcg_gen_mov_i32() 175 tcg_gen_op2(INDEX_op_mov_i32, ret, arg); in tcg_gen_mov_i32() 178 static inline void tcg_gen_movi_i32(TCGv ret, int32_t arg) in tcg_gen_movi_i32() argument 180 tcg_gen_op2i(INDEX_op_movi_i32, ret, arg); in tcg_gen_movi_i32() 196 static inline void tcg_gen_helper_0_1(void *func, TCGv arg) in tcg_gen_helper_0_1() argument 202 0, NULL, 1, &arg); in tcg_gen_helper_0_1() 581 static inline void tcg_gen_mov_i64(TCGv ret, TCGv arg) in tcg_gen_mov_i64() argument 583 if (GET_TCGV(ret) != GET_TCGV(arg)) { in tcg_gen_mov_i64() 584 tcg_gen_mov_i32(ret, arg); in tcg_gen_mov_i64() [all …]
|
/external/libffi/src/ |
D | prep_cif.c | 36 static ffi_status initialize_aggregate(ffi_type *arg) in initialize_aggregate() argument 40 FFI_ASSERT(arg != NULL); in initialize_aggregate() 42 FFI_ASSERT(arg->elements != NULL); in initialize_aggregate() 43 FFI_ASSERT(arg->size == 0); in initialize_aggregate() 44 FFI_ASSERT(arg->alignment == 0); in initialize_aggregate() 46 ptr = &(arg->elements[0]); in initialize_aggregate() 56 arg->size = ALIGN(arg->size, (*ptr)->alignment); in initialize_aggregate() 57 arg->size += (*ptr)->size; in initialize_aggregate() 59 arg->alignment = (arg->alignment > (*ptr)->alignment) ? in initialize_aggregate() 60 arg->alignment : (*ptr)->alignment; in initialize_aggregate() [all …]
|
/external/e2fsprogs/debugfs/ |
D | set_fields.c | 51 errcode_t (*func)(struct field_set_info *info, char *arg); 56 static errcode_t parse_uint(struct field_set_info *info, char *arg); 57 static errcode_t parse_int(struct field_set_info *info, char *arg); 58 static errcode_t parse_string(struct field_set_info *info, char *arg); 59 static errcode_t parse_uuid(struct field_set_info *info, char *arg); 60 static errcode_t parse_hashalg(struct field_set_info *info, char *arg); 61 static errcode_t parse_time(struct field_set_info *info, char *arg); 62 static errcode_t parse_bmap(struct field_set_info *info, char *arg); 188 char *arg, *delim, *idx, *tmp; in find_field() local 201 arg = malloc(strlen(field)+1); in find_field() [all …]
|
/external/libpcap/missing/ |
D | snprintf.c | 223 unsigned char *arg, in append_string() argument 231 width -= strlen((char *)arg); in append_string() 237 while (*arg && prec--) in append_string() 238 if ((*state->append_char) (state, *arg++)) in append_string() 241 while (*arg) in append_string() 242 if ((*state->append_char) (state, *arg++)) in append_string() 254 unsigned char arg, in append_char() argument 262 if((*state->append_char) (state, arg)) in append_char() 275 #define PARSE_INT_FORMAT(res, arg, unsig) \ argument 277 res = (unsig long)va_arg(arg, unsig long); \ [all …]
|
/external/tcpdump/missing/ |
D | snprintf.c | 223 unsigned char *arg, in append_string() argument 231 width -= strlen((char *)arg); in append_string() 237 while (*arg && prec--) in append_string() 238 if ((*state->append_char) (state, *arg++)) in append_string() 241 while (*arg) in append_string() 242 if ((*state->append_char) (state, *arg++)) in append_string() 254 unsigned char arg, in append_char() argument 262 if((*state->append_char) (state, arg)) in append_char() 275 #define PARSE_INT_FORMAT(res, arg, unsig) \ argument 277 res = (unsig long)va_arg(arg, unsig long); \ [all …]
|
/external/clearsilver/cs/ |
D | csparse.c | 77 static NEOERR *literal_parse (CSPARSE *parse, int cmd, char *arg); 79 static NEOERR *name_parse (CSPARSE *parse, int cmd, char *arg); 81 static NEOERR *var_parse (CSPARSE *parse, int cmd, char *arg); 83 static NEOERR *evar_parse (CSPARSE *parse, int cmd, char *arg); 84 static NEOERR *lvar_parse (CSPARSE *parse, int cmd, char *arg); 86 static NEOERR *if_parse (CSPARSE *parse, int cmd, char *arg); 88 static NEOERR *else_parse (CSPARSE *parse, int cmd, char *arg); 89 static NEOERR *elif_parse (CSPARSE *parse, int cmd, char *arg); 90 static NEOERR *endif_parse (CSPARSE *parse, int cmd, char *arg); 91 static NEOERR *each_with_parse (CSPARSE *parse, int cmd, char *arg); [all …]
|
/external/jpeg/ |
D | djpeg.c | 174 char * arg; in parse_switches() local 184 arg = argv[argn]; in parse_switches() 185 if (*arg != '-') { in parse_switches() 193 arg++; /* advance past switch marker character */ in parse_switches() 195 if (keymatch(arg, "bmp", 1)) { in parse_switches() 199 } else if (keymatch(arg, "colors", 1) || keymatch(arg, "colours", 1) || in parse_switches() 200 keymatch(arg, "quantize", 1) || keymatch(arg, "quantise", 1)) { in parse_switches() 211 } else if (keymatch(arg, "dct", 2)) { in parse_switches() 224 } else if (keymatch(arg, "dither", 2)) { in parse_switches() 237 } else if (keymatch(arg, "debug", 1) || keymatch(arg, "verbose", 1)) { in parse_switches() [all …]
|
/external/openssl/ssl/ |
D | tls1.h | 136 #define SSL_set_tlsext_debug_arg(ssl, arg) \ argument 137 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0, (void *)arg) 142 #define SSL_get_tlsext_status_exts(ssl, arg) \ argument 143 SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg) 145 #define SSL_set_tlsext_status_exts(ssl, arg) \ argument 146 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg) 148 #define SSL_get_tlsext_status_ids(ssl, arg) \ argument 149 SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg) 151 #define SSL_set_tlsext_status_ids(ssl, arg) \ argument 152 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg) [all …]
|
/external/openssl/include/openssl/ |
D | tls1.h | 136 #define SSL_set_tlsext_debug_arg(ssl, arg) \ argument 137 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0, (void *)arg) 142 #define SSL_get_tlsext_status_exts(ssl, arg) \ argument 143 SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg) 145 #define SSL_set_tlsext_status_exts(ssl, arg) \ argument 146 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg) 148 #define SSL_get_tlsext_status_ids(ssl, arg) \ argument 149 SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg) 151 #define SSL_set_tlsext_status_ids(ssl, arg) \ argument 152 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS,0, (void *)arg) [all …]
|
/external/qemu/hw/ |
D | goldfish_trace.c | 27 static char arg[CLIENT_PAGE_SIZE]; variable 92 vmemcpy(value, arg, cmdlen); in trace_dev_write() 93 trace_execve(arg, cmdlen); in trace_dev_write() 98 if (i != cmdlen - 1 && arg[i] == 0) in trace_dev_write() 99 arg[i] = ' '; in trace_dev_write() 100 printf("QEMU.trace: kernel, execve %s[%d]\n", arg, cmdlen); in trace_dev_write() 103 arg[0] = 0; in trace_dev_write() 148 vstrcpy(value, arg, CLIENT_PAGE_SIZE); in trace_dev_write() 149 trace_dynamic_symbol_add(dsaddr, arg); in trace_dev_write() 151 printf("QEMU.trace: dynamic symbol %lx:%s\n", dsaddr, arg); in trace_dev_write() [all …]
|
/external/jhead/ |
D | jhead.c | 1399 char * arg; 1403 arg = argv[argn]; 1404 if (arg[0] != '-') break; // Filenames from here on. 1407 if (!strcmp(arg,"-te")){ 1410 }else if (!strcmp(arg,"-dc")){ 1413 }else if (!strcmp(arg,"-de")){ 1416 }else if (!strcmp(arg,"-di")){ 1419 }else if (!strcmp(arg,"-dx")){ 1422 }else if (!strcmp(arg, "-du")){ 1425 }else if (!strcmp(arg, "-purejpg")){ [all …]
|
/external/icu4c/tools/toolutil/ |
D | uoptions.c | 26 char *arg; in u_parseArgs() local 31 arg=argv[i]; in u_parseArgs() 32 if(!stopOptions && *arg=='-' && (c=arg[1])!=0) { in u_parseArgs() 35 arg+=2; in u_parseArgs() 38 if(*arg==0) { in u_parseArgs() 45 if(options[j].longName && uprv_strcmp(arg, options[j].longName)==0) { in u_parseArgs() 86 if(*arg!=0) { in u_parseArgs() 88 option->value=arg; in u_parseArgs() 104 c=*arg++; in u_parseArgs() 117 argv[remaining++]=arg; in u_parseArgs()
|
/external/oprofile/libpopt/ |
D | popt.c | 69 for (; opt->longName || opt->shortName || opt->arg; opt++) { in invokeCallbacksPRE() 70 if (opt->arg == NULL) continue; /* XXX program error. */ in invokeCallbacksPRE() 72 void * arg = opt->arg; in invokeCallbacksPRE() local 75 if (arg == poptHelpOptions) arg = poptHelpOptionsI18N; in invokeCallbacksPRE() 78 invokeCallbacksPRE(con, arg); in invokeCallbacksPRE() 82 poptCallbackType cb = (poptCallbackType)opt->arg; in invokeCallbacksPRE() 97 for (; opt->longName || opt->shortName || opt->arg; opt++) { in invokeCallbacksPOST() 98 if (opt->arg == NULL) continue; /* XXX program error. */ in invokeCallbacksPOST() 100 void * arg = opt->arg; in invokeCallbacksPOST() local 103 if (arg == poptHelpOptions) arg = poptHelpOptionsI18N; in invokeCallbacksPOST() [all …]
|