/external/boringssl/src/ssl/ |
bio_ssl.cc | 93 static long ssl_ctrl(BIO *bio, int cmd, long num, void *ptr) { 95 if (ssl == NULL && cmd != BIO_C_SET_SSL) { 99 switch (cmd) { 114 return BIO_ctrl(SSL_get_wbio(ssl), cmd, num, ptr); 121 long ret = BIO_ctrl(SSL_get_wbio(ssl), cmd, num, ptr); 132 return BIO_ctrl(SSL_get_rbio(ssl), cmd, num, ptr); 155 static long ssl_callback_ctrl(BIO *bio, int cmd, bio_info_cb fp) { 161 switch (cmd) { 166 return BIO_callback_ctrl(SSL_get_rbio(ssl), cmd, fp);
|
/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/ |
test_per_cpu_allocator_module.c | 150 const struct alloc_cmd *cmd = &cmds[i]; local 152 if (cmd->size) { 154 cmd->size, cmd->marker); 155 ptrs[i] = __alloc_percpu(cmd->size, 159 fill_area(ptrs[i], cmd->size, i); 162 cmd->size); 166 printk("FREE: marker=%d\n", cmd->marker); 169 if (cmds[j].marker == cmd->marker)
|
/external/python/cpython3/Lib/distutils/tests/ |
test_config.py | 91 cmd = self._cmd(self.dist) 92 config = cmd._read_pypirc() 102 config = cmd._read_pypirc() 110 cmd = self._cmd(self.dist) 111 rc = cmd._get_rc_file() 113 cmd._store_pypirc('tarek', 'xxx') 125 cmd = self._cmd(self.dist) 126 cmd.repository = 'server3' 127 config = cmd._read_pypirc()
|
/external/skia/infra/bots/recipe_modules/flavor/ |
ios_flavor.py | 16 self.m.run(self.m.step, 'setup_device', cmd=['ios.py'], infra_step=True) 27 cmd=['ideviceinstaller', '-U', 'com.google.%s' % app_name], 34 cmd=['ideviceinstaller', '-i', app_package], 47 def step(self, name, cmd, env=None, **kwargs): 48 bundle_id = 'com.google.%s' % cmd[0] 50 cmd=['idevice-app-runner', '-s', bundle_id, '--args'] + 51 map(str, cmd[1:])) 57 cmd = [full, first] + list(rest), 80 cmd = [full, path],
|
/external/skqp/infra/bots/recipe_modules/flavor/ |
ios_flavor.py | 16 self.m.run(self.m.step, 'setup_device', cmd=['ios.py'], infra_step=True) 27 cmd=['ideviceinstaller', '-U', 'com.google.%s' % app_name], 34 cmd=['ideviceinstaller', '-i', app_package], 47 def step(self, name, cmd, env=None, **kwargs): 48 bundle_id = 'com.google.%s' % cmd[0] 50 cmd=['idevice-app-runner', '-s', bundle_id, '--args'] + 51 map(str, cmd[1:])) 57 cmd = [full, first] + list(rest), 80 cmd = [full, path],
|
/system/vold/model/ |
Disk.cpp | 317 std::vector<std::string> cmd; local 318 cmd.push_back(kSgdiskPath); 319 cmd.push_back("--android-dump"); 320 cmd.push_back(mDevPath); 323 status_t res = ForkExecvp(cmd, output); 428 std::vector<std::string> cmd; local 429 cmd.push_back(kSgdiskPath); 430 cmd.push_back("--zap-all"); 431 cmd.push_back(mDevPath); 435 if ((res = ForkExecvp(cmd)) != 0) 467 std::vector<std::string> cmd; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
wpa_cli.c | 68 static void print_help(const char *cmd); 221 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print) 233 ifname_prefix, cmd); 235 cmd = buf; 238 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, 241 printf("'%s' command timed out.\n", cmd); 244 printf("'%s' command failed.\n", cmd); 257 static int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) 259 return _wpa_ctrl_command(ctrl, cmd, 1) 411 char cmd[256]; local 670 char cmd[256]; local 798 char cmd[256]; local 930 char cmd[256]; local 1009 char cmd[256], *pos, *end; local 1042 char cmd[256], *pos, *end; local 1076 char cmd[256], *pos, *end; local 1109 char cmd[256], *pos, *end; local 1141 char cmd[256], *pos, *end; local 1174 char cmd[256], *pos, *end; local 1207 char cmd[256], *pos, *end; local 1729 char cmd[256]; local 1840 char addr[32], cmd[64]; local 1855 char addr[32], cmd[64]; local 2134 char cmd[4096]; local 2158 char cmd[4096]; local 2225 char cmd[4096]; local 2322 char addr[32], cmd[64]; local 2474 char cmd[100]; local 2495 char cmd[100]; local 2583 char cmd[512]; local 2602 char cmd[512]; local 2928 const char *cmd; member in struct:wpa_cli_cmd 3687 char *cmd; local 3714 const struct wpa_cli_cmd *cmd, *match = NULL; local 4151 const char *cmd = "BSS RANGE=ALL MASK=0x2"; local 4182 const char *cmd = "INTERFACES"; local 4214 const char *cmd = "LIST_NETWORKS"; local 4244 char addr[32], cmd[64]; local [all...] |
/bionic/libc/bionic/ |
sys_sem.cpp | 35 int semctl(int id, int num, int cmd, ...) { 39 cmd |= IPC_64; 42 va_start(ap, cmd); 46 return syscall(SYS_semctl, id, num, cmd, arg); 48 return syscall(SYS_ipc, SEMCTL, id, num, cmd, &arg, 0);
|
/development/vndk/tools/definition-tool/tests/ |
ndk_toolchain.py | 94 cmd = [clang, '-o', obj_file, '-c', src_file] 95 cmd.extend(['-fPIE', '-fPIC']) 96 cmd.extend(['-gcc-toolchain', self.gcc_toolchain_dir]) 97 cmd.extend(['-target', self.target_triple]) 98 cmd.extend(['-isystem', self.ndk_include]) 99 cmd.extend(cflags) 100 cmd.extend(self.target_cflags) 101 subprocess.check_call(cmd) 113 cmd = [clang, '-o', out_file] 114 cmd.extend(['-fPIE', '-fPIC', '-Wl,--no-undefined', '-nostdlib'] [all...] |
/device/generic/goldfish/wifi/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 43 void* priv, char* cmd, char* buf, size_t buf_len) { 51 if (os_strcasecmp(cmd, "STOP") == 0) { 54 } else if (os_strcasecmp(cmd, "START") == 0) { 57 } else if (os_strcasecmp(cmd, "MACADDR") == 0) { 64 } else if (os_strcasecmp(cmd, "RELOAD") == 0) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
test_bdist.py | 25 cmd = bdist(dist)
26 cmd.formats = ['msi']
27 cmd.ensure_finalized()
28 self.assertEqual(cmd.formats, ['msi'])
37 founded = cmd.format_command.keys()
|
/external/autotest/client/common_lib/cros/ |
path_utils.py | 40 def must_be_installed(cmd, host=None): 42 Asserts that cmd is installed on a remote machine at some path and raises 45 @param cmd String name of the command to check for existence. 47 @return String full path of cmd on success. Error raised on failure. 53 if run('ls %s >/dev/null 2>&1' % cmd, 55 return cmd 58 cmd_base = os.path.basename(cmd) 63 error_msg = 'Unable to find %s' % cmd
|
/external/autotest/client/profilers/readprofile/ |
readprofile.py | 37 self.cmd = self.srcdir + '/sys-utils/readprofile' 41 utils.system(self.cmd + ' -r') 56 cmd = self.cmd + ' ' + args 58 utils.system(cmd + ' | sort -nr > ' + txtprofile)
|
/external/autotest/client/profilers/sar/ |
sar.py | 40 self.cmd = self.sar_path + " -o %s %d" 44 self.cmd = self.sar_path + " -o %s %d 0" 57 cmd = self.cmd % (raw, self.interval) 58 self.sar_process = subprocess.Popen(cmd, shell=True, stdout=logfile,
|
/external/autotest/client/tests/monotonic_time/ |
monotonic_time.py | 23 cmd = self.srcdir + '/time_test' 24 cmd += ' --duration ' + str(duration) 26 cmd += ' --threshold ' + str(threshold) 27 cmd += ' ' + test_type 29 self.results = utils.run(cmd, ignore_status=True)
|
/external/autotest/client/tests/selftest/ |
selftest.py | 44 def execute(self, cmd, *args): 45 if cmd == 'mark': 47 elif cmd == 'throw': 49 elif cmd == 'print': 51 elif cmd == 'warn':
|
/external/ltp/testcases/kernel/syscalls/request_key/ |
request_key02.c | 71 static int init_key(char *name, int cmd) 80 if (cmd == KEYCTL_REVOKE) { 81 if (keyctl(cmd, n) == -1) { 86 if (cmd == KEYCTL_SET_TIMEOUT) { 87 if (keyctl(cmd, n, sec) == -1) {
|
/external/ltp/tools/pounder21/src/time_tests/ |
drift-test.py | 55 cmd = commands.getoutput('/usr/sbin/ntpdate -ub ' + server) variable 57 cmd = commands.getoutput('/usr/sbin/ntpdate -uq ' + server) variable 58 line = string.split(cmd) 68 cmd = commands.getoutput('/usr/sbin/ntpdate -uq ' + server) variable 69 line = string.split(cmd)
|
/external/python/cpython3/Lib/test/ |
test_popen.py | 22 cmd = '%s -c "import sys; print(sys.argv)" %s' 23 cmd = cmd % (python, cmdline) 24 with os.popen(cmd) as p: 61 with os.popen(cmd="exit 0", mode="w", buffering=-1):
|
/external/skia/infra/bots/assets/linux_vulkan_sdk/ |
create_and_upload.py | 36 cmd = ['python', create_script, 39 subprocess.check_call(cmd) 40 cmd = ['python', upload_script, '-t', cwd] 42 cmd.extend(['--gsutil', args.gsutil]) 43 subprocess.check_call(cmd)
|
/external/skia/infra/bots/recipes/ |
housekeeper.py | 35 cmd=['python', api.core.resource('generate_and_upload_doxygen.py')], 38 cmd = ['python', api.core.resource('run_binary_size_analysis.py'), 44 cmd.extend(['--issue_number', str(api.properties['patch_issue'])]) 48 cmd=cmd,
|
/external/skqp/infra/bots/assets/linux_vulkan_sdk/ |
create_and_upload.py | 36 cmd = ['python', create_script, 39 subprocess.check_call(cmd) 40 cmd = ['python', upload_script, '-t', cwd] 42 cmd.extend(['--gsutil', args.gsutil]) 43 subprocess.check_call(cmd)
|
/external/skqp/infra/bots/assets/win_vulkan_sdk/ |
create_and_upload.py | 39 cmd = ['python', create_script, 43 subprocess.check_call(cmd) 44 cmd = ['python', upload_script, '-t', cwd] 46 cmd.extend(['--gsutil', args.gsutil]) 47 subprocess.check_call(cmd)
|
/external/skqp/infra/bots/recipes/ |
housekeeper.py | 35 cmd=['python', api.core.resource('generate_and_upload_doxygen.py')], 38 cmd = ['python', api.core.resource('run_binary_size_analysis.py'), 44 cmd.extend(['--issue_number', str(api.properties['patch_issue'])]) 48 cmd=cmd,
|
/external/strace/ |
ipc_msgctl.c | 55 print_msqid_ds(struct tcb *const tcp, const kernel_ulong_t addr, int cmd) 58 if (cmd & IPC_64) 59 cmd &= ~IPC_64; 61 switch (cmd) { 73 if (cmd != IPC_STAT) {
|