Searched defs:class_id (Results 1 - 20 of 20) sorted by relevance

/external/compiler-rt/lib/asan/tests/
H A Dasan_fake_stack_test.cc50 for (uptr class_id = 0; class_id < FakeStack::kNumberOfSizeClasses;
51 class_id++) {
52 uptr frame_size = FakeStack::BytesInSizeClass(class_id);
54 EXPECT_EQ(offset, FakeStack::FlagsOffset(stack_size_log, class_id));
55 // printf("%zd: %zd => %zd %zd\n", stack_size_log, class_id, offset,
56 // FakeStack::FlagsOffset(stack_size_log, class_id));
136 uptr class_id = depth / 3; local
137 FakeFrame *ff = fs->Allocate(fs->stack_size_log(), class_id, 0);
142 fs->Deallocate(reinterpret_cast<uptr>(ff), class_id); local
[all...]
/external/opencv3/modules/core/misc/java/src/java/
H A Dcore+KeyPoint.java33 public int class_id; field in class:KeyPoint
43 class_id = _class_id;
80 + ", class_id=" + class_id + "]";
/external/selinux/libsepol/src/
H A Davrule_block.c177 int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p) argument
181 if (!is_id_enabled(class_id, p, SYM_CLASSES)) {
185 (class_datum_t *) hashtab_search(p->p_classes.table, class_id);
/external/compiler-rt/lib/asan/
H A Dasan_fake_stack.h92 static uptr FlagsOffset(uptr stack_size_log, uptr class_id) { argument
93 uptr t = kNumberOfSizeClasses - 1 - class_id;
98 static uptr NumberOfFrames(uptr stack_size_log, uptr class_id) { argument
99 return 1UL << (stack_size_log - kMinStackFrameSizeLog - class_id);
103 static uptr ModuloNumberOfFrames(uptr stack_size_log, uptr class_id, uptr n) { argument
104 return n & (NumberOfFrames(stack_size_log, class_id) - 1);
107 // The the pointer to the flags of the given class_id.
108 u8 *GetFlags(uptr stack_size_log, uptr class_id) { argument
110 FlagsOffset(stack_size_log, class_id);
113 // Get frame by class_id an
114 GetFrame(uptr stack_size_log, uptr class_id, uptr pos) argument
124 Deallocate(uptr x, uptr class_id) argument
139 BytesInSizeClass(uptr class_id) argument
146 SavedFlagPtr(uptr x, uptr class_id) argument
[all...]
H A Dasan_fake_stack.cc30 ALWAYS_INLINE void SetShadow(uptr ptr, uptr size, uptr class_id, u64 magic) { argument
33 if (class_id <= 6) {
34 for (uptr i = 0; i < (1U << class_id); i++) {
70 for (uptr class_id = 0; class_id < kNumberOfSizeClasses; class_id++)
71 str.append("%zd: %zd/%zd; ", class_id, hint_position_[class_id],
72 NumberOfFrames(stack_size_log(), class_id));
88 FakeFrame *FakeStack::Allocate(uptr stack_size_log, uptr class_id, argument
110 *SavedFlagPtr(reinterpret_cast<uptr>(res), class_id) = &flags[pos]; local
202 OnMalloc(uptr class_id, uptr size) argument
214 OnFree(uptr ptr, uptr class_id, uptr size) argument
[all...]
/external/opencv3/modules/calib3d/src/
H A Dcheckchessboard.cpp60 static void icvGetQuadrangleHypotheses(CvSeq* contours, std::vector<std::pair<float, int> >& quads, int class_id) argument
81 quads.push_back(std::pair<float, int>(box_size, class_id));
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
H A Djitprofiling.h200 unsigned int class_id; member in struct:_iJIT_Method_Load
/external/v8/src/profiler/
H A Dheap-profiler.cc46 uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback) {
47 DCHECK(class_id != v8::HeapProfiler::kPersistentHandleNoClassId);
48 if (wrapper_callbacks_.length() <= class_id) {
50 NULL, class_id - wrapper_callbacks_.length() + 1);
52 wrapper_callbacks_[class_id] = callback;
57 uint16_t class_id, Object** wrapper) {
58 if (wrapper_callbacks_.length() <= class_id) return NULL;
59 return wrapper_callbacks_[class_id](
60 class_id, Utils::ToLocal(Handle<Object>(wrapper)));
45 DefineWrapperClass( uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback) argument
56 ExecuteWrapperClassCallback( uint16_t class_id, Object** wrapper) argument
H A Dheap-snapshot-generator.cc2240 void VisitEmbedderReference(Object** p, uint16_t class_id) override {
2241 explorer_->VisitSubtreeWrapper(p, class_id);
2516 void NativeObjectsExplorer::VisitSubtreeWrapper(Object** p, uint16_t class_id) { argument
2520 isolate->heap_profiler()->ExecuteWrapperClassCallback(class_id, p);
/external/v8/src/third_party/vtune/
H A Djitprofiling.h239 unsigned int class_id; member in struct:_iJIT_Method_Load
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cc114 uptr class_id = a->GetSizeClass(x); local
115 CHECK_EQ(class_id, Allocator::SizeClassMapT::ClassID(size));
503 for (int class_id = 1; class_id <= 5; class_id++) {
507 allocated[i] = cache.Allocate(a, class_id);
510 cache.Deallocate(a, class_id, allocated[i]);
575 uptr class_id; member in struct:NewThreadParams
581 params->thread_cache->Deallocate(params->allocator, params->class_id, params);
595 uptr class_id local
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_pair_regalloc.c615 unsigned int chan, class_id, writemask = 0; local
626 class_id = ra_alloc_reg_class(regs);
627 input_classes[i] = class_id;
628 ra_class_add_reg(regs, class_id,
/external/selinux/checkpolicy/
H A Dmodule_compiler.c743 char *class_id = queue_remove(id_queue); local
750 free(class_id);
757 if (class_id == NULL) {
768 require_symbol(SYM_CLASSES, class_id, datum, &datum->s.value,
773 free(class_id);
779 free(class_id);
785 free(class_id);
801 class_id);
803 free(class_id);
1295 int is_perm_in_scope(hashtab_key_t perm_id, hashtab_key_t class_id) argument
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator.h31 // Classes 1 - 16 correspond to sizes 16 to 256 (size = class_id * 16).
120 static uptr Size(uptr class_id) { argument
121 if (class_id <= kMidClass)
122 return kMinSize * class_id;
123 class_id -= kMidClass;
124 uptr t = kMidSize << (class_id >> S);
125 return t + (t >> S) * (class_id & M);
139 static uptr MaxCached(uptr class_id) { argument
140 if (class_id == 0) return 0;
141 uptr n = (1UL << kMaxBytesCachedLog) / Size(class_id);
165 SizeClassRequiresSeparateTransferBatch(uptr class_id) argument
345 AllocateBatch(AllocatorStats *stat, AllocatorCache *c, uptr class_id) argument
356 DeallocateBatch(AllocatorStats *stat, uptr class_id, Batch *b) argument
372 uptr class_id = GetSizeClass(p); local
394 uptr class_id = GetSizeClass(p); local
502 GetRegionInfo(uptr class_id) argument
517 PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, uptr class_id, RegionInfo *region) argument
730 AllocateBatch(AllocatorStats *stat, AllocatorCache *c, uptr class_id) argument
743 DeallocateBatch(AllocatorStats *stat, uptr class_id, Batch *b) argument
854 AllocateRegion(AllocatorStats *stat, uptr class_id) argument
865 GetSizeClassInfo(uptr class_id) argument
870 PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, SizeClassInfo *sci, uptr class_id) argument
922 Allocate(SizeClassAllocator *allocator, uptr class_id) argument
934 Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) argument
976 Refill(SizeClassAllocator *allocator, uptr class_id) argument
988 Drain(SizeClassAllocator *allocator, uptr class_id) argument
[all...]
/external/opencv3/modules/core/include/opencv2/core/
H A Dtypes.hpp677 @param class_id object id
681 float size=1, float response=1, int octave=0, int class_id=-1);
699 CV_PROP_RW int class_id; //!< object class (if the keypoints need to be clustered by an object they belong to) member in class:cv::KeyPoint
2180 : pt(0,0), size(0), angle(-1), response(0), octave(0), class_id(-1) {}
2184 : pt(_pt), size(_size), angle(_angle), response(_response), octave(_octave), class_id(_class_id) {}
2188 : pt(x, y), size(_size), angle(_angle), response(_response), octave(_octave), class_id(_class_id) {}
/external/kernel-headers/original/uapi/linux/
H A Di2o-dev.h206 __u32 class_id:12; member in struct:_i2o_lct_entry
/external/v8/test/cctest/
H A Dtest-heap-profiler.cc1433 uint16_t class_id, v8::Local<v8::Value> wrapper) {
1434 if (class_id == 1) {
1442 } else if (class_id == 2) {
1432 WrapperInfoCallback( uint16_t class_id, v8::Local<v8::Value> wrapper) argument
H A Dtest-api.cc19389 uint16_t class_id) {
19390 if (class_id != 42) return;
19388 VisitPersistentHandle(Persistent<Value>* value, uint16_t class_id) argument
/external/v8/include/
H A Dv8.h632 V8_INLINE void SetWrapperClassId(uint16_t class_id);
5269 uint16_t class_id) {}
7470 void PersistentBase<T>::SetWrapperClassId(uint16_t class_id) { argument
7475 *reinterpret_cast<uint16_t*>(addr) = class_id;
5268 VisitPersistentHandle(Persistent<Value>* value, uint16_t class_id) argument
/external/v8/src/
H A Dapi.cc7608 void VisitEmbedderReference(i::Object** p, uint16_t class_id) override {
7611 reinterpret_cast<Persistent<Value>*>(&value), class_id); variable
8286 void HeapProfiler::SetWrapperClassInfoProvider(uint16_t class_id, argument
8288 reinterpret_cast<i::HeapProfiler*>(this)->DefineWrapperClass(class_id,

Completed in 758 milliseconds