/external/chromium_org/chrome/common/ |
crash_keys.cc | 260 const CommandLine::StringVector& argv = command_line->argv(); local 264 base::StringPrintf("%" PRIuS, argv.size() - 1)); 268 // Go through the argv, skipping the exec path. 269 for (size_t i = 1; i < argv.size(); ++i) { 271 std::string switch_str = base::WideToUTF8(argv[i]); 273 std::string switch_str = argv[i];
|
service_process_util_unittest.cc | 142 gchar **argv = NULL; local 144 if (g_shell_parse_argv(exec_value.c_str(), &argc, &argv, &error)) { 145 autorun_command_line.reset(new CommandLine(argc, argv)); 146 g_strfreev(argv);
|
/external/chromium_org/chrome_frame/ |
test_utils.cc | 172 const wchar_t* const* argv = ::CommandLineToArgvW(::GetCommandLine(), &argc); local 173 if (argc < 2 || ::lstrcmp(argv[1], kCallRegistrationEntrypointSwitch) != 0) 176 printf("Usage: %S %S <path to dll> <entrypoint>\n", argv[0], 182 const wchar_t* dll_path = argv[2]; 183 const wchar_t* wide_entrypoint = argv[3];
|
/external/chromium_org/chromeos/ime/ |
xkeyboard.cc | 171 std::vector<std::string> argv; local 174 argv.push_back(kSetxkbmapCommand); 175 argv.push_back("-layout"); 176 argv.push_back(layout_to_set); 177 argv.push_back("-synch"); 179 if (!base::LaunchProcess(argv, base::LaunchOptions(), &handle)) {
|
/external/chromium_org/content/app/ |
content_main_runner.cc | 540 // argc/argv are ignored on Windows; see command_line.h for details. 542 char** argv = NULL; variable 550 const char** argv, 646 CommandLine::Init(argc, argv); 771 SetProcessTitleFromCommandLine(argv); variable
|
/external/chromium_org/gpu/gles2_conform_support/egl/ |
egl.cc | 106 const char* const argv[] = { local 109 CommandLine::Init(argc, argv);
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
NPV8Object.cpp | 92 OwnPtr<v8::Handle<v8::Value>[]> argv = adoptArrayPtr(new v8::Handle<v8::Value>[argumentCount]); local 95 argv[index] = convertNPVariantToV8Object(arg, owner, isolate); 97 return argv.release(); 258 OwnPtr<v8::Handle<v8::Value>[]> argv = createValueListFromVariantArgs(arguments, argumentCount, npObject, isolate); local 259 v8::Local<v8::Value> resultObject = frame->script().callFunction(function, v8Object, argumentCount, argv.get()); 308 OwnPtr<v8::Handle<v8::Value>[]> argv = createValueListFromVariantArgs(arguments, argumentCount, npObject, isolate); local 309 resultObject = frame->script().callFunction(function, functionObject, argumentCount, argv.get()); 550 v8::Handle<v8::Value> argv[] = { obj }; local 551 v8::Local<v8::Value> propsObj = V8ScriptRunner::callInternalFunction(enumerator, v8::Handle<v8::Object>::Cast(result), WTF_ARRAY_LENGTH(argv), argv, context->GetIsolate()) 598 OwnPtr<v8::Handle<v8::Value>[]> argv = createValueListFromVariantArgs(arguments, argumentCount, npObject, isolate); local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
flags.h | 231 // argv). Returns 0 if no error occurred. Otherwise, returns the 232 // argv index > 0 for the argument where an error occurred. In that 233 // case, (argc, argv) will remain unchanged indepdendent of the 244 const char** argv, 247 char** argv, 249 return SetFlagsFromCommandLine(argc, const_cast<const char**>(argv), 266 // and then call argc() and argv(). 273 char **argv() { return argv_; } function in class:WindowsCommandLineArguments
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
openssl.c | 142 static int do_cmd(LHASH_OF(FUNCTION) *prog,int argc,char *argv[]); 219 # define ARGV _Argv 221 # define ARGV Argv 224 int main(int Argc, char *ARGV[]) 235 char **argv,*p; local 242 * we bypass this mess, as on non-VMS systems. (See ARGV, 245 * pointers for argv[]. 246 * Fix 1: For a 32-bit argv[], when we're using 64-bit pointers 248 * duplicate of argv[] [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
test4.c | 46 const char *argv[100]; /* result columns */ member in struct:Thread 126 const char **argv /* Text of each argument */ 133 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], 137 i = parse_thread_id(interp, argv[1]); 140 Tcl_AppendResult(interp, "thread ", argv[1], " is already running", 0); 145 threadset[i].zFilename = sqlite3_mprintf("%s", argv[2]); 175 const char **argv /* Text of each argument */ 180 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], 184 i = parse_thread_id(interp, argv[1]); 219 const char **argv /* Text of each argument * [all...] |
test7.c | 69 const char *argv[100]; /* result columns */ member in struct:Thread 148 const char **argv /* Text of each argument */ 155 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], 159 i = parse_client_id(interp, argv[1]); 162 Tcl_AppendResult(interp, "thread ", argv[1], " is already running", 0); 167 threadset[i].zFilename = sqlite3_mprintf("%s", argv[2]); 198 const char **argv /* Text of each argument */ 203 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], 207 i = parse_client_id(interp, argv[1]); 242 const char **argv /* Text of each argument * [all...] |
/external/chromium_org/v8/samples/ |
lineprocessor.cc | 138 int RunMain(int argc, char* argv[]) { 139 v8::V8::SetFlagsFromCommandLine(&argc, argv, true); 156 const char* str = argv[i]; 171 port_number = atoi(argv[i + 1]); // NOLINT 177 script_source = v8::String::NewFromUtf8(isolate, argv[i + 1]); 306 v8::Handle<v8::Value> argv[argc] = { input_line }; local 312 argc, argv); 328 int main(int argc, char* argv[]) { 330 int result = RunMain(argc, argv);
|
/external/chromium_org/v8/test/cctest/ |
test-compiler.cc | 305 Handle<Object> argv[] = { isolate->factory()->InternalizeOneByteString( local 310 ARRAY_SIZE(argv), 311 argv,
|
/external/dropbear/ |
svr-chansession.c | 872 char *argv[4]; local 970 argv[0] = baseshell; 974 argv[0] = (char*)m_malloc(len); 975 snprintf(argv[0], len, "-%s", baseshell); 979 argv[1] = "-c"; 980 argv[2] = chansess->cmd; 981 argv[3] = NULL; 984 argv[1] = NULL; 987 execv(usershell, argv);
|
/external/e2fsprogs/lib/ss/ |
ss_internal.h | 49 char **argv; /* arg list */ member in struct:_ss_data 90 int ss_execute_command(int sci_idx, char *argv[]);
|
/external/eigen/bench/ |
bench_gemm.cpp | 119 int main(int argc, char ** argv) 137 if(argv[i][0]=='s') 138 s = atoi(argv[i]+1); 139 else if(argv[i][0]=='c') 140 cache_size = atoi(argv[i]+1); 141 else if(argv[i][0]=='t') 142 tries = atoi(argv[i]+1); 143 else if(argv[i][0]=='p') 144 rep = atoi(argv[i]+1); 151 std::cout << argv[0] << " s<matrix size> c<cache size> t<nb tries> p<nb repeats>\n" local [all...] |
/external/iproute2/ip/ |
xfrm_policy.c | 111 char **argv = *argvp; local 113 if (strcmp(*argv, "in") == 0) 115 else if (strcmp(*argv, "out") == 0) 117 else if (strcmp(*argv, "fwd") == 0) 120 invarg("\"DIR\" is invalid", *argv); 123 *argvp = argv; 131 char **argv = *argvp; local 133 if (strcmp(*argv, "main") == 0) 135 else if (strcmp(*argv, "sub") == 0) 138 invarg("\"PTYPE\" is invalid", *argv); 149 char **argv = *argvp; local 185 char **argv = *argvp; local [all...] |
/external/iproute2/tc/ |
m_action.c | 81 char **argv = *argv_p; local 84 fprintf(stderr, "Unknown action \"%s\", hence option \"%s\" is unparsable\n", au->id, *argv); 155 new_cmd(char **argv) 157 if ((matches(*argv, "change") == 0) || 158 (matches(*argv, "replace") == 0)|| 159 (matches(*argv, "delete") == 0)|| 160 (matches(*argv, "add") == 0)) 171 char **argv = *argv_p; local 191 if (strcmp(*argv, "action") == 0 ) { 193 argv++ 376 char **argv = *argv_p; local 486 char **argv = *argv_p; local [all...] |
m_pedit.c | 65 char **argv = *argv_p; local 68 fprintf(stderr, "Unknown action hence option \"%s\" is unparsable\n", *argv); 240 char **argv = *argv_p; local 246 return get_integer((int *) val, *argv, 0); 249 return get_u32(val, *argv, 0); 253 if (get_prefix_1(&addr, *argv, AF_INET)) { 274 char **argv = *argv_p; local 280 printf("parse_cmd argc %d %s offset %d length %d\n",argc,*argv,tkey->off,len); 287 if (matches(*argv, "invert") == 0) { 289 } else if (matches(*argv, "set") == 0) 343 char **argv = *argv_p; local 419 char **argv = *argv_p; local 469 char **argv = *argv_p; local [all...] |
m_xt_old.c | 215 char **argv = *argv_p; local 227 if (NULL == argv[i] || 0 == strcmp(argv[i], "action")) { 240 c = getopt_long(argc, argv, "j:", opts, NULL); 265 m->parse(c - m->option_offset, argv, 0, 279 if (matches(argv[optind], "index") == 0) { 280 if (get_u32(&index, argv[optind + 1], 10)) { 292 fprintf(stderr," ipt Parser BAD!! (%s)\n", *argv); 335 argv += optind; 337 *argv_p = argv; [all...] |
/external/libpng/contrib/gregbook/ |
rpng-win.c | 143 char *p, *q, **argv = args; local 219 /* Windows really hates command lines, so we have to set up our own argv. 223 argv[argc++] = PROGNAME; 232 argv[argc++] = q = p; 237 break; /* last argv already terminated; quit */ 241 argv[argc] = NULL; /* terminate the argv array itself */ 246 while (*++argv && !error) { 247 if (!strncmp(*argv, "-gamma", 2)) { 248 if (!*++argv) [all...] |
/external/libppp/src/ |
chap.c | 258 char *argv[MAXARGS], *nargv[MAXARGS]; local 294 if ((argc = command_Interpret(prog, strlen(prog), argv)) <= 0) { 319 command_Expand(nargv, argc, (char const *const *)argv,
|
chat.c | 189 if ((c->argptr = c->argv[++c->arg]) == NULL) { 215 * c->argptr now temporarily points into c->script (via c->argv) 498 if (strstr(c->argv[c->arg], "\\P")) /* Don't log the password */ 499 log_Printf(LogCHAT, "Send: %s\n", c->argv[c->arg]); 575 c->argc = MakeArgs(c->script, c->argv, VECSIZE(c->argv), PARSE_NOHASH); 712 char *argv[MAXARGS], *vector[MAXARGS], *startout, *endout; local 731 command_Expand(argv, argc, (char const *const *)vector, 748 execvp(argv[0], argv); [all...] |
lcp.c | 504 const char *argv[2]; local 510 argv[0] = lcp->cfg.ident; 511 argv[1] = NULL; 513 command_Expand(exp, 1, argv, lcp->fsm.bundle, 1, getpid()); [all...] |
log.c | 438 char const *const *argv, *argp; local 441 argv = arg->argv + arg->argn; 444 if (argc == 0 || strcasecmp(argv[0], "local")) 453 argv++; 457 if (argc == 0 || (argv[0][0] != '+' && argv[0][0] != '-')) { 465 argp = **argv == '+' || **argv == '-' ? *argv + 1 : *argv [all...] |