/system/extras/tests/binder/benchmarks/ |
D | binderAddInts.cpp | 61 struct options { struct 66 } options = { // Set defaults argument 136 *((opt == 'c') ? &options.clientCPU : &options.serverCPU) = cpu; in main() 141 options.iterations = strtoul(optarg, &chptr, 10); in main() 146 if (options.iterations < 1) { in main() 154 options.iterDelay = strtod(optarg, &chptr); in main() 155 if ((*chptr != '\0') || (options.iterDelay < 0.0)) { in main() 175 if (options.serverCPU == unbound) { in main() 178 cout << options.serverCPU; in main() 182 if (options.clientCPU == unbound) { in main() [all …]
|
/system/core/adb/ |
D | sysdeps.h | 134 extern int adb_open(const char* path, int options); 161 static __inline__ int adb_open_mode(const char* path, int options, int mode) in adb_open_mode() argument 163 return adb_open(path, options); in adb_open_mode() 166 static __inline__ int unix_open(const char* path, int options,...) in unix_open() argument 168 if ((options & O_CREAT) == 0) in unix_open() 170 return open(path, options); in unix_open() 176 va_start( args, options ); in unix_open() 179 return open(path, options, mode); in unix_open() 323 static __inline__ int unix_open(const char* path, int options,...) in unix_open() argument 325 if ((options & O_CREAT) == 0) in unix_open() [all …]
|
D | sysdeps_win32.cpp | 329 int adb_open(const char* path, int options) in adb_open() argument 336 switch (options) { in adb_open() 347 D("adb_open: invalid options (0x%0x)\n", options); in adb_open()
|
/system/core/init/ |
D | builtins.cpp | 58 static int insmod(const char *filename, char *options) in insmod() argument 72 return init_module(&module[0], module.size(), options); in insmod() 181 char options[opt_len + 1]; in do_insmod_inner() local 184 options[0] = '\0'; in do_insmod_inner() 186 strcpy(options, args[2]); in do_insmod_inner() 188 strcat(options, " "); in do_insmod_inner() 189 strcat(options, args[i]); in do_insmod_inner() 193 return insmod(args[1], options); in do_insmod_inner() 282 char *options = NULL; in do_mount() local 300 options = args[n]; in do_mount() [all …]
|
D | readme.txt | 17 or options belong to the section most recently declared. Commands 18 or options before the first section are ignored. 226 mount <type> <device> <dir> [ <flag> ]* [<options>] 231 <options> include "barrier=1", "noauto_da_alloc", "discard", ... as
|
/system/core/libnetutils/ |
D | dhcpmsg.c | 41 x = msg->options; in init_dhcp_msg() 70 return DHCP_MSG_FIXED_SIZE + (x - msg->options); in init_dhcp_discover_msg() 99 return DHCP_MSG_FIXED_SIZE + (x - msg->options); in init_dhcp_request_msg()
|
D | dhcpclient.c | 177 if (msg->options[0] != OPT_COOKIE1) return -1; in decode_dhcp_msg() 178 if (msg->options[1] != OPT_COOKIE2) return -1; in decode_dhcp_msg() 179 if (msg->options[2] != OPT_COOKIE3) return -1; in decode_dhcp_msg() 180 if (msg->options[3] != OPT_COOKIE4) return -1; in decode_dhcp_msg() 182 x = msg->options + 4; in decode_dhcp_msg() 307 x = msg->options + 4; in dump_dhcp_msg()
|
D | dhcpmsg.h | 57 uint8_t options[1024]; /* optional parameters */ member
|
/system/core/toolbox/ |
D | mount.c | 41 static const struct mount_opts options[] = { variable 120 for (i = 0, res = 1; i < ARRAY_SIZE(options); i++) { in parse_mount_options() 121 res = strcmp(s, options[i].str); in parse_mount_options() 124 rwflag &= ~options[i].rwmask; in parse_mount_options() 126 rwflag |= options[i].rwnoset; in parse_mount_options() 128 rwflag |= options[i].rwset; in parse_mount_options()
|
/system/core/rootdir/ |
D | init.trace.rc | 11 chown root shell /sys/kernel/debug/tracing/options/overwrite 12 chown root shell /sys/kernel/debug/tracing/options/print-tgid 23 chmod 0664 /sys/kernel/debug/tracing/options/overwrite 24 chmod 0664 /sys/kernel/debug/tracing/options/print-tgid
|
/system/extras/tests/memtest/ |
D | bandwidth.cpp | 66 bool processBandwidthOptions(int argc, char** argv, option_t options[], in processBandwidthOptions() argument 72 for (int j = 0; options[j].name != NULL; j++) { in processBandwidthOptions() 73 if (strcmp(arg, options[j].name) == 0) { in processBandwidthOptions() 74 const char *name = options[j].name; in processBandwidthOptions() 79 if (options[j].int_type) { in processBandwidthOptions() 211 bool processThreadArgs(int argc, char** argv, option_t options[], in processThreadArgs() argument 217 if (!processBandwidthOptions(argc, argv, options, values)) { in processThreadArgs()
|
/system/extras/perfprofd/quipper/ |
D | perf_parser.h | 137 explicit PerfParser(const Options& options); 140 void set_options(const Options& options);
|
D | perf_parser.cc | 53 PerfParser::PerfParser(const PerfParser::Options& options) { in PerfParser() argument 54 options_ = options; in PerfParser() 57 void PerfParser::set_options(const PerfParser::Options& options) { in set_options() argument 58 options_ = options; in set_options()
|
/system/core/logcat/ |
D | event.logtags | 76 50000 menu_item_selected (Menu type where 0 is options and 1 is context|1|5),(Menu item title|3) 77 50001 menu_opened (Menu type where 0 is options and 1 is context|1|5)
|
/system/core/libziparchive/ |
D | zip_archive_test.cc | 536 static struct option options[] = { in main() local 543 const int c = getopt_long_only(argc, argv, "", options, &option_index); in main()
|
/system/extras/tests/net_test/ |
D | multinetwork_base.py | 528 actualtcp.options = expectedtcp.options
|
D | multinetwork_test.py | 490 options=[scapy.PadN(optdata="\x00\x00\x00\x00\x00\x00"),
|