/external/ltp/testcases/kernel/fs/fs-bench/ |
H A D | create-files.c | 19 void changedir(char *dir); 92 void changedir(char *dir) argument 94 if (chdir(dir) < 0) { 95 perror(dir);
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
H A D | pipe07.c | 109 DIR *dir = opendir("/proc/self/fd"); local 113 if (dir == NULL) 116 dir_fd = dirfd(dir); 123 while ((file = readdir(dir))) { 143 closedir(dir);
|
/external/ltp/tools/top-LTP/proc/ |
H A D | compare.c | 299 void register_sort_function(int dir, cmp_t func) argument 302 sort_direction[sort_depth++] = dir;
|
/external/mesa3d/src/gallium/targets/egl-static/ |
H A D | egl_st.c | 50 dlopen_gl_lib_cb(const char *dir, size_t len, void *callback_data) argument 59 (int)len, dir, name);
|
/external/openssh/openbsd-compat/ |
H A D | getcwd.c | 41 #include <sys/dir.h> 55 DIR *dir = NULL; local 148 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s)) 162 if (!(dp = readdir(dir))) 169 if (!(dp = readdir(dir))) 211 (void)closedir(dir); 232 if (dir) 233 (void)closedir(dir);
|
/external/openssh/ |
H A D | sftp-glob.c | 39 SFTP_DIRENT **dir; member in struct:SFTP_OPENDIR 54 if (do_readdir(cur.conn, (char *)path, &r->dir)) { 74 if (od->dir[od->offset] == NULL) 84 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); 86 strlcpy(ret->d_name, od->dir[od->offset++]->filename, 106 free_sftp_dirents(od->dir);
|
/external/skia/gm/ |
H A D | nested.cpp | 49 static void AddShape(SkPath* path, const SkRect& rect, Shapes shape, SkPath::Direction dir) { argument 52 path->addRect(rect, dir); 57 path->addRRect(rr, dir); 61 path->addOval(rect, dir);
|
/external/skia/samplecode/ |
H A D | SampleEffects.cpp | 32 SkScalar dir[3] = { 1, 1, 1}; local 34 SkBlurMaskFilter::MakeEmboss(SkBlurMask::ConvertRadiusToSigma(1), dir, 0.1f, 0.05f));
|
/external/skia/src/core/ |
H A D | SkDataTable.cpp | 36 SkDataTable::SkDataTable(const Dir* dir, int count, FreeProc proc, void* ctx) { argument 41 fU.fDir = dir; 101 Dir* dir = (Dir*)buffer; local 102 char* elem = (char*)(dir + count); 104 dir[i].fPtr = elem; 105 dir[i].fSize = sizes[i]; 110 return sk_sp<SkDataTable>(new SkDataTable(dir, count, malloc_freeproc, buffer));
|
H A D | SkPathPriv.h | 21 static FirstDirection AsFirstDirection(SkPath::Direction dir) { argument 23 return (FirstDirection)dir; 30 static FirstDirection OppositeFirstDirection(FirstDirection dir) { argument 34 return gOppositeDir[dir]; 39 * contour. If it can be computed, return true and set dir to that 41 * the dir parameter. If the direction was determined, it is cached to make 44 static bool CheapComputeFirstDirection(const SkPath&, FirstDirection* dir); 49 * specified direction. If dir is kUnknown, returns true if the direction 52 static bool CheapIsFirstDirection(const SkPath& path, FirstDirection dir) { argument 55 return computedDir == dir; [all...] |
/external/skia/tests/ |
H A D | PathOpsBuilderTest.cpp | 33 SkPath::Direction dir; local 34 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); 36 REPORTER_ASSERT(reporter, dir == SkPath::kCCW_Direction); 45 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); 47 REPORTER_ASSERT(reporter, dir == SkPath::kCCW_Direction); 61 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir));
|
/external/smali/smali/src/main/java/org/jf/smali/ |
H A D | main.java | 296 private static void getSmaliFilesInDir(@Nonnull File dir, @Nonnull Set<File> smaliFiles) { argument 297 File[] files = dir.listFiles();
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
H A D | PyImportTest.java | 124 public boolean accept(File dir, String name) { argument 127 File canonicalFile = new File(dir, canonicalFileName);
|
/external/strace/ |
H A D | ioctlsort.c | 42 unsigned int dir; member in struct:ioctlent 91 (e->dir << _IOC_DIRSHIFT); 128 ioctls[i].dir =
|
/external/swiftshader/src/Renderer/ |
H A D | RoutineCache.hpp | 55 char dirName[1024]; sprintf(dirName, "%s.dir", precache); 58 FILE *dir = fopen(dirName, "rb"); local 61 while(precacheDLL && dir) 67 size_t bytes = fread(&state, 1, sizeof(State), dir); 68 bytes += fread(&offset, 1, sizeof(offset), dir); 69 bytes += fread(&size, 1, sizeof(size), dir); 85 if(dir) 87 fclose(dir); 98 char dirName[1024]; sprintf(dirName, "%s.dir", precache); 103 FILE *dir local [all...] |
/external/toybox/lib/ |
H A D | dirtree.c | 135 DIR *dir; local 138 if (node->dirfd == -1 || !(dir = fdopendir(node->dirfd))) { 153 while ((entry = readdir(dir))) { 170 closedir(dir);
|
/external/valgrind/coregrind/m_gdbserver/ |
H A D | valgrind-low-arm.c | 179 transfer_direction dir, int size, Bool *mod) 191 case 0: VG_(transfer) (&arm->guest_R0, buf, dir, size, mod); break; 192 case 1: VG_(transfer) (&arm->guest_R1, buf, dir, size, mod); break; 193 case 2: VG_(transfer) (&arm->guest_R2, buf, dir, size, mod); break; 194 case 3: VG_(transfer) (&arm->guest_R3, buf, dir, size, mod); break; 195 case 4: VG_(transfer) (&arm->guest_R4, buf, dir, size, mod); break; 196 case 5: VG_(transfer) (&arm->guest_R5, buf, dir, size, mod); break; 197 case 6: VG_(transfer) (&arm->guest_R6, buf, dir, size, mod); break; 198 case 7: VG_(transfer) (&arm->guest_R7, buf, dir, size, mod); break; 199 case 8: VG_(transfer) (&arm->guest_R8, buf, dir, siz 178 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument [all...] |
H A D | valgrind-low-arm64.c | 140 transfer_direction dir, int size, Bool *mod) 152 case 0: VG_(transfer) (&arm->guest_X0, buf, dir, size, mod); break; 153 case 1: VG_(transfer) (&arm->guest_X1, buf, dir, size, mod); break; 154 case 2: VG_(transfer) (&arm->guest_X2, buf, dir, size, mod); break; 155 case 3: VG_(transfer) (&arm->guest_X3, buf, dir, size, mod); break; 156 case 4: VG_(transfer) (&arm->guest_X4, buf, dir, size, mod); break; 157 case 5: VG_(transfer) (&arm->guest_X5, buf, dir, size, mod); break; 158 case 6: VG_(transfer) (&arm->guest_X6, buf, dir, size, mod); break; 159 case 7: VG_(transfer) (&arm->guest_X7, buf, dir, size, mod); break; 160 case 8: VG_(transfer) (&arm->guest_X8, buf, dir, siz 139 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument [all...] |
H A D | valgrind-low-ppc32.c | 179 transfer_direction dir, int size, Bool *mod) 191 case 0: VG_(transfer) (&ppc32->guest_GPR0, buf, dir, size, mod); break; 192 case 1: VG_(transfer) (&ppc32->guest_GPR1, buf, dir, size, mod); break; 193 case 2: VG_(transfer) (&ppc32->guest_GPR2, buf, dir, size, mod); break; 194 case 3: VG_(transfer) (&ppc32->guest_GPR3, buf, dir, size, mod); break; 195 case 4: VG_(transfer) (&ppc32->guest_GPR4, buf, dir, size, mod); break; 196 case 5: VG_(transfer) (&ppc32->guest_GPR5, buf, dir, size, mod); break; 197 case 6: VG_(transfer) (&ppc32->guest_GPR6, buf, dir, size, mod); break; 198 case 7: VG_(transfer) (&ppc32->guest_GPR7, buf, dir, size, mod); break; 199 case 8: VG_(transfer) (&ppc32->guest_GPR8, buf, dir, siz 178 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument [all...] |
H A D | valgrind-low-ppc64.c | 176 transfer_direction dir, int size, Bool *mod) 188 case 0: VG_(transfer) (&ppc64->guest_GPR0, buf, dir, size, mod); break; 189 case 1: VG_(transfer) (&ppc64->guest_GPR1, buf, dir, size, mod); break; 190 case 2: VG_(transfer) (&ppc64->guest_GPR2, buf, dir, size, mod); break; 191 case 3: VG_(transfer) (&ppc64->guest_GPR3, buf, dir, size, mod); break; 192 case 4: VG_(transfer) (&ppc64->guest_GPR4, buf, dir, size, mod); break; 193 case 5: VG_(transfer) (&ppc64->guest_GPR5, buf, dir, size, mod); break; 194 case 6: VG_(transfer) (&ppc64->guest_GPR6, buf, dir, size, mod); break; 195 case 7: VG_(transfer) (&ppc64->guest_GPR7, buf, dir, size, mod); break; 196 case 8: VG_(transfer) (&ppc64->guest_GPR8, buf, dir, siz 175 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument [all...] |
H A D | valgrind-low-s390x.c | 121 transfer_direction dir, int size, Bool *mod) 134 case 1: VG_(transfer) (&s390x->guest_IA, buf, dir, size, mod); break; 135 case 2: VG_(transfer) (&s390x->guest_r0, buf, dir, size, mod); break; 136 case 3: VG_(transfer) (&s390x->guest_r1, buf, dir, size, mod); break; 137 case 4: VG_(transfer) (&s390x->guest_r2, buf, dir, size, mod); break; 138 case 5: VG_(transfer) (&s390x->guest_r3, buf, dir, size, mod); break; 139 case 6: VG_(transfer) (&s390x->guest_r4, buf, dir, size, mod); break; 140 case 7: VG_(transfer) (&s390x->guest_r5, buf, dir, size, mod); break; 141 case 8: VG_(transfer) (&s390x->guest_r6, buf, dir, size, mod); break; 142 case 9: VG_(transfer) (&s390x->guest_r7, buf, dir, siz 120 transfer_register(ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod) argument [all...] |
H A D | valgrind-low-tilegx.c | 145 transfer_direction dir, int size, Bool *mod ) 155 case 0: VG_(transfer) (&tilegx->guest_r0, buf, dir, size, mod); break; 156 case 1: VG_(transfer) (&tilegx->guest_r1, buf, dir, size, mod); break; 157 case 2: VG_(transfer) (&tilegx->guest_r2, buf, dir, size, mod); break; 158 case 3: VG_(transfer) (&tilegx->guest_r3, buf, dir, size, mod); break; 159 case 4: VG_(transfer) (&tilegx->guest_r4, buf, dir, size, mod); break; 160 case 5: VG_(transfer) (&tilegx->guest_r5, buf, dir, size, mod); break; 161 case 6: VG_(transfer) (&tilegx->guest_r6, buf, dir, size, mod); break; 162 case 7: VG_(transfer) (&tilegx->guest_r7, buf, dir, size, mod); break; 163 case 8: VG_(transfer) (&tilegx->guest_r8, buf, dir, siz 144 transfer_register( ThreadId tid, int abs_regno, void * buf, transfer_direction dir, int size, Bool *mod ) argument [all...] |
/external/vogar/src/vogar/ |
H A D | ClassFileIndex.java | 180 private void getJarFiles(Set<File> jarFiles, File dir) { argument 181 List<File> files = Arrays.asList(dir.listFiles());
|
/external/webrtc/webrtc/base/ |
H A D | optionsfile_unittest.cc | 39 Pathname dir; local 40 ASSERT(Filesystem::GetTemporaryFolder(dir, true, NULL)); 41 test_file_ = Filesystem::TempFilename(dir, ".testfile");
|
/external/wpa_supplicant_8/hostapd/src/eapol_auth/ |
H A D | eapol_auth_dump.c | 37 static inline const char * ctrl_dir_txt(ControlledDirection dir) argument 39 switch (dir) {
|