Searched defs:options (Results 1 - 8 of 8) sorted by relevance

/system/core/libziparchive/
H A Dzip_archive_test.cc262 static struct option options[] = { local
269 const int c = getopt_long_only(argc, argv, "", options, &option_index);
/system/core/libnetutils/
H A Ddhcpmsg.h57 uint8_t options[1024]; /* optional parameters */ member in struct:dhcp_msg
62 /* first four bytes of options are a cookie to indicate that
63 ** the payload are DHCP options as opposed to some other BOOTP
71 /* BOOTP/DHCP options - see RFC 2132 */
/system/core/toolbox/
H A Dmount.c36 * These options define the function of "mount(2)".
41 static const struct mount_opts options[] = { variable in typeref:struct:mount_opts
120 for (i = 0, res = 1; i < ARRAY_SIZE(options); i++) {
121 res = strcmp(s, options[i].str);
124 rwflag &= ~options[i].rwmask;
126 rwflag |= options[i].rwnoset;
128 rwflag |= options[i].rwset;
353 fprintf(stderr, "Usage: %s [-r] [-w] [-o options] [-t type] "
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp27 * This benchmark supports the following command-line options:
61 struct options { struct
66 } options = { // Set defaults variable in typeref:struct:options
136 *((opt == 'c') ? &options.clientCPU : &options.serverCPU) = cpu;
141 options.iterations = strtoul(optarg, &chptr, 10);
146 if (options.iterations < 1) {
154 options.iterDelay = strtod(optarg, &chptr);
155 if ((*chptr != '\0') || (options.iterDelay < 0.0)) {
163 cerr << basename(argv[0]) << " [options]" << end
[all...]
/system/extras/tests/memtest/
H A Dbandwidth.cpp66 bool processBandwidthOptions(int argc, char** argv, option_t options[], argument
72 for (int j = 0; options[j].name != NULL; j++) {
73 if (strcmp(arg, options[j].name) == 0) {
74 const char *name = options[j].name;
79 if (options[j].int_type) {
211 bool processThreadArgs(int argc, char** argv, option_t options[], argument
217 if (!processBandwidthOptions(argc, argv, options, values)) {
/system/core/adb/
H A Dsysdeps.h114 extern int adb_open(const char* path, int options);
143 static __inline__ int adb_open_mode(const char* path, int options, int mode) argument
145 return adb_open(path, options);
148 static __inline__ int unix_open(const char* path, int options,...) argument
150 if ((options & O_CREAT) == 0)
152 return open(path, options);
158 va_start( args, options );
161 return open(path, options, mode);
327 static __inline__ int unix_open(const char* path, int options,...) argument
329 if ((options
344 adb_open_mode( const char* pathname, int options, int mode ) argument
[all...]
H A Dsysdeps_win32.c303 int adb_open(const char* path, int options) argument
310 switch (options) {
321 D("adb_open: invalid options (0x%0x)\n", options);
/system/core/init/
H A Dbuiltins.c135 static int insmod(const char *filename, char *options) argument
145 ret = init_module(module, size, options);
280 char options[opt_len + 1]; local
283 options[0] = '\0';
285 strcpy(options, args[2]);
287 strcat(options, " ");
288 strcat(options, args[i]);
292 return insmod(args[1], options);
376 /* mount <type> <device> <path> <flags ...> <options> */
381 char *options local
[all...]

Completed in 266 milliseconds