/system/chre/external/kiss_fft/ |
D | kiss_fftr.c | 38 kiss_fftr_cfg st = NULL; in kiss_fftr_alloc() local 53 st = (kiss_fftr_cfg) KISS_FFT_MALLOC (memneeded); in kiss_fftr_alloc() 56 st = (kiss_fftr_cfg) mem; in kiss_fftr_alloc() 59 if (!st) in kiss_fftr_alloc() 62 st->substate = (kiss_fft_cfg) (st + 1); /*just beyond kiss_fftr_state struct */ in kiss_fftr_alloc() 63 st->tmpbuf = (kiss_fft_cpx *) (((char *) st->substate) + subsize); in kiss_fftr_alloc() 64 st->super_twiddles = st->tmpbuf + nfft; in kiss_fftr_alloc() 65 kiss_fft_alloc(nfft, inverse_fft, st->substate, &subsize); in kiss_fftr_alloc() 72 kf_cexp (st->super_twiddles+i,phase); in kiss_fftr_alloc() 74 return st; in kiss_fftr_alloc() [all …]
|
D | kiss_fft.c | 32 const kiss_fft_cfg st, in kf_bfly2() argument 37 kiss_fft_cpx * tw1 = st->twiddles; in kf_bfly2() 55 const kiss_fft_cfg st, in kf_bfly4() argument 66 tw3 = tw2 = tw1 = st->twiddles; in kf_bfly4() 85 if(st->inverse) { in kf_bfly4() 103 const kiss_fft_cfg st, in kf_bfly3() argument 112 epi3 = st->twiddles[fstride*m]; in kf_bfly3() 114 tw1=tw2=st->twiddles; in kf_bfly3() 147 const kiss_fft_cfg st, in kf_bfly5() argument 154 kiss_fft_cpx * twiddles = st->twiddles; in kf_bfly5() [all …]
|
/system/bt/gd/crypto_toolbox/ |
D | aes.cc | 367 static void shift_sub_rows(uint_8t st[N_BLOCK]) { in shift_sub_rows() 370 st[0] = s_box(st[0]); in shift_sub_rows() 371 st[4] = s_box(st[4]); in shift_sub_rows() 372 st[8] = s_box(st[8]); in shift_sub_rows() 373 st[12] = s_box(st[12]); in shift_sub_rows() 375 tt = st[1]; in shift_sub_rows() 376 st[1] = s_box(st[5]); in shift_sub_rows() 377 st[5] = s_box(st[9]); in shift_sub_rows() 378 st[9] = s_box(st[13]); in shift_sub_rows() 379 st[13] = s_box(tt); in shift_sub_rows() [all …]
|
/system/bt/stack/crypto_toolbox/ |
D | aes.cc | 416 static void shift_sub_rows(uint_8t st[N_BLOCK]) { in shift_sub_rows() 419 st[0] = s_box(st[0]); in shift_sub_rows() 420 st[4] = s_box(st[4]); in shift_sub_rows() 421 st[8] = s_box(st[8]); in shift_sub_rows() 422 st[12] = s_box(st[12]); in shift_sub_rows() 424 tt = st[1]; in shift_sub_rows() 425 st[1] = s_box(st[5]); in shift_sub_rows() 426 st[5] = s_box(st[9]); in shift_sub_rows() 427 st[9] = s_box(st[13]); in shift_sub_rows() 428 st[13] = s_box(tt); in shift_sub_rows() [all …]
|
/system/bt/common/benchmark/ |
D | timer_performance_benchmark.cc | 63 void SetUp(State& st) override { in SetUp() argument 64 ::benchmark::Fixture::SetUp(st); in SetUp() 69 void TearDown(State& st) override { in TearDown() argument 72 ::benchmark::Fixture::TearDown(st); in TearDown() 103 void SetUp(State& st) override { in SetUp() argument 104 ::benchmark::Fixture::SetUp(st); in SetUp() 113 void TearDown(State& st) override { in TearDown() argument 122 ::benchmark::Fixture::TearDown(st); in TearDown() 158 void SetUp(State& st) override { in SetUp() argument 159 ::benchmark::Fixture::SetUp(st); in SetUp() [all …]
|
D | thread_performance_benchmark.cc | 68 void SetUp(State& st) override { in SetUp() argument 69 benchmark::Fixture::SetUp(st); in SetUp() 74 void TearDown(State& st) override { in TearDown() argument 79 benchmark::Fixture::TearDown(st); in TearDown() 116 void SetUp(State& st) override { in SetUp() argument 117 BM_MessageLoop::SetUp(st); in SetUp() 124 void TearDown(State& st) override { in TearDown() argument 129 BM_MessageLoop::TearDown(st); in TearDown() 163 void SetUp(State& st) override { in SetUp() argument 164 BM_MessageLoop::SetUp(st); in SetUp() [all …]
|
/system/core/libcutils/ |
D | ashmem-dev.cpp | 227 struct stat st; in __ashmem_open_locked() local 228 int ret = TEMP_FAILURE_RETRY(fstat(fd, &st)); in __ashmem_open_locked() 235 if (!S_ISCHR(st.st_mode) || !st.st_rdev) { in __ashmem_open_locked() 241 __ashmem_rdev = st.st_rdev; in __ashmem_open_locked() 260 struct stat st; in __ashmem_is_ashmem() local 262 if (fstat(fd, &st) < 0) { in __ashmem_is_ashmem() 267 if (S_ISCHR(st.st_mode) && st.st_rdev) { in __ashmem_is_ashmem() 284 if (st.st_rdev == rdev) { in __ashmem_is_ashmem() 292 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev), in __ashmem_is_ashmem() 297 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev), in __ashmem_is_ashmem()
|
/system/bt/gd/os/ |
D | thread_benchmark.cc | 35 void SetUp(State& st) override { in SetUp() argument 36 benchmark::Fixture::SetUp(st); in SetUp() 40 void TearDown(State& st) override { in TearDown() argument 41 benchmark::Fixture::TearDown(st); in TearDown() 61 void SetUp(State& st) override { in SetUp() argument 62 BM_ThreadPerformance::SetUp(st); in SetUp() 66 void TearDown(State& st) override { in TearDown() argument 70 BM_ThreadPerformance::TearDown(st); in TearDown()
|
D | alarm_benchmark.cc | 36 void SetUp(State& st) override { in SetUp() argument 37 ::benchmark::Fixture::SetUp(st); in SetUp() 50 void TearDown(State& st) override { in TearDown() argument 56 ::benchmark::Fixture::TearDown(st); in TearDown()
|
D | queue_benchmark.cc | 31 void SetUp(State& st) override { in SetUp() argument 32 ::benchmark::Fixture::SetUp(st); in SetUp() 39 void TearDown(State& st) override { in TearDown() argument 48 benchmark::Fixture::TearDown(st); in TearDown()
|
/system/core/run-as/ |
D | run-as.cpp | 74 struct stat st; in check_directory() local 75 if (TEMP_FAILURE_RETRY(lstat(path, &st)) == -1) { in check_directory() 83 if (!S_ISDIR(st.st_mode)) { in check_directory() 84 error(1, 0, "%s not a directory: %o", path, st.st_mode); in check_directory() 88 if (st.st_uid != uid || st.st_gid != uid) { in check_directory() 89 error(1, 0, "%s has wrong owner: %d/%d, not %d", path, st.st_uid, st.st_gid, uid); in check_directory() 93 if ((st.st_mode & (S_IROTH | S_IWOTH)) != 0) { in check_directory() 94 error(1, 0, "%s readable or writable by others: %o", path, st.st_mode); in check_directory()
|
/system/extras/ioshark/ |
D | compile_ioshark_subr.c | 41 struct ioshark_file_state st; in files_db_write_objects() local 48 st.fileno = db_node->fileno; in files_db_write_objects() 49 st.size = db_node->size; in files_db_write_objects() 50 st.global_filename_ix = in files_db_write_objects() 52 if (ioshark_write_file_state(fp, &st) != 1) { in files_db_write_objects() 117 struct stat st; in init_filename_cache() local 120 if (stat("ioshark_filenames", &st) < 0) { in init_filename_cache() 130 filename_cache_num_entries = st.st_size / in init_filename_cache()
|
D | dump_ioshark_filenames.c | 38 struct stat st; in main() local 45 if (stat("ioshark_filenames", &st) < 0) { in main() 50 filename_cache_num_entries = st.st_size / in main()
|
/system/core/fs_mgr/libfiemap/ |
D | utility.cpp | 100 struct stat st; in F2fsPinBeforeAllocate() local 101 if (fstat(file_fd, &st) < 0) { in F2fsPinBeforeAllocate() 106 if (!BlockDeviceToName(major(st.st_dev), minor(st.st_dev), &bdev)) { in F2fsPinBeforeAllocate() 107 LOG(ERROR) << "Failed to get block device name for " << major(st.st_dev) << ":" in F2fsPinBeforeAllocate() 108 << minor(st.st_dev); in F2fsPinBeforeAllocate()
|
/system/apex/apexd/ |
D | apexd_verity.cpp | 162 if (auto st = CreateDirIfNeeded(Dirname(hashtree_file), 0700); !st.ok()) { in PrepareHashTree() local 163 return st.error(); in PrepareHashTree() 187 if (auto st = GenerateHashTree(apex, verity_data, hashtree_file); in PrepareHashTree() local 188 !st.ok()) { in PrepareHashTree() 189 return st.error(); in PrepareHashTree()
|
/system/unwinding/libunwindstack/tools/ |
D | unwind_symbols.cpp | 39 struct stat st; in main() local 40 if (stat(argv[1], &st) == -1) { in main() 44 if (!S_ISREG(st.st_mode)) { in main()
|
D | unwind_info.cpp | 183 struct stat st; in main() local 184 if (stat(argv[1], &st) == -1) { in main() 188 if (!S_ISREG(st.st_mode)) { in main()
|
/system/timezone/input_tools/android/zone_compactor/main/java/ |
D | ZoneCompactor.java | 84 StringTokenizer st = new StringTokenizer(s); in ZoneCompactor() local 85 String lineType = st.nextToken(); in ZoneCompactor() 87 String to = st.nextToken(); in ZoneCompactor() 88 String from = st.nextToken(); in ZoneCompactor() 91 String zoneId = st.nextToken(); in ZoneCompactor()
|
/system/bt/stack/srvc/ |
D | srvc_dis.cc | 121 tGATT_STATUS st = GATT_NOT_FOUND; in dis_read_attr_value() local 128 st = GATT_NOT_LONG; in dis_read_attr_value() 131 st = GATT_SUCCESS; in dis_read_attr_value() 152 st = GATT_INVALID_OFFSET; in dis_read_attr_value() 179 *p_status = st; in dis_read_attr_value() 390 tDIS_STATUS st = DIS_SUCCESS; in DIS_SrUpdate() local 400 st = DIS_ILLEGAL_PARAM; in DIS_SrUpdate() 411 st = DIS_SUCCESS; in DIS_SrUpdate() 418 return st; in DIS_SrUpdate()
|
/system/extras/kexec_tools/ |
D | kexecload.c | 30 struct stat st; in get_file_size() local 31 fstat(f, &st); in get_file_size() 32 return st.st_size; in get_file_size()
|
/system/extras/simpleperf/ |
D | utils.cpp | 209 struct stat st; in IsDir() local 210 if (stat(dirpath.c_str(), &st) == 0) { in IsDir() 211 if (S_ISDIR(st.st_mode)) { in IsDir() 219 struct stat st; in IsRegularFile() local 220 if (stat(filename.c_str(), &st) == 0) { in IsRegularFile() 221 if (S_ISREG(st.st_mode)) { in IsRegularFile() 229 struct stat st; in GetFileSize() local 230 if (stat(filename.c_str(), &st) == 0) { in GetFileSize() 231 return static_cast<uint64_t>(st.st_size); in GetFileSize()
|
/system/core/trusty/apploader/ |
D | apploader.cpp | 95 struct stat64 st; in read_file() local 103 rc = fstat64(file_fd, &st); in read_file() 109 assert(st.st_size >= 0); in read_file() 110 file_size = st.st_size; in read_file()
|
/system/extras/simpleperf/app_api/cpp/ |
D | simpleperf.cpp | 273 struct stat st; in IsExecutableFile() local 274 if (stat(path.c_str(), &st) == 0) { in IsExecutableFile() 275 if (S_ISREG(st.st_mode) && (st.st_mode & S_IXUSR)) { in IsExecutableFile() 386 struct stat st; in CreateSimpleperfDataDir() local 387 if (stat(simpleperf_data_dir_.c_str(), &st) == 0 && S_ISDIR(st.st_mode)) { in CreateSimpleperfDataDir()
|
/system/iorap/src/db/ |
D | file_models.cc | 44 struct stat st; in IsDir() local 45 if (stat(dirpath.c_str(), &st) == 0) { in IsDir() 46 if (S_ISDIR(st.st_mode)) { in IsDir()
|
/system/extras/tests/timetest/ |
D | rtc_test.cpp | 38 struct stat st; in hwtime() local 39 ret = TEMP_FAILURE_RETRY(stat(rtc, &st)); in hwtime() 42 } else if (!(st.st_mode & (S_IWUSR|S_IWGRP|S_IWOTH))) { in hwtime()
|