Searched refs:allocated_size (Results 1 - 21 of 21) sorted by relevance

/macosx-10.9.5/RubyCocoa-80/RubyCocoa/tests/
H A Dtc_objcptr.rb21 assert_equal( length, cptr.allocated_size )
40 assert_equal( 1, ObjcPtr.new(:char).allocated_size )
41 assert_equal( 1, ObjcPtr.new(:uchar).allocated_size )
42 assert_equal( 2, ObjcPtr.new(:short).allocated_size )
43 assert_equal( 2, ObjcPtr.new(:ushort).allocated_size )
44 # assert_equal( 4, ObjcPtr.new(:int).allocated_size )
45 # assert_equal( 4, ObjcPtr.new(:uint).allocated_size )
47 assert_equal( 8, ObjcPtr.new(:long).allocated_size )
48 assert_equal( 8, ObjcPtr.new(:ulong).allocated_size )
50 assert_equal( 4, ObjcPtr.new(:long).allocated_size )
[all...]
/macosx-10.9.5/gnutar-452/gnutar/src/
H A Dnames.c387 static size_t allocated_size;
395 if (allocated_size == 0)
397 allocated_size = offsetof (struct name, name) + NAME_FIELD_SIZE + 1;
398 buffer = xmalloc (allocated_size);
400 memset (buffer, 0, allocated_size);
412 if (allocated_size < needed_size)
416 allocated_size *= 2;
417 if (! allocated_size)
420 while (allocated_size < needed_size);
422 buffer = xrealloc (buffer, allocated_size);
384 static size_t allocated_size; local
[all...]
/macosx-10.9.5/ntfs-83/kext/
H A Dntfs_mft.c659 pass_end = vol->mft_ni->allocated_size >> vol->mft_record_size_shift;
792 * Note: Only changes allocated_size, i.e. does not touch initialized_size or
808 s64 allocated_size, ll; local
833 allocated_size = mftbmp_ni->allocated_size;
835 vcn = (allocated_size - 1) >> vol->cluster_size_shift;
1007 * We now have extended the mft bitmap allocated_size by one cluster.
1025 mftbmp_ni->allocated_size += vol->cluster_size;
1026 a->allocated_size = cpu_to_sle64(mftbmp_ni->allocated_size);
1275 s64 allocated_size, min_nr, nr; local
[all...]
H A Dntfs_attr_list.c794 a->allocated_size = cpu_to_sle64(attr_len);
1203 if (alloc_size > sle64_to_cpu(a->allocated_size))
1204 panic("%s(): alloc_size > sle64_to_cpu(a->allocated_size)\n",
1210 if (alloc_size == sle64_to_cpu(a->allocated_size))
1258 a->allocated_size = cpu_to_sle64(alloc_size);
1746 if (base_ni->attr_list_size <= sle64_to_cpu(al_a->allocated_size))
1755 if (al_a->allocated_size) {
1774 err = ntfs_cluster_alloc(vol, sle64_to_cpu(al_a->allocated_size) >>
1776 sle64_to_cpu(al_a->allocated_size)) >>
1784 sle64_to_cpu(al_a->allocated_size)) >>
[all...]
H A Dntfs_inode.c148 ni->allocated_size = ni->data_size = ni->initialized_size = 0;
642 ni->allocated_size = ini->allocated_size;
1953 ni->allocated_size = ni->data_size =
2069 ni->allocated_size = sle64_to_cpu(a->allocated_size);
2087 ni->allocated_size = a_end - data;
2183 ai_size > sle64_to_cpu(a->allocated_size)) {
2423 ni->allocated_size = base_ni->allocated_size;
3461 last_access_time, allocated_size, data_size; local
[all...]
H A Dntfs_index.c711 ia->index.allocated_size) != idx_ni->block_size) {
719 le32_to_cpu(ia->index.allocated_size),
758 .bytes_free = le32_to_cpu(ia->index.allocated_size) -
1624 a->highest_vcn = cpu_to_sle64((idx_ni->allocated_size >>
1628 a->allocated_size = cpu_to_sle64(idx_ni->allocated_size);
1926 ih->allocated_size = cpu_to_le32(idx_ni->block_size -
2421 ih->allocated_size = cpu_to_le32(idx_ni->block_size -
2449 ictx->bytes_free = le32_to_cpu(ia->index.allocated_size) -
2774 ih->allocated_size
[all...]
H A Dntfs_attr.c119 end_vcn = ni->allocated_size >> ni->vol->cluster_size_shift;
143 if (sle64_to_cpu(a->allocated_size) !=
144 ni->allocated_size)
145 panic("%s(): sle64_to_cpu(a->allocated_size) "
146 "!= ni->allocated_size\n",
264 allocated_size_vcn = ni->allocated_size >>
453 if (!ni->allocated_size) {
597 if (!ni->allocated_size) {
1980 if (ni->allocated_size && (!ni->rl.elements ||
2196 if (ni->allocated_size
[all...]
H A Dntfs_secure.c377 le32_to_cpu(ia->index.allocated_size) !=
384 le32_to_cpu(ia->index.allocated_size)),
H A Dntfs_dir.c407 le32_to_cpu(ia->index.allocated_size) !=
416 le32_to_cpu(ia->index.allocated_size)),
1722 le32_to_cpu(ia->index.allocated_size) !=
1730 le32_to_cpu(ia->index.allocated_size)),
H A Dntfs_inode.h102 s64 allocated_size; /* Copy from the attribute record. */ member in struct:_ntfs_inode
H A Dntfs_layout.h774 /* 40*/ sle64 allocated_size; /* Byte size of disk space member in struct:__anon11269::__anon11270::__anon11272
783 value. Can be larger than allocated_size if
1078 /* 28*/ sle64 allocated_size; /* Byte size of allocated space for the member in struct:__anon11280
2015 le32 allocated_size; /* Byte size of this index (block), member in struct:__anon11320
2020 resident and hence the allocated_size is a fixed value and must
H A Dntfs_compress.c640 raw_size = ni->allocated_size;
H A Dntfs_vnops.c1858 on_disk_size = ni->allocated_size;
3245 size = ni->allocated_size;
3345 size = ni->allocated_size;
5140 fn->allocated_size = cpu_to_sle64(NInoNonResident(ni) &&
5142 ni->compressed_size : ni->allocated_size);
5150 /* fn->data_size = fn->allocated_size = 0; */
6700 ni->allocated_size = raw_ni->allocated_size;
7139 * allocated_size field set thus it is always zero.
7141 if (!a->lowest_vcn && !a->allocated_size)
[all...]
H A Dntfs_vfsops.c1049 last_vcn = sle64_to_cpu(a->allocated_size)
1052 ni->allocated_size = sle64_to_cpu(a->allocated_size);
1065 if (ni->allocated_size & vol->cluster_size_mask ||
1374 if (ni->allocated_size & vol->cluster_size_mask ||
H A Dntfs_runlist.c1026 max_cluster = ((sle64_to_cpu(a->allocated_size) +
/macosx-10.9.5/libauto-185.5/
H A DZone.cpp566 usword_t allocated_size = size; local
569 if (!allocated_size) allocated_size = 1;
572 if (allocated_size < allocate_quantum_large) {
573 Admin &admin = _partition.admin(allocated_size, layout, refcount_is_one);
575 if (allocated_size <= (allocate_quantum_small * max_cached_small_multiple)) {
586 block = admin.thread_cache_allocate(thread, allocated_size, layout, refcount_is_one, is_local);
590 block = admin.find_allocation(thread, allocated_size, layout, refcount_is_one, is_local);
601 adjust_allocation_counter(allocated_size); // locals are counted when they escape, larges are counted in allocate_large()
605 block = allocate_large(thread, allocated_size, layou
633 usword_t allocated_size = size; local
[all...]
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/framework/src/objc/
H A Dcls_objcptr.m18 long allocated_size;
25 #define ALLOCATED_SIZE_OF(o) (OBJCPTR_DATA_PTR(o)->allocated_size)
118 if (dp->allocated_size > 0)
122 dp->allocated_size = 0;
134 dp->allocated_size = 0;
219 snprintf(s, sizeof(s), "#<%s:0x%lx cptr=%p allocated_size=%ld encoding=%s>",
543 rb_define_method (_kObjcPtr, "allocated_size", rb_objcptr_allocated_size, 0);
/macosx-10.9.5/gnutar-452/gnutar/rmt/
H A Drmt.c65 static size_t allocated_size; variable
170 if (size <= allocated_size)
186 allocated_size = size;
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/
H A Dmmo.c274 bfd_size_type allocated_size; member in struct:mmo_data_list_struct
1417 bfd_size_type allocated_size; local
1430 && datap->where + datap->allocated_size >= vma + size
1463 allocated_size
1466 bfd_zalloc (sec->owner, sizeof (mmo_data_list_type) + allocated_size);
1471 entry->allocated_size = allocated_size;
/macosx-10.9.5/ruby-104/ruby/
H A Dgc.c213 size_t allocated_size; member in struct:rb_objspace::__anon12352
3500 ATOMIC_SIZE_ADD(objspace->malloc_params.allocated_size, size);
3571 ATOMIC_SIZE_ADD(objspace->malloc_params.allocated_size, size - oldsize);
3587 ATOMIC_SIZE_SUB(objspace->malloc_params.allocated_size, size);
3672 /* set 0 for consistency of allocated_size/allocations */
3692 return UINT2NUM(rb_objspace.malloc_params.allocated_size);
/macosx-10.9.5/ntfs-83/util/
H A Dntfs.util.c550 max_cluster = ((sle64_to_cpu(a->allocated_size) +

Completed in 278 milliseconds