Home
last modified time | relevance | path

Searched refs:statbuf (Results 1 – 2 of 2) sorted by relevance

/test/vts/utils/native/libprofiling/
DVtsProfilingInterface.cpp67 struct stat statbuf; in GetTraceFile() local
68 fstat(fd, &statbuf); in GetTraceFile()
71 if (statbuf.st_nlink <= 0 || fcntl(fd, F_GETFD) == -1) { in GetTraceFile()
/test/vts/compilation_tools/vtsc/test/golden/PROFILER/
DBar.profiler.cpp1594 struct stat statbuf; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() local
1595 … fstat(result_0_vector_result_0_index_h->data[i], &statbuf); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
1596 fd_val_i->set_mode(statbuf.st_mode); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
1597 … if (S_ISREG(statbuf.st_mode) || S_ISDIR(statbuf.st_mode)) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
1598 … fd_val_i->set_type(S_ISREG(statbuf.st_mode)? FILE_TYPE: DIR_TYPE); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
1602 … else if (S_ISCHR(statbuf.st_mode) || S_ISBLK(statbuf.st_mode)) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
1609 else if (S_ISFIFO(statbuf.st_mode)){ in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
1612 else if (S_ISSOCK(statbuf.st_mode)) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
1809 struct stat statbuf; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() local
1810 fstat(arg_0_h->data[i], &statbuf); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
[all …]