Searched defs:cmdlen (Results 1 - 12 of 12) sorted by relevance

/external/qemu/hw/
H A Dgoldfish_trace.c55 static unsigned cmdlen; // cmdline length variable
146 cmdlen = value;
149 safe_memory_rw_debug(cpu_single_env, value, (uint8_t*)exec_arg, cmdlen, 0);
151 trace_execve(exec_arg, cmdlen);
155 memcheck_set_cmd_line(exec_arg, cmdlen);
161 for (i = 0; i < cmdlen; i ++)
162 if (i != cmdlen - 1 && exec_arg[i] == 0)
164 printf("QEMU.trace: kernel, execve %s[%d]\n", exec_arg, cmdlen);
H A Dscsi-disk.c354 int cmdlen; local
377 cmdlen = 6;
384 cmdlen = 10;
392 cmdlen = 16;
398 cmdlen = 12;
407 for (i = 1; i < cmdlen; i++) {
/external/dropbear/
H A Dcli-runopts.c76 unsigned int cmdlen; local
248 cmdlen = 0;
250 cmdlen += strlen(argv[j]) + 1; /* +1 for spaces */
253 cli_opts.cmd = (char*)m_malloc(cmdlen);
258 strlcat(cli_opts.cmd, argv[j], cmdlen);
259 strlcat(cli_opts.cmd, " ", cmdlen);
H A Dsvr-chansession.c569 unsigned int cmdlen; local
583 chansess->cmd = buf_getstring(ses.payload, &cmdlen);
585 if (cmdlen > MAX_CMD_LEN) {
592 if ((cmdlen == 4) && strncmp(chansess->cmd, "sftp", 4) == 0) {
/external/qemu/memcheck/
H A Dmemcheck_proc_management.c538 memcheck_set_cmd_line(const char* cmd_arg, unsigned cmdlen) argument
546 cmd_arg, cmdlen, current_tid);
551 * limitations of TRACE_XXX cmdlen can never exceed CLIENT_PAGE_SIZE */
552 memcpy(parsed, cmd_arg, cmdlen);
555 for (n = 0; n < cmdlen; n++) {
/external/valgrind/main/coregrind/m_gdbserver/
H A Dserver.c452 int cmdlen = strlen(p)/2; local
453 char cmd[cmdlen+1];
455 if (unhexify (cmd, p, cmdlen) != cmdlen) {
459 cmd[cmdlen] = '\0';
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dpcsc_funcs.c797 int cmdlen; local
816 cmdlen = 5 + aidlen;
820 cmdlen = 7;
823 ret = scard_transmit(scard, cmd, cmdlen, resp, &len);
1228 int cmdlen; local
1239 cmdlen = 5 + 16;
1242 cmdlen = 5 + 1 + 16;
1250 ret = scard_transmit(scard, cmd, cmdlen, resp, &len);
/external/wpa_supplicant_8/src/utils/
H A Dpcsc_funcs.c797 int cmdlen; local
816 cmdlen = 5 + aidlen;
820 cmdlen = 7;
823 ret = scard_transmit(scard, cmd, cmdlen, resp, &len);
1228 int cmdlen; local
1239 cmdlen = 5 + 16;
1242 cmdlen = 5 + 1 + 16;
1250 ret = scard_transmit(scard, cmd, cmdlen, resp, &len);
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dpcsc_funcs.c797 int cmdlen; local
816 cmdlen = 5 + aidlen;
820 cmdlen = 7;
823 ret = scard_transmit(scard, cmd, cmdlen, resp, &len);
1228 int cmdlen; local
1239 cmdlen = 5 + 16;
1242 cmdlen = 5 + 1 + 16;
1250 ret = scard_transmit(scard, cmd, cmdlen, resp, &len);
/external/openssh/
H A Dsftp.c1605 u_int y, count = 0, cmdlen, tmplen; local
1626 cmdlen = strlen(cmd);
1628 if (!strncasecmp(cmd, cmds[y].c, cmdlen))
1647 cmdlen = strlen(cmd);
1649 if (tmplen > cmdlen)
1650 if (el_insertstr(el, tmp + cmdlen) == -1)
/external/mksh/src/
H A Dedit.c3607 static int cmdlen, argc1, argc2; local
3635 cmdlen = 0;
3641 curcmd[cmdlen++] = ch;
3686 curcmd[cmdlen++] = ch;
3698 curcmd[cmdlen++] = ch;
3716 curcmd[cmdlen++] = ch;
3730 curcmd[cmdlen++] = ch;
/external/valgrind/main/coregrind/m_debuginfo/
H A Dreadpdb.c2435 Int cmdlen = VG_(strlen)(strings) + VG_(strlen)(pename) local
2438 HChar* cmd = ML_(dinfo_zalloc)("di.readpe.fnopf.cmd", cmdlen);
2442 vg_assert(cmd[cmdlen-1] == 0);

Completed in 399 milliseconds