Home
last modified time | relevance | path

Searched refs:slack (Results 1 - 20 of 20) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/clock_gettime/
H A Dclock_gettime04.c115 long long start, end = 0, diff, slack; in run() local
162 slack = 999; in run()
164 slack = 0; in run()
166 diff = end + slack - start; in run()
/third_party/skia/third_party/externals/freetype/src/cache/
H A Dftccache.c122 if ( cache->slack < 0 ) in ftc_cache_resize()
163 cache->slack += FTC_HASH_MAX_LOAD; in ftc_cache_resize()
175 else if ( cache->slack > (FT_Long)count * FTC_HASH_SUB_LOAD ) in ftc_cache_resize()
209 cache->slack -= FTC_HASH_MAX_LOAD; in ftc_cache_resize()
248 cache->slack++; in ftc_node_hash_unlink()
264 cache->slack--; in ftc_node_hash_link()
341 cache->slack = FTC_HASH_INITIAL_SIZE * FTC_HASH_MAX_LOAD; in FT_LOCAL_DEF()
399 cache->slack = 0; in ftc_cache_done()
611 cache->slack++; in FTC_Cache_RemoveFaceID()
H A Dftccache.h147 FT_Long slack; member
/third_party/node/deps/v8/src/objects/
H A Ddescriptor-array.h44 // [16:0 bits]: number_of_all_descriptors (including slack)
54 // [kHeaderSize + number of descriptors * 3]: start of slack
110 int enumeration_index, int slack = 0);
114 PropertyAttributes attributes, int slack = 0);
118 int slack = 0);
141 IsolateT* isolate, int nof_descriptors, int slack,
145 int nof_descriptors, int slack);
H A Dmap-updater.cc427 const int slack = initial_map.ComputeMinObjectSlack(isolate); in CompleteInobjectSlackTracking() local
428 DCHECK_GE(slack, 0); in CompleteInobjectSlackTracking()
432 if (slack != 0) { in CompleteInobjectSlackTracking()
434 callback = [slack](Map map) { in CompleteInobjectSlackTracking()
437 int new_unused = map.UnusedPropertyFields() - slack; in CompleteInobjectSlackTracking()
439 map.set_instance_size(map.InstanceSizeFromSlack(slack)); in CompleteInobjectSlackTracking()
445 // Stop slack tracking for this map. in CompleteInobjectSlackTracking()
H A Dmap.cc521 // In-object slack tracking may have reduced the object size of the new map. in InstancesNeedRewriting()
795 void Map::EnsureDescriptorSlack(Isolate* isolate, Handle<Map> map, int slack) {
796 // Only supports adding slack to owned descriptors.
802 if (slack <= descriptors->number_of_slack_descriptors()) return;
805 DescriptorArray::CopyUpTo(isolate, descriptors, old_size, slack);
861 // TODO(verwaest): Use inobject slack tracking for this map. in GetObjectCreateMap()
1391 int slack = SlackForArraySize(old_size, kMaxNumberOfDescriptors); in ShareDescriptor() local
1392 EnsureDescriptorSlack(isolate, map, slack); in ShareDescriptor()
2180 int slack = UnusedPropertyFields(); in ComputeMinObjectSlack() local
2183 slack in ComputeMinObjectSlack()
[all...]
H A Dmap.h141 // | | the used property fields or the slack size |
316 // Inobject slack tracking is the way to reclaim unused inobject space.
318 // The instance size is initially determined by adding some slack to
331 // - Once enough objects have been created compute the 'slack'
342 // Important: inobject slack tracking is not attempted during the snapshot
358 // Computes inobject slack for the transition tree starting at this initial
361 inline int InstanceSizeFromSlack(int slack) const;
649 // This counter is used for in-object slack tracking.
650 // The in-object slack tracking is considered enabled when the counter is
653 // slack trackin
[all...]
H A Dobjects.cc3867 int slack) { in CopyUpTo()
3869 enumeration_index, NONE, slack); in CopyUpTo()
3874 int enumeration_index, PropertyAttributes attributes, int slack) { in CopyUpToAddAttributes()
3875 if (enumeration_index + slack == 0) { in CopyUpToAddAttributes()
3881 DescriptorArray::Allocate(isolate, size, slack); in CopyUpToAddAttributes()
3922 int slack) { in CopyForFastObjectClone()
3923 if (enumeration_index + slack == 0) { in CopyForFastObjectClone()
3929 DescriptorArray::Allocate(isolate, size, slack); in CopyForFastObjectClone()
4406 int slack, in Allocate()
4408 return nof_descriptors + slack in Allocate()
3864 CopyUpTo(Isolate* isolate, Handle<DescriptorArray> desc, int enumeration_index, int slack) CopyUpTo() argument
3872 CopyUpToAddAttributes( Isolate* isolate, Handle<DescriptorArray> source_handle, int enumeration_index, PropertyAttributes attributes, int slack) CopyUpToAddAttributes() argument
3920 CopyForFastObjectClone( Isolate* isolate, Handle<DescriptorArray> src_handle, int enumeration_index, int slack) CopyForFastObjectClone() argument
4404 Allocate(IsolateT* isolate, int nof_descriptors, int slack, AllocationType allocation) Allocate() argument
4420 Initialize(EnumCache empty_enum_cache, HeapObject undefined_value, int nof_descriptors, int slack) Initialize() argument
[all...]
H A Dmap-inl.h359 // byte encodes the slack in the property array. in UnusedPropertyFields()
389 // All in-object properties are used and the words is tracking the slack in UsedInstanceSize()
416 // the slack in the property array. in SetOutOfObjectUnusedPropertyFields()
865 int Map::InstanceSizeFromSlack(int slack) const { in InstanceSizeFromSlack()
866 return instance_size() - slack * kTaggedSize; in InstanceSizeFromSlack()
H A Djs-function.cc629 // slack tracking that is in progress at this point because it is in SetInstancePrototype()
1099 int slack = initial_map().ComputeMinObjectSlack(isolate); in ComputeInstanceSizeWithMinSlack() local
1100 return initial_map().InstanceSizeFromSlack(slack); in ComputeInstanceSizeWithMinSlack()
1288 // Inobject slack tracking will reclaim redundant inobject space in CalculateExpectedNofProperties()
/third_party/musl/src/malloc/mallocng/
H A Dmeta.h214 size_t slack = (stride-IB-n)/UNIT; in enframe() local
221 if (off > slack) { in enframe()
222 size_t m = slack; in enframe()
225 if (off > slack) off -= slack+1; in enframe()
226 assert(off <= slack); in enframe()
/third_party/musl/porting/linux/user/src/malloc/mallocng/
H A Dmeta.h214 size_t slack = (stride-IB-n)/UNIT; in enframe() local
221 if (off > slack) { in enframe()
222 size_t m = slack; in enframe()
225 if (off > slack) off -= slack+1; in enframe()
226 assert(off <= slack); in enframe()
/third_party/backends/backend/
H A Dxerox_mfp.c1210 DBG(4, "acquiring, size per band v: %d, h: %d, %sblock: %d, slack: %d\n", in dev_acquire()
1232 const int slack = dev->total_img_size - dev->total_out_size; in fill_slack() local
1233 const int havelen = MIN(slack, maxlen); in fill_slack()
1253 break; /* slack */ in copy_plain_trim()
1338 int slack = dev->total_img_size - dev->total_out_size; in sane_read() local
1340 /* but we may need to fill slack */ in sane_read()
1341 if (buf && lenp && slack > 0) { in sane_read()
1344 DBG(9, "<> slack: %d, filled: %d, maxlen %d\n", in sane_read()
1345 slack, *lenp, maxlen); in sane_read()
1347 } else if (slack < in sane_read()
[all...]
/third_party/node/deps/v8/src/heap/
H A Dfactory-base.cc864 int number_of_descriptors, int slack, AllocationType allocation) { in NewDescriptorArray()
865 int number_of_all_descriptors = number_of_descriptors + slack; in NewDescriptorArray()
874 slack); in NewDescriptorArray()
863 NewDescriptorArray( int number_of_descriptors, int slack, AllocationType allocation) NewDescriptorArray() argument
H A Dfactory-base.h255 int number_of_entries, int slack = 0,
H A Dfactory.h437 int slack = 0);
H A Dfactory.cc1803 int slack) { in NewTransitionArray()
1804 int capacity = TransitionArray::LengthFor(number_of_transitions + slack); in NewTransitionArray()
2536 // to different elements kind from the initial map on which we track slack. in InitializeJSObjectBody()
1802 NewTransitionArray(int number_of_transitions, int slack) NewTransitionArray() argument
/third_party/node/deps/v8/src/compiler/
H A Dheap-refs.cc576 int slack = std::numeric_limits<int>::max(); in InstanceSizeWithMinSlack() local
578 slack = std::min(slack, m->UnusedPropertyFields()); in InstanceSizeWithMinSlack()
581 return map.object()->InstanceSizeFromSlack(slack); in InstanceSizeWithMinSlack()
/third_party/node/deps/v8/src/ast/
H A Dprettyprinter.cc661 const int slack = 32; in Print() local
662 int new_size = size_ + (size_ >> 1) + slack; in Print()
/third_party/node/deps/v8/src/ic/
H A Dic.cc3217 int slack = 0; in FastCloneObjectMap() local
3219 isolate, source_descriptors, size, slack); in FastCloneObjectMap()

Completed in 67 milliseconds