/external/yaffs2/yaffs2/direct/ |
H A D | dtest.c | 244 void do_some_file_stuff(const char *path) argument 249 sprintf(fn,"%s/%s",path,"f1"); 252 sprintf(fn,"%s/%s",path,"fdel"); 256 sprintf(fn,"%s/%s",path,"f2"); 261 void yaffs_backward_scan_test(const char *path) argument 267 yaffs_mount(path); 269 do_some_file_stuff(path); 271 sprintf(fn,"%s/ddd",path); 277 yaffs_unmount(path); 279 yaffs_mount(path); 285 yaffs_device_flush_test(const char *path) argument 313 short_scan_test(const char *path, int fsize, int niterations) argument 334 scan_pattern_test(const char *path, int fsize, int niterations) argument 365 fill_disk(char *path,int nfiles) argument 391 fill_disk_and_delete(char *path, int nfiles, int ncycles) argument 412 fill_files(char *path,int flags, int maxIterations,int siz) argument 452 leave_unlinked_file(char *path,int maxIterations,int siz) argument 591 PermissionsCheck(const char *path, mode_t tmode, int tflags,int expectedResult) argument 864 huge_directory_test_on_path(char *path) argument 927 yaffs_scan_test(const char *path) argument 957 resize_stress_test(const char *path) argument 1021 resize_stress_test_no_grow_complex(const char *path,int iters) argument 1094 resize_stress_test_no_grow(const char *path,int iters) argument [all...] |
H A D | yaffsfs.c | 35 static yaffs_Object *yaffsfs_FindObject(yaffs_Object *relativeDirectory, const char *path, int symDepth); 135 // Stuff to search for a directory from a path 149 static yaffs_Device *yaffsfs_FindDevice(const char *path, char **restOfPath) argument 163 leftOver = path; 177 (!*leftOver || *leftOver == '/') && // no more in this path name part 190 static yaffs_Object *yaffsfs_FindRoot(const char *path, char **restOfPath) argument 195 dev= yaffsfs_FindDevice(path,restOfPath); 226 // Parse a path to determine the directory and the name within the directory. 229 static yaffs_Object *yaffsfs_DoFindDirectory(yaffs_Object *startDir,const char *path,char **name,int symDepth) argument 244 restOfPath = (char *)path; 312 yaffsfs_FindDirectory(yaffs_Object *relativeDirectory,const char *path,char **name,int symDepth) argument 319 yaffsfs_FindObject(yaffs_Object *relativeDirectory, const char *path,int symDepth) argument 336 yaffs_open(const char *path, int oflag, int mode) argument 705 yaffsfs_DoUnlink(const char *path,int isDirectory) argument 752 yaffs_rmdir(const char *path) argument 757 yaffs_unlink(const char *path) argument 864 yaffsfs_DoStatOrLStat(const char *path, struct yaffs_stat *buf,int doLStat) argument 894 yaffs_stat(const char *path, struct yaffs_stat *buf) argument 899 yaffs_lstat(const char *path, struct yaffs_stat *buf) argument 948 yaffs_chmod(const char *path, mode_t mode) argument 999 yaffs_mkdir(const char *path, mode_t mode) argument 1025 yaffs_mount(const char *path) argument 1065 yaffs_unmount(const char *path) argument 1121 yaffs_freespace(const char *path) argument 1379 yaffs_readlink(const char *path, char *buf, int bufsiz) argument 1472 yaffs_DumpDevStruct(const char *path) argument [all...] |
/external/yaffs2/yaffs2/utils/ |
H A D | mkyaffs2image.c | 326 static void fix_stat(const char *path, struct stat *s) argument 329 path += source_path_len; 330 fs_config(path, S_ISDIR(s->st_mode), &s->st_uid, &s->st_gid, &s->st_mode, &capabilities); 333 static int process_directory(int parent, const char *path, int fixstats) argument 342 dir = opendir(path); 360 sprintf(full_name,"%s/%s",path,entry->d_name);
|
H A D | mkyaffsimage.c | 384 static int process_directory(int parent, const char *path) argument 392 dir = opendir(path); 408 sprintf(full_name,"%s/%s",path,entry->d_name);
|
/external/zlib/src/contrib/minizip/ |
H A D | unzip.c | 576 Open a Zip file. path contain the full pathname (by example, 584 local unzFile unzOpenInternal (const void *path, argument 617 path, 765 extern unzFile ZEXPORT unzOpen2 (const char *path, argument 772 return unzOpenInternal(path, &zlib_filefunc64_32_def_fill, 0); 775 return unzOpenInternal(path, NULL, 0); 778 extern unzFile ZEXPORT unzOpen2_64 (const void *path, argument 787 return unzOpenInternal(path, &zlib_filefunc64_32_def_fill, 1); 790 return unzOpenInternal(path, NULL, 1); 793 extern unzFile ZEXPORT unzOpen (const char *path) argument 798 unzOpen64(const void *path) argument [all...] |
/external/zlib/src/examples/ |
H A D | gzlog.c | 292 char *path; /* allocated path, e.g. "/var/log/foo" or "foo" */ member in struct:log 293 char *end; /* end of path, for appending suffices such as ".gz" */ 344 on failure, usually due to an access restriction or invalid path. Note that 354 while ((fd = open(log->path, O_CREAT | O_EXCL, 0644)) < 0) { 357 if (stat(log->path, &st) == 0 && time(NULL) - st.st_mtime > PATIENCE) { 358 unlink(log->path); 364 if (stat(log->path, &st) == 0) 377 utimes(log->path, NULL); 378 if (stat(log->path, 865 gzlog_open(char *path) argument [all...] |
/external/zlib/src/ |
H A D | gzguts.h | 170 char *path; /* path or fd for error messages */ member in struct:__anon34354
|
H A D | gzlib.c | 91 local gzFile gz_open(path, fd, mode) 92 const void *path; 107 if (path == NULL) 190 /* save the path name for error messages */ 193 len = wcstombs(NULL, path, 0); 199 len = strlen((const char *)path); 200 state->path = (char *)malloc(len + 1); 201 if (state->path == NULL) { 208 wcstombs(state->path, path, le 288 char *path; /* identifier for error messages */ local [all...] |
/external/zopfli/src/zopfli/ |
H A D | squeeze.c | 308 Calculates the optimal path of lz77 lengths to use, from the calculated 310 byte. The path will be filled with the lengths to use, so its data size will be 314 unsigned short** path, size_t* pathsize) { 318 ZOPFLI_APPEND_DATA(length_array[index], path, pathsize); 328 unsigned short temp = (*path)[index]; 329 (*path)[index] = (*path)[*pathsize - index - 1]; 330 (*path)[*pathsize - index - 1] = temp; 336 unsigned short* path, size_t pathsize, 357 unsigned short length = path[ 313 TraceBackwards(size_t size, const unsigned short* length_array, unsigned short** path, size_t* pathsize) argument 334 FollowPath(ZopfliBlockState* s, const unsigned char* in, size_t instart, size_t inend, unsigned short* path, size_t pathsize, ZopfliLZ77Store* store) argument 431 LZ77OptimalRun(ZopfliBlockState* s, const unsigned char* in, size_t instart, size_t inend, unsigned short** path, size_t* pathsize, unsigned short* length_array, CostModelFun* costmodel, void* costcontext, ZopfliLZ77Store* store) argument 454 unsigned short* path = 0; local 531 unsigned short* path = 0; local [all...] |
/external/webrtc/src/modules/audio_processing/test/testsupport/ |
H A D | fileutils.cc | 72 std::string path = ProjectRootPath(); local 73 if (path == kCannotFindProjectRootDir) { 76 path += kOutputDirName; 77 if (!CreateDirectory(path)) { 80 return path + kPathDelimiter; 95 // Check if the path exists already:
|
H A D | fileutils_unittest.cc | 99 // Tests that the project root path is returned for the default working 105 std::string path = webrtc::test::ProjectRootPath(); local 108 ASSERT_EQ(path.length() - expected_end.length(), path.find(expected_end)); 113 std::string path = webrtc::test::OutputPath(); local 116 ASSERT_EQ(path.length() - expected_end.length(), path.find(expected_end)); 120 // deeper from the current one. Then testing that the project path returned 123 std::string path = webrtc::test::ProjectRootPath(); local 124 std::string original_working_dir = path; // Thi 132 std::string path = webrtc::test::OutputPath(); local [all...] |
/external/webrtc/test/testsupport/ |
H A D | fileutils.cc | 72 std::string path = ProjectRootPath(); local 73 if (path == kCannotFindProjectRootDir) { 76 path += kOutputDirName; 77 if (!CreateDirectory(path)) { 80 return path + kPathDelimiter; 95 // Check if the path exists already:
|
H A D | fileutils_unittest.cc | 99 // Tests that the project root path is returned for the default working 105 std::string path = webrtc::test::ProjectRootPath(); local 108 ASSERT_EQ(path.length() - expected_end.length(), path.find(expected_end)); 113 std::string path = webrtc::test::OutputPath(); local 116 ASSERT_EQ(path.length() - expected_end.length(), path.find(expected_end)); 120 // deeper from the current one. Then testing that the project path returned 123 std::string path = webrtc::test::ProjectRootPath(); local 124 std::string original_working_dir = path; // Thi 132 std::string path = webrtc::test::OutputPath(); local [all...] |
/external/wpa_supplicant_8/hostapd/ |
H A D | hlr_auc_gw.c | 245 static int open_socket(const char *path) argument 258 os_strlcpy(addr.sun_path, path, sizeof(addr.sun_path)); 1011 "hlr_auc_gw [-hu] [-s<socket path>] [-g<triplet file>] " 1018 " -s<socket path> = path for UNIX domain socket\n" 1020 " -g<triplet file> = path for GSM authentication triplets\n" 1021 " -m<milenage file> = path for Milenage keys\n" 1022 " -D<DB file> = path to SQLite database\n"
|
H A D | main.c | 450 " -g global control interface path\n" 479 const char *path) 483 interfaces->global_iface_path = os_strdup(path); 478 hostapd_get_global_ctrl_iface(struct hapd_interfaces *interfaces, const char *path) argument
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_test.c | 1183 printf("Too long test_socket path\n"); 1275 const char *path) 1283 dir = opendir(path); 1330 path, dent->d_name); 1274 wpa_driver_scan_dir(struct wpa_driver_test_data *drv, const char *path) argument
|
H A D | driver_wext.c | 800 char path[128]; local 809 os_snprintf(path, sizeof(path), "/sys/class/net/%s/phy80211", ifname); 810 if (stat(path, &buf) == 0) {
|
H A D | linux_ioctl.c | 206 char path[128], brlink[128], *pos; local 209 os_snprintf(path, sizeof(path), "/sys/class/net/%s/brport/bridge", 211 res = readlink(path, brlink, sizeof(brlink));
|
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | tncc.c | 59 char *path; member in struct:tnc_if_imc 396 if (imc->path == NULL) { 402 imc->name, imc->path); 406 TCHAR *lib = wpa_strdup_tchar(imc->path); 413 imc->dlhandle = LoadLibrary(imc->path); 417 imc->name, imc->path, (int) GetLastError()); 421 imc->dlhandle = dlopen(imc->path, RTLD_LAZY); 424 imc->name, imc->path, dlerror()); 457 os_free(imc->path); 975 imc->path [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | tncs.c | 40 char *path; member in struct:tnc_if_imv 442 if (imv->path == NULL) { 448 imv->name, imv->path); 449 imv->dlhandle = dlopen(imv->path, RTLD_LAZY); 452 imv->name, imv->path, dlerror()); 474 os_free(imv->path); 1013 imv->path = os_strdup(pos);
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | tlsv1_cred.c | 186 * @path: Path to CA certificates (not yet supported) 191 const char *path) 197 if (path) { 189 tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len, const char *path) argument
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | wpa_debug.c | 129 char *line, *tmp1, *path = NULL; local 152 path = tmp_path; 159 if (path == NULL) { 164 snprintf(buf, sizeof(buf) - 1, "%s/tracing/trace_marker", path); 526 wpa_printf(MSG_ERROR, "Last-path was not set, cannot " 537 int wpa_debug_open_file(const char *path) argument 540 if (!path) 543 if (last_path == NULL || os_strcmp(last_path, path) != 0) { 544 /* Save our path to enable re-open */ 546 last_path = os_strdup(path); [all...] |
H A D | xml-utils.c | 64 xml_node_t *root, const char *path) 70 end = os_strchr(path, '/'); 77 if (os_strcasecmp(name, path) == 0) 90 const char *path) 95 search = os_strdup(path); 107 const char *path) 114 match = get_node(ctx, node, path); 340 char *nodename, *value, *path; local 359 path = get_node_text(ctx, node, "Path"); 360 if (path) 63 get_node_iter(struct xml_node_ctx *ctx, xml_node_t *root, const char *path) argument 89 get_node(struct xml_node_ctx *ctx, xml_node_t *root, const char *path) argument 106 get_child_node(struct xml_node_ctx *ctx, xml_node_t *root, const char *path) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | http_client.c | 196 char *u, *addr, *port, *path; local 205 path = os_strchr(addr, '/'); 207 if (path == NULL) { 208 path = "/"; 210 *path = '\0'; /* temporary nul termination for address */ 211 if (port > path) 231 if (*path == '\0') { 233 *path = '/'; 236 *ret_path = path; 251 char *u, *path; local [all...] |
H A D | wps_er.c | 225 char *url, *path; local 239 url = http_client_url_parse(ap->event_sub_url, &dst, &path); 256 path, inet_ntoa(dst.sin_addr), ntohs(dst.sin_port), sid); 430 char *url, *path; local 443 url = http_client_url_parse(ap->event_sub_url, &dst, &path); 461 path, inet_ntoa(dst.sin_addr), ntohs(dst.sin_port), 897 const char *path, 926 path, inet_ntoa(dst->sin_addr), ntohs(dst->sin_port)); 968 char *url, *path; local 983 url = http_client_url_parse(sta->ap->control_url, &dst, &path); 895 wps_er_soap_hdr(const struct wpabuf *msg, const char *name, const char *arg_name, const char *path, const struct sockaddr_in *dst, char **len_ptr, char **body_ptr) argument 1426 char *url, *path; local 1696 char *url, *path; local 1859 char *url, *path; local [all...] |