Home
last modified time | relevance | path

Searched refs:options (Results 1 – 17 of 17) sorted by relevance

/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp61 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/
Dsysdeps.h134 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 …]
Dsysdeps_win32.cpp329 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/
Dbuiltins.cpp58 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 …]
Dreadme.txt17 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/
Ddhcpmsg.c41 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()
Ddhcpclient.c177 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()
Ddhcpmsg.h57 uint8_t options[1024]; /* optional parameters */ member
/system/core/toolbox/
Dmount.c41 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/
Dinit.trace.rc11 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/
Dbandwidth.cpp66 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/
Dperf_parser.h137 explicit PerfParser(const Options& options);
140 void set_options(const Options& options);
Dperf_parser.cc53 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/
Devent.logtags76 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/
Dzip_archive_test.cc536 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/
Dmultinetwork_base.py528 actualtcp.options = expectedtcp.options
Dmultinetwork_test.py490 options=[scapy.PadN(optdata="\x00\x00\x00\x00\x00\x00"),