Home
last modified time | relevance | path

Searched refs:tmp_name (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/test/
DPCMFile.cc51 char tmp_name[MAX_FILE_NAME_LENGTH_BYTE]; in ChooseFile() local
53 EXPECT_TRUE(fgets(tmp_name, MAX_FILE_NAME_LENGTH_BYTE, stdin) != NULL); in ChooseFile()
54 tmp_name[MAX_FILE_NAME_LENGTH_BYTE - 1] = '\0'; in ChooseFile()
58 while ((isspace(tmp_name[n]) || iscntrl(tmp_name[n])) && (tmp_name[n] != 0) in ChooseFile()
63 memmove(tmp_name, &tmp_name[n], MAX_FILE_NAME_LENGTH_BYTE - n); in ChooseFile()
67 n = (int16_t)(strlen(tmp_name) - 1); in ChooseFile()
69 while ((isspace(tmp_name[n]) || iscntrl(tmp_name[n])) && (n >= 0)) { in ChooseFile()
74 tmp_name[n + 1] = '\0'; in ChooseFile()
77 int16_t len = (int16_t) strlen(tmp_name); in ChooseFile()
82 std::string tmp_string(tmp_name, len + 1); in ChooseFile()
[all …]
/external/v8/tools/
Ddisasm.py58 tmp_name = None
64 tmp_name = tmp_file.name
68 filename, tmp_name, size, offset,
70 tmp_name)
88 if tmp_name:
89 os.unlink(tmp_name)
/external/selinux/libsemanage/src/
Duser_extra_record.c91 char *tmp_name = strdup(name); in semanage_user_extra_set_name() local
92 if (!tmp_name) { in semanage_user_extra_set_name()
98 user_extra->name = tmp_name; in semanage_user_extra_set_name()
Dseuser_record.c127 char *tmp_name = strdup(name); in hidden_def() local
128 if (!tmp_name) { in hidden_def()
133 seuser->name = tmp_name; in hidden_def()
Duser_record.c106 char *tmp_name = strdup(name); in hidden_def() local
107 if (!tmp_name) in hidden_def()
117 user->name = tmp_name; in hidden_def()
125 free(tmp_name); in hidden_def()
/external/selinux/libsepol/src/
Dboolean_record.c103 char *tmp_name = strdup(name); in hidden_def() local
104 if (!tmp_name) { in hidden_def()
109 boolean->name = tmp_name; in hidden_def()
Diface_record.c132 char *tmp_name = strdup(name); in hidden_def() local
133 if (!tmp_name) { in hidden_def()
138 iface->name = tmp_name; in hidden_def()
Duser_record.c108 char *tmp_name = strdup(name); in sepol_user_set_name() local
109 if (!tmp_name) { in sepol_user_set_name()
114 user->name = tmp_name; in sepol_user_set_name()
/external/syslinux/gpxe/src/core/
Dsettings.c905 char *tmp_name ) { in parse_setting_name() argument
918 strcpy ( tmp_name, name ); in parse_setting_name()
919 if ( ( setting_name = strchr ( tmp_name, '/' ) ) != NULL ) { in parse_setting_name()
921 settings_name = tmp_name; in parse_setting_name()
923 setting_name = tmp_name; in parse_setting_name()
974 char tmp_name[ strlen ( name ) + 1 ]; in storef_named_setting() local
978 &settings, &setting, tmp_name )) != 0) in storef_named_setting()
994 char tmp_name[ strlen ( name ) + 1 ]; in fetchf_named_setting() local
998 &settings, &setting, tmp_name )) != 0) in fetchf_named_setting()
/external/e2fsprogs/resize/
Dmain.c176 char *dev_name, *tmp_name; in resize2fs_setup_tdb() local
206 tmp_name = strdup(device); in resize2fs_setup_tdb()
207 if (!tmp_name) in resize2fs_setup_tdb()
209 dev_name = basename(tmp_name); in resize2fs_setup_tdb()
212 free(tmp_name); in resize2fs_setup_tdb()
216 free(tmp_name); in resize2fs_setup_tdb()
/external/e2fsprogs/misc/
De2undo.c219 char *dev_name, *tmp_name; in e2undo_setup_tdb() local
249 tmp_name = strdup(name); in e2undo_setup_tdb()
250 if (!tmp_name) in e2undo_setup_tdb()
252 dev_name = basename(tmp_name); in e2undo_setup_tdb()
255 free(tmp_name); in e2undo_setup_tdb()
259 free(tmp_name); in e2undo_setup_tdb()
Dtune2fs.c2599 char *dev_name, *tmp_name; in tune2fs_setup_tdb() local
2629 tmp_name = strdup(name); in tune2fs_setup_tdb()
2630 if (!tmp_name) in tune2fs_setup_tdb()
2632 dev_name = basename(tmp_name); in tune2fs_setup_tdb()
2635 free(tmp_name); in tune2fs_setup_tdb()
2639 free(tmp_name); in tune2fs_setup_tdb()
Dmke2fs.c2555 char *dev_name, *tmp_name; in mke2fs_setup_tdb() local
2592 tmp_name = strdup(name); in mke2fs_setup_tdb()
2593 if (!tmp_name) in mke2fs_setup_tdb()
2595 dev_name = basename(tmp_name); in mke2fs_setup_tdb()
2598 free(tmp_name); in mke2fs_setup_tdb()
2602 free(tmp_name); in mke2fs_setup_tdb()
/external/toolchain-utils/
Dverify_compiler.py97 tmp_name = os.path.basename(filename) + '.dwarf'
98 dwarf_file = os.path.join(tmp_dir, tmp_name)
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig_file.c1440 char *tmp_name = os_malloc(tmp_len); in wpa_config_write() local
1442 if (tmp_name) { in wpa_config_write()
1443 os_snprintf(tmp_name, tmp_len, "%s.tmp", name); in wpa_config_write()
1444 name = tmp_name; in wpa_config_write()
1452 os_free(tmp_name); in wpa_config_write()
1489 if (tmp_name) { in wpa_config_write()
1493 chmod_ret = chmod(tmp_name, in wpa_config_write()
1496 if (chmod_ret != 0 || rename(tmp_name, orig_name) != 0) in wpa_config_write()
1499 os_free(tmp_name); in wpa_config_write()
/external/e2fsprogs/e2fsck/
Dunix.c1240 char *dev_name, *tmp_name; in e2fsck_setup_tdb() local
1278 tmp_name = strdup(ctx->filesystem_name); in e2fsck_setup_tdb()
1279 if (!tmp_name) in e2fsck_setup_tdb()
1281 dev_name = basename(tmp_name); in e2fsck_setup_tdb()
1284 free(tmp_name); in e2fsck_setup_tdb()
1288 free(tmp_name); in e2fsck_setup_tdb()
/external/libevent/
Devdns.c1005 char tmp_name[256], cmp_name[256]; /* used by the macros */ in reply_parse() local
1042 do { tmp_name[0] = '\0'; \ in reply_parse()
1043 if (name_parse(packet, length, &j, tmp_name, \ in reply_parse()
1044 sizeof(tmp_name))<0) \ in reply_parse()
1048 do { tmp_name[0] = '\0'; \ in reply_parse()
1051 if (name_parse(packet, length, &j, tmp_name, \ in reply_parse()
1052 sizeof(tmp_name))<0) \ in reply_parse()
1058 if (strcmp(tmp_name, cmp_name) == 0) \ in reply_parse()
1061 if (evutil_ascii_strcasecmp(tmp_name, cmp_name) == 0) \ in reply_parse()
1206 char tmp_name[256]; /* used by the macros */ in request_parse() local
[all …]
/external/e2fsprogs/debugfs/
Ddebugfs.c64 char *dev_name, *tmp_name; in debugfs_setup_tdb() local
94 tmp_name = strdup(device_name); in debugfs_setup_tdb()
95 if (!tmp_name) in debugfs_setup_tdb()
97 dev_name = basename(tmp_name); in debugfs_setup_tdb()
100 free(tmp_name); in debugfs_setup_tdb()
104 free(tmp_name); in debugfs_setup_tdb()
/external/toybox/toys/pending/
Ddiff.c180 char tmp_name[] = "/tmp/diffXXXXXX"; in read_stdin() local
181 int rd, wr, tmpfd = mkstemp(tmp_name); in read_stdin()
184 unlink(tmp_name); in read_stdin()
/external/mesa3d/src/compiler/glsl/
Dir.cpp1502 const char ir_variable::tmp_name[] = "compiler_temp"; member in ir_variable
1521 assert(name != ir_variable::tmp_name in ir_variable()
1524 && (name == NULL || name == ir_variable::tmp_name)) { in ir_variable()
1525 this->name = ir_variable::tmp_name; in ir_variable()
Dir.h602 return this->name != ir_variable::tmp_name && in is_name_ralloced()
1008 static const char tmp_name[]; variable