Searched defs:num (Results 26 - 50 of 54) sorted by relevance

123

/system/core/libutils/include/utils/
H A DVector.h214 virtual void do_construct(void* storage, size_t num) const;
215 virtual void do_destroy(void* storage, size_t num) const;
216 virtual void do_copy(void* dest, const void* from, size_t num) const;
217 virtual void do_splat(void* dest, const void* item, size_t num) const;
218 virtual void do_move_forward(void* dest, const void* from, size_t num) const;
219 virtual void do_move_backward(void* dest, const void* from, size_t num) const;
397 UTILS_VECTOR_NO_CFI void Vector<TYPE>::do_construct(void* storage, size_t num) const {
398 construct_type( reinterpret_cast<TYPE*>(storage), num ); local
402 void Vector<TYPE>::do_destroy(void* storage, size_t num) const {
403 destroy_type( reinterpret_cast<TYPE*>(storage), num ); local
408 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
413 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); local
418 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
423 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
[all...]
/system/extras/ext4_utils/
H A Dext4_utils.c593 u64 num = strtoull(arg, &endptr, 10); local
595 num *= 1024LL;
597 num *= 1024LL * 1024LL;
599 num *= 1024LL * 1024LL * 1024LL;
601 return num;
H A Dallocate.c200 static int reserve_blocks(struct block_group_info *bg, u32 bg_num, u32 start, u32 num) argument
205 for (i = 0; i < num && block % 8 != 0; i++, block++) {
212 for (; i + 8 <= (num & ~7); i += 8, block += 8) {
219 for (; i < num; i++, block++) {
226 bg->free_blocks -= num;
721 u32 reserve_inodes(int bg, u32 num) argument
726 if (get_free_inodes(bg) < num)
729 for (i = 0; i < num; i++) {
736 aux_info.bgs[bg].first_free_inode += num;
737 aux_info.bgs[bg].free_inodes -= num;
[all...]
/system/extras/tests/sdcard/
H A Dsysutil.cpp362 void waitForChildrenOrExit(int num) argument
364 while (num > 0)
381 --num;
/system/libhwbinder/vts/performance/
H A DBenchmark_throughput.cpp173 string generateServiceName(int num) { argument
174 string serviceName = "hwbinderService" + to_string(num);
197 int num,
202 srand(num);
237 cout << "thread " << num << " failed status: "
272 Pipe make_worker(int num, int iterations, int service_count, bool get_stub) { argument
280 worker_fx(num, iterations, service_count, get_stub,
196 worker_fx( int num, int iterations, int service_count, bool get_stub, Pipe p) argument
/system/nfc/src/adaptation/
H A DNfcAdaptation.cpp161 unsigned long num; local
163 if (GetNumValue(NAME_USE_RAW_NCI_TRACE, &num, sizeof(num))) {
164 if (num == 1) {
180 if (GetNumValue(NAME_NFA_MAX_EE_SUPPORTED, &num, sizeof(num))) {
181 nfa_ee_max_ee_cfg = num;
185 if (GetNumValue(NAME_NFA_POLL_BAIL_OUT_MODE, &num, sizeof(num))) {
186 nfa_poll_bail_out_mode = num;
[all...]
/system/bt/stack/a2dp/
H A Da2dp_vendor_ldac.cc179 // If |frag| is false, |num| is the number of number of frames in the packet,
183 uint8_t num) {
190 *p_dst |= (A2DP_LDAC_HDR_NUM_MSK & num);
181 A2DP_BuildMediaPayloadHeaderLdac(uint8_t* p_dst, bool frag, bool start, bool last, uint8_t num) argument
H A Da2dp_sbc.cc214 // If |frag| is false, |num| is the number of number of frames in the packet,
218 uint8_t num) {
225 *p_dst |= (A2DP_SBC_HDR_NUM_MSK & num);
244 * num: If frag is 1, this is the number of remaining
216 A2DP_BuildMediaPayloadHeaderSbc(uint8_t* p_dst, bool frag, bool start, bool last, uint8_t num) argument
/system/extras/procrank/
H A Dprocrank.cpp137 char* num = p; local
143 mem[i] = atoll(num);
/system/nfc/src/nfc/nfc/
H A Dnfc_main.c795 ** Parameters num - the number of items in p_params.
802 tNFC_STATUS NFC_DiscoveryMap(uint8_t num, tNFC_DISCOVER_MAPS* p_maps, argument
804 uint8_t num_disc_maps = num;
H A Dnfc_ncif.cc571 uint8_t num, xx; local
574 num = *p++;
575 for (xx = 0; xx < num; xx++) {
/system/update_engine/payload_generator/
H A Dinplace_generator.cc305 uint64_t num = extent.num_blocks(); local
306 if (start >= kTempBlockStart || (start + num) >= kTempBlockStart) {
308 LOG(ERROR) << "start: " << start << ", num: " << num; local
314 CHECK(start <= (start + num));
/system/update_engine/
H A Dtest_http_server.cc152 string Itoa(off_t num) { argument
154 snprintf(buf, sizeof(buf), "%" PRIi64, num);
/system/core/logcat/tests/
H A Dlogcat_test.cpp164 size_t num = 0; local
168 if (++num >= (size_t)count) {
171 return num;
176 return num;
180 return num;
320 static void do_tail(int num) { argument
324 if (num > 10) ++tries;
325 if (num > 100) ++tries;
330 "ANDROID_PRINTF_LOG=long logcat -b all -t %d 2>/dev/null", num);
344 } while ((count < num)
525 size_t num = 0; local
830 int num; local
[all...]
/system/core/logd/
H A DLogStatistics.h108 size_t num = len - index - 1; local
109 if (num) {
111 num * sizeof(retval[0]));
/system/core/logd/tests/
H A Dlogd_test.cpp1063 static pid_t sepolicy_rate(unsigned rate, unsigned num) { argument
1105 num = (num + (avc_requests_per_access / 2)) / avc_requests_per_access;
1109 while (num > 0) {
1110 if (access(android::base::StringPrintf(file, num).c_str(), F_OK) == 0) {
1116 --num;
/system/core/storaged/include/
H A Dstoraged.h142 void add(uint32_t num) { argument
143 mSum += (double)num;
144 mSquareSum += (double)num * (double)num;
147 void evict(uint32_t num) { argument
148 if (mSum < num || mSquareSum < (double)num * (double)num) return;
149 mSum -= (double)num;
150 mSquareSum -= (double)num * (doubl
[all...]
/system/keymaster/
H A Dandroid_keymaster_test_utils.cpp135 size_t num = a.size() / 2; local
136 b.resize(num);
137 for (size_t i = 0; i < num; i++) {
/system/netd/server/
H A DBandwidthController.cpp198 std::vector<std::string> toStrVec(int num, char* strs[]) { argument
200 for (int i = 0; i < num; ++i) {
/system/nfc/halimpl/pn54x/hal/
H A DphNxpNciHal.c311 unsigned long num = 0; local
346 GetNxpNumValue(NAME_NXP_FW_PROTECION_OVERRIDE, &num, sizeof(num));
348 if (num == 0x01) {
380 unsigned long num = 0; local
387 isfound = GetNxpNumValue(NAME_NXP_SYS_CLK_SRC_SEL, &num, sizeof(num));
389 nxpprofile_ctrl.bClkSrcVal = num;
392 num = 0;
394 isfound = GetNxpNumValue(NAME_NXP_SYS_CLK_FREQ_SEL, &num, sizeo
1036 unsigned long num = 0; local
[all...]
/system/tools/hidl/test/
H A Dhidl_test_client.cpp892 inline uint64_t operator""_GB(unsigned long long num) { argument
893 return num * 1024 * 1024 * 1024;
/system/bt/bta/av/
H A Dbta_av_aact.cc1246 uint8_t num = p_data->ci_setconfig.num_seid + 1; local
1277 APPL_TRACE_DEBUG("%s: recfg_needed:%d role:x%x num:%d", __func__,
1278 p_data->ci_setconfig.recfg_needed, p_scb->role, num);
1281 p_scb->num_seps = num;
1287 num > 1) {
1294 p_scb->p_cos->disc_res(p_scb->hndl, num, num, 0, p_scb->peer_addr,
1303 for (i = 1; i < num; i++) {
/system/bt/bta/include/
H A Dbta_ag_api.h274 uint16_t num; member in struct:__anon246
359 uint16_t num; member in struct:__anon252
/system/bt/stack/gatt/
H A Dgatt_utils.cc1092 uint8_t i, num = 0; local
1095 if (gatt_cb.clcb[i].in_use && gatt_cb.clcb[i].p_tcb->peer_bda == bda) num++;
1097 return num;
/system/core/fastboot/
H A Dfastboot.cpp1329 unsigned long long num; local
1331 num = strtoull(arg, &endptr, 0);
1337 if (num >= (-1ULL) / 1024) {
1340 num *= 1024LL;
1343 if (num >= (-1ULL) / (1024 * 1024)) {
1346 num *= 1024LL * 1024LL;
1349 if (num >= (-1ULL) / (1024 * 1024 * 1024)) {
1352 num *= 1024LL * 1024LL * 1024LL;
1360 if (num > INT64_MAX) {
1364 return num;
[all...]

Completed in 506 milliseconds

123