/system/extras/tests/binder/benchmarks/ |
H A D | binderAddInts.cpp | 27 * 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/core/adb/ |
H A D | sysdeps.h | 112 extern int adb_open(const char* path, int options); 141 static __inline__ int adb_open_mode(const char* path, int options, int mode) argument 143 return adb_open(path, options); 146 static __inline__ int unix_open(const char* path, int options,...) argument 148 if ((options & O_CREAT) == 0) 150 return open(path, options); 156 va_start( args, options ); 159 return open(path, options, mode); 305 static __inline__ int unix_open(const char* path, int options,...) argument 307 if ((options 322 adb_open_mode( const char* pathname, int options, int mode ) argument [all...] |
H A D | sysdeps_win32.c | 303 int adb_open(const char* path, int options) argument 310 switch (options) { 321 D("adb_open: invalid options (0x%0x)\n", options);
|
/system/core/libnetutils/ |
H A D | dhcpmsg.c | 41 x = msg->options; 70 return DHCP_MSG_FIXED_SIZE + (x - msg->options); 99 return DHCP_MSG_FIXED_SIZE + (x - msg->options);
|
H A D | dhcpmsg.h | 57 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 */
|
H A D | dhcpclient.c | 177 if (msg->options[0] != OPT_COOKIE1) return -1; 178 if (msg->options[1] != OPT_COOKIE2) return -1; 179 if (msg->options[2] != OPT_COOKIE3) return -1; 180 if (msg->options[3] != OPT_COOKIE4) return -1; 182 x = msg->options + 4; 301 x = msg->options + 4;
|
/system/media/wilhelm/tests/sandbox/ |
H A D | engine.c | 86 SLEngineOption options[2]; local 87 options[0].feature = 0x12345; 88 options[0].data = 0; 91 result = slCreateEngine(&engineObject, 1, options, 0, NULL, NULL); 103 printf("Create an engine and politely request a non-sensical interface with options\n"); 105 options[0].feature = SL_ENGINEOPTION_THREADSAFE; 106 options[0].data = (SLuint32) SL_BOOLEAN_TRUE; 107 options[1].feature = SL_ENGINEOPTION_LOSSOFCONTROL; 108 options[1].data = (SLuint32) SL_BOOLEAN_FALSE; 109 result = slCreateEngine(&engineObject, 2, options, numSupportedInterface [all...] |
/system/core/init/ |
H A D | builtins.c | 72 static int insmod(const char *filename, char *options) argument 82 ret = init_module(module, size, options); 201 char options[opt_len + 1]; local 204 options[0] = '\0'; 206 strcpy(options, args[2]); 208 strcat(options, " "); 209 strcat(options, args[i]); 213 return insmod(args[1], options); 282 /* mount <type> <device> <path> <flags ...> <options> */ 287 char *options local [all...] |
/system/core/toolbox/ |
H A D | mount.c | 36 * These options define the function of "mount(2)". 41 static const struct mount_opts options[] = { variable in typeref:struct:mount_opts 114 for (i = 0, res = 1; i < ARRAY_SIZE(options); i++) { 115 res = strcmp(s, options[i].str); 118 rwflag &= ~options[i].rwmask; 120 rwflag |= options[i].rwnoset; 122 rwflag |= options[i].rwset; 325 fprintf(stderr, "Usage: %s [-r] [-w] [-o options] [-t type] "
|
/system/core/sh/ |
H A D | Android.mk | 21 options.c \
|
H A D | options.c | 1 /* $NetBSD: options.c,v 1.37 2004/10/30 19:29:27 christos Exp $ */ 38 static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 5/4/95"; 40 __RCSID("$NetBSD: options.c,v 1.37 2004/10/30 19:29:27 christos Exp $"); 50 #include "options.h" 76 STATIC void options(int); 96 options(1); 147 * Process shell options. The global variable argptr contains a pointer 148 * to the argument list; we advance it past the options. 152 options(int cmdline) function 174 break; /* "-" or "--" terminates options */ [all...] |
/system/media/wilhelm/src/android/include/ |
H A D | AacAdtsExtractor.h | 52 MediaBuffer **buffer, const ReadOptions *options = NULL);
|
/system/media/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 259 MediaBuffer **out, const ReadOptions *options) { 264 if (options && options->getSeekTo(&seekTimeUs, &mode)) { 258 read( MediaBuffer **out, const ReadOptions *options) argument
|