/macosx-10.9.5/libauto-185.5/tests/ |
H A D | test_bitmaps.cpp | 29 char bits[Bitmap::bytes_needed(64)];
|
/macosx-10.9.5/libauto-185.5/ |
H A D | InUseEnumerator.cpp | 45 usword_t zone_size = Zone::bytes_needed(); 62 Region *regionReader = (Region *)read(region, Region::bytes_needed()); 67 record(region, Region::bytes_needed(), MALLOC_ADMIN_REGION_RANGE_TYPE);
|
H A D | Region.h | 66 // bytes_needed 70 static const usword_t bytes_needed() { function in class:Auto::Region 86 return allocate_memory(Region::bytes_needed()); 101 deallocate_memory(region, Region::bytes_needed());
|
H A D | Bitmap.h | 92 ASSERTION(!((uintptr_t)bits & mask(bytes_per_quad_log2)) && !(bytes_needed(n) & mask(bytes_per_quad_log2))); 93 set_range(bits, bytes_needed(n)); 120 inline void initialize(usword_t n, void *bits) { set_range(bits, bytes_needed(n)); } 124 // bytes_needed 128 static inline const usword_t bytes_needed(usword_t n) { return partition2(n, bits_per_word_log2) << bytes_per_word_log2; } function in class:Auto::Bitmap
|
H A D | Large.cpp | 77 usword_t wb_size = (layout & AUTO_UNSCANNED) ? 0 : align2(WriteBarrier::bytes_needed(allocation_size), allocate_quantum_small_log2);
|
H A D | Region.cpp | 172 usword_t newBitmapSize = Bitmap::bytes_needed(_n_quantum);
|
H A D | WriteBarrier.h | 77 // bytes_needed 81 static inline const usword_t bytes_needed(usword_t n) { function in class:Auto::WriteBarrier
|
H A D | Zone.h | 249 // bytes_needed 253 static inline const usword_t bytes_needed() { function in class:Auto::Zone 254 usword_t in_subzone_size = Bitmap::bytes_needed(subzone_quantum_max); 255 usword_t in_large_size = Bitmap::bytes_needed(allocate_quantum_large_max); 257 usword_t arena_size = Bitmap::bytes_needed(allocate_quantum_large_max); 271 void *allocation_address = allocate_guarded_memory(bytes_needed()); 273 void *allocation_address = allocate_memory(bytes_needed()); 289 if (zone) deallocate_guarded_memory(zone, bytes_needed()); 291 if (zone) deallocate_memory(zone, bytes_needed());
|
H A D | Zone.cpp | 166 next = displace(next, Bitmap::bytes_needed(subzone_quantum_max)); 170 next = displace(next, Bitmap::bytes_needed(allocate_quantum_large_max)); 176 next = displace(next, Bitmap::bytes_needed(allocate_quantum_large_max));
|
H A D | Subzone.h | 204 : _write_barrier(_write_barrier_cards, _write_barrier_cards, WriteBarrier::bytes_needed(subzone_quantum)),
|
/macosx-10.9.5/ntfs-83/kext/ |
H A D | ntfs_attr_list.c | 1338 unsigned bytes_needed, bytes_free, alloc_size, name_ofs; local 1428 bytes_needed = ((base_ni->attr_list_size + 7) & ~7) - 1437 if (bytes_needed > bytes_free) 1450 while (bytes_needed > le32_to_cpu(base_m->bytes_allocated) - 1512 if (bytes_needed > bytes_free) 1829 bytes_needed = ((mp_ofs + mp_size + 7) & ~7) - old_arec_size; 1834 while (bytes_needed > le32_to_cpu(base_m->bytes_allocated) -
|
H A D | ntfs_attr.c | 2938 unsigned mp_size, mp_ofs, name_ofs, arec_size, attr_size, bytes_needed; local 3193 bytes_needed = arec_size - le32_to_cpu(a->length); 3401 if (bytes_needed > le32_to_cpu(m->bytes_allocated) -
|
/macosx-10.9.5/ICU-511.35/icuSources/test/cintltst/ |
H A D | nucnvtst.c | 5381 int32_t rules_length, target_cap, bytes_needed, buff_size; local 5411 bytes_needed = ucnv_fromUChars(utf8cnv, buff, target_cap, 5413 target_cap = (bytes_needed > target_cap) ? bytes_needed : target_cap +1; 5414 if(numNeeded!=0 && numNeeded!= bytes_needed){ 5418 numNeeded = bytes_needed; 5433 int32_t target_cap, bytes_needed, numNeeded = 0; local 5442 bytes_needed = ucnv_fromUChars(conv,target,256,src,u_strlen(src),&status); 5443 target_cap = (bytes_needed > target_cap) ? bytes_needed [all...] |
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | kdebug.c | 1435 uint32_t bytes_needed = sizeof(kd_cpumap_header) + cpu_count * sizeof(kd_cpumap); local 1437 *cpumap_size = bytes_needed; 1443 } else if (bytes_available < bytes_needed) {
|