/system/chre/external/kiss_fft/ |
D | kiss_fftr.c | 30 kiss_fftr_cfg st = NULL; in kiss_fftr_alloc() local 43 st = (kiss_fftr_cfg) KISS_FFT_MALLOC (memneeded); in kiss_fftr_alloc() 46 st = (kiss_fftr_cfg) mem; in kiss_fftr_alloc() 49 if (!st) in kiss_fftr_alloc() 52 st->substate = (kiss_fft_cfg) (st + 1); /*just beyond kiss_fftr_state struct */ in kiss_fftr_alloc() 53 st->tmpbuf = (kiss_fft_cpx *) (((char *) st->substate) + subsize); in kiss_fftr_alloc() 54 st->super_twiddles = st->tmpbuf + nfft; in kiss_fftr_alloc() 55 kiss_fft_alloc(nfft, inverse_fft, st->substate, &subsize); in kiss_fftr_alloc() 62 kf_cexp (st->super_twiddles+i,phase); in kiss_fftr_alloc() 64 return st; in kiss_fftr_alloc() [all …]
|
D | kiss_fft.c | 24 const kiss_fft_cfg st, in kf_bfly2() argument 29 kiss_fft_cpx * tw1 = st->twiddles; in kf_bfly2() 47 const kiss_fft_cfg st, in kf_bfly4() argument 58 tw3 = tw2 = tw1 = st->twiddles; in kf_bfly4() 77 if(st->inverse) { in kf_bfly4() 95 const kiss_fft_cfg st, in kf_bfly3() argument 104 epi3 = st->twiddles[fstride*m]; in kf_bfly3() 106 tw1=tw2=st->twiddles; in kf_bfly3() 139 const kiss_fft_cfg st, in kf_bfly5() argument 146 kiss_fft_cpx * twiddles = st->twiddles; in kf_bfly5() [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/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/core/adb/sysdeps/ |
D | stat_test.cpp | 29 struct stat st; in TEST() local 30 ASSERT_EQ(0, stat(td.path, &st)); in TEST() 31 ASSERT_FALSE(S_ISREG(st.st_mode)); in TEST() 32 ASSERT_TRUE(S_ISDIR(st.st_mode)); in TEST() 34 ASSERT_EQ(0, stat((std::string(td.path) + '/').c_str(), &st)); in TEST() 35 ASSERT_TRUE(S_ISDIR(st.st_mode)); in TEST() 38 ASSERT_EQ(0, stat((std::string(td.path) + '\\').c_str(), &st)); in TEST() 39 ASSERT_TRUE(S_ISDIR(st.st_mode)); in TEST() 43 ASSERT_EQ(-1, stat(nonexistent_path.c_str(), &st)); in TEST() 46 ASSERT_EQ(-1, stat((nonexistent_path + "/").c_str(), &st)); in TEST() [all …]
|
/system/core/adb/sysdeps/win32/ |
D | stat.cpp | 55 struct adb_stat st; in adb_stat() local 56 int result = wstat(path_wide.c_str(), &st); in adb_stat() 58 if (!S_ISDIR(st.st_mode)) { in adb_stat() 64 memcpy(s, &st, sizeof(st)); in adb_stat()
|
/system/core/libcutils/ |
D | ashmem-dev.cpp | 222 struct stat st; in __ashmem_open_locked() local 223 int ret = TEMP_FAILURE_RETRY(fstat(fd, &st)); in __ashmem_open_locked() 230 if (!S_ISCHR(st.st_mode) || !st.st_rdev) { in __ashmem_open_locked() 236 __ashmem_rdev = st.st_rdev; in __ashmem_open_locked() 255 struct stat st; in __ashmem_is_ashmem() local 257 if (fstat(fd, &st) < 0) { in __ashmem_is_ashmem() 262 if (S_ISCHR(st.st_mode) && st.st_rdev) { in __ashmem_is_ashmem() 279 if (st.st_rdev == rdev) { in __ashmem_is_ashmem() 287 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev), in __ashmem_is_ashmem() 292 fd, st.st_mode, major(st.st_rdev), minor(st.st_rdev), in __ashmem_is_ashmem()
|
/system/bt/common/benchmark/ |
D | timer_performance_benchmark.cc | 64 void SetUp(State& st) override { in SetUp() argument 65 ::benchmark::Fixture::SetUp(st); in SetUp() 70 void TearDown(State& st) override { in TearDown() argument 73 ::benchmark::Fixture::TearDown(st); in TearDown() 104 void SetUp(State& st) override { in SetUp() argument 105 ::benchmark::Fixture::SetUp(st); in SetUp() 114 void TearDown(State& st) override { in TearDown() argument 123 ::benchmark::Fixture::TearDown(st); in TearDown() 159 void SetUp(State& st) override { in SetUp() argument 160 ::benchmark::Fixture::SetUp(st); in SetUp() [all …]
|
D | thread_performance_benchmark.cc | 67 void SetUp(State& st) override { in SetUp() argument 68 benchmark::Fixture::SetUp(st); in SetUp() 73 void TearDown(State& st) override { in TearDown() argument 78 benchmark::Fixture::TearDown(st); in TearDown() 115 void SetUp(State& st) override { in SetUp() argument 116 BM_MessageLoop::SetUp(st); in SetUp() 123 void TearDown(State& st) override { in TearDown() argument 128 BM_MessageLoop::TearDown(st); in TearDown() 162 void SetUp(State& st) override { in SetUp() argument 163 BM_MessageLoop::SetUp(st); in SetUp() [all …]
|
/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()
|
/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/core/adb/client/ |
D | file_sync_client.cpp | 467 bool FinishStat(struct stat* st) { in FinishStat() argument 470 memset(st, 0, sizeof(*st)); in FinishStat() 486 st->st_dev = msg.stat_v2.dev; in FinishStat() 487 st->st_ino = msg.stat_v2.ino; in FinishStat() 488 st->st_mode = msg.stat_v2.mode; in FinishStat() 489 st->st_nlink = msg.stat_v2.nlink; in FinishStat() 490 st->st_uid = msg.stat_v2.uid; in FinishStat() 491 st->st_gid = msg.stat_v2.gid; in FinishStat() 492 st->st_size = msg.stat_v2.size; in FinishStat() 493 st->st_atime = msg.stat_v2.atime; in FinishStat() [all …]
|
D | incremental.cpp | 42 struct stat st; in read_signature() local 43 if (stat(signature_file.c_str(), &st)) { in read_signature() 116 struct stat st; in start_install() local 117 if (stat(file.c_str(), &st)) { in start_install() 124 auto [signature_fd, signature] = read_and_encode_signature(st.st_size, file, silent); in start_install() 130 (long long)st.st_size, i, signature.c_str()); in start_install() 149 struct stat st; in can_install() local 150 if (stat(file.c_str(), &st)) { in can_install() 156 auto [fd, _] = read_signature(st.st_size, file, /*silent=*/true); in can_install()
|
/system/core/adb/daemon/ |
D | file_sync_service.cpp | 146 struct stat st = {}; in do_lstat_v1() local 147 lstat(path, &st); in do_lstat_v1() 148 msg.stat_v1.mode = st.st_mode; in do_lstat_v1() 149 msg.stat_v1.size = st.st_size; in do_lstat_v1() 150 msg.stat_v1.mtime = st.st_mtime; in do_lstat_v1() 165 struct stat st = {}; in do_stat_v2() local 166 int rc = stat_fn(path, &st); in do_stat_v2() 170 msg.stat_v2.dev = st.st_dev; in do_stat_v2() 171 msg.stat_v2.ino = st.st_ino; in do_stat_v2() 172 msg.stat_v2.mode = st.st_mode; in do_stat_v2() [all …]
|
/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/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/apex/apexd/ |
D | apexd_verity.cpp | 154 if (auto st = createDirIfNeeded(kApexHashTreeDir, 0700); !st.ok()) { in PrepareHashTree() local 155 return st.error(); in PrepareHashTree() 179 if (auto st = GenerateHashTree(apex, verity_data, hashtree_file); in PrepareHashTree() local 180 !st.ok()) { in PrepareHashTree() 181 return st.error(); in PrepareHashTree()
|
/system/core/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()
|
/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/simpleperf/ |
D | utils.cpp | 201 struct stat st; in IsDir() local 202 if (stat(dirpath.c_str(), &st) == 0) { in IsDir() 203 if (S_ISDIR(st.st_mode)) { in IsDir() 211 struct stat st; in IsRegularFile() local 212 if (stat(filename.c_str(), &st) == 0) { in IsRegularFile() 213 if (S_ISREG(st.st_mode)) { in IsRegularFile() 221 struct stat st; in GetFileSize() local 222 if (stat(filename.c_str(), &st) == 0) { in GetFileSize() 223 return static_cast<uint64_t>(st.st_size); in GetFileSize()
|
/system/extras/kexec_tools/ |
D | kexecload.c | 31 struct stat st; in get_file_size() local 32 fstat(f, &st); in get_file_size() 33 return st.st_size; in get_file_size()
|
/system/incremental_delivery/incfs/ |
D | path.cpp | 127 struct stat st = {}; in fromFd() local 128 if (::lstat(fdNameBuffer, &st) || st.st_size == 0) { in fromFd() 129 st.st_size = PATH_MAX; in fromFd() 131 auto bufSize = st.st_size; in fromFd()
|