Home
last modified time | relevance | path

Searched refs:class_id (Results 1 – 25 of 51) sorted by relevance

123

/external/compiler-rt/lib/asan/
Dasan_fake_stack.cc30 ALWAYS_INLINE void SetShadow(uptr ptr, uptr size, uptr class_id, u64 magic) { in SetShadow() argument
33 if (class_id <= 6) { in SetShadow()
34 for (uptr i = 0; i < (1U << class_id); i++) { in SetShadow()
70 for (uptr class_id = 0; class_id < kNumberOfSizeClasses; class_id++) in Destroy() local
71 str.append("%zd: %zd/%zd; ", class_id, hint_position_[class_id], in Destroy()
72 NumberOfFrames(stack_size_log(), class_id)); in Destroy()
88 FakeFrame *FakeStack::Allocate(uptr stack_size_log, uptr class_id, in Allocate() argument
90 CHECK_LT(class_id, kNumberOfSizeClasses); in Allocate()
93 uptr &hint_position = hint_position_[class_id]; in Allocate()
94 const int num_iter = NumberOfFrames(stack_size_log, class_id); in Allocate()
[all …]
Dasan_fake_stack.h92 static uptr FlagsOffset(uptr stack_size_log, uptr class_id) { in FlagsOffset() argument
93 uptr t = kNumberOfSizeClasses - 1 - class_id; in FlagsOffset()
98 static uptr NumberOfFrames(uptr stack_size_log, uptr class_id) { in NumberOfFrames() argument
99 return 1UL << (stack_size_log - kMinStackFrameSizeLog - class_id); in NumberOfFrames()
103 static uptr ModuloNumberOfFrames(uptr stack_size_log, uptr class_id, uptr n) { in ModuloNumberOfFrames() argument
104 return n & (NumberOfFrames(stack_size_log, class_id) - 1); in ModuloNumberOfFrames()
108 u8 *GetFlags(uptr stack_size_log, uptr class_id) { in GetFlags() argument
110 FlagsOffset(stack_size_log, class_id); in GetFlags()
114 u8 *GetFrame(uptr stack_size_log, uptr class_id, uptr pos) { in GetFrame() argument
117 (1 << stack_size_log) * class_id + BytesInSizeClass(class_id) * pos; in GetFrame()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h120 static uptr Size(uptr class_id) { in Size() argument
121 if (class_id <= kMidClass) in Size()
122 return kMinSize * class_id; in Size()
123 class_id -= kMidClass; in Size()
124 uptr t = kMidSize << (class_id >> S); in Size()
125 return t + (t >> S) * (class_id & M); in Size()
139 static uptr MaxCached(uptr class_id) { in MaxCached() argument
140 if (class_id == 0) return 0; in MaxCached()
141 uptr n = (1UL << kMaxBytesCachedLog) / Size(class_id); in MaxCached()
165 static bool SizeClassRequiresSeparateTransferBatch(uptr class_id) { in SizeClassRequiresSeparateTransferBatch() argument
[all …]
/external/v8/src/profiler/
Dheap-profiler.cc46 uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback) { in DefineWrapperClass() argument
47 DCHECK(class_id != v8::HeapProfiler::kPersistentHandleNoClassId); in DefineWrapperClass()
48 if (wrapper_callbacks_.length() <= class_id) { in DefineWrapperClass()
50 NULL, class_id - wrapper_callbacks_.length() + 1); in DefineWrapperClass()
52 wrapper_callbacks_[class_id] = callback; in DefineWrapperClass()
57 uint16_t class_id, Object** wrapper) { in ExecuteWrapperClassCallback() argument
58 if (wrapper_callbacks_.length() <= class_id) return NULL; in ExecuteWrapperClassCallback()
59 return wrapper_callbacks_[class_id]( in ExecuteWrapperClassCallback()
60 class_id, Utils::ToLocal(Handle<Object>(wrapper))); in ExecuteWrapperClassCallback()
Dheap-profiler.h55 uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback);
57 v8::RetainedObjectInfo* ExecuteWrapperClassCallback(uint16_t class_id,
/external/autotest/server/site_tests/bluetooth_SDP_ServiceBrowse/
Dbluetooth_SDP_ServiceBrowse.py22 def get_attribute_ssr_sar(self, class_id, attr_id, size): argument
34 [class_id], self.MAX_REC_CNT, size)
50 def get_attribute_ssar(self, class_id, attr_id, size): argument
61 [class_id], self.MAX_ATTR_BYTE_CNT, [attr_id], size)
76 def test_attribute(self, class_id, attr_id, get_attribute): argument
88 result_16 = get_attribute(class_id, attr_id, 16)
91 result_cur = get_attribute(class_id, attr_id, size)
/external/compiler-rt/lib/asan/tests/
Dasan_fake_stack_test.cc50 for (uptr class_id = 0; class_id < FakeStack::kNumberOfSizeClasses; in TEST() local
51 class_id++) { in TEST()
52 uptr frame_size = FakeStack::BytesInSizeClass(class_id); in TEST()
54 EXPECT_EQ(offset, FakeStack::FlagsOffset(stack_size_log, class_id)); in TEST()
136 uptr class_id = depth / 3; in RecursiveFunction() local
137 FakeFrame *ff = fs->Allocate(fs->stack_size_log(), class_id, 0); in RecursiveFunction()
142 fs->Deallocate(reinterpret_cast<uptr>(ff), class_id); in RecursiveFunction()
/external/opencv3/modules/features2d/src/kaze/
DKAZEFeatures.cpp286 point.class_id = i; in operator ()()
347 …if (kpts[ik].class_id == level || kpts[ik].class_id == level + 1 || kpts[ik].class_id == level - 1… in Determinant_Hessian()
415 Dx = (1.0f / (2.0f*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x + step) in Do_Subpixel_Refinement()
416 - *(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x - step)); in Do_Subpixel_Refinement()
417 Dy = (1.0f / (2.0f*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y + step) + x) in Do_Subpixel_Refinement()
418 - *(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y - step) + x)); in Do_Subpixel_Refinement()
419 Ds = 0.5f*(*(evolution_[kpts_[i].class_id + 1].Ldet.ptr<float>(y)+x) in Do_Subpixel_Refinement()
420 - *(evolution_[kpts_[i].class_id - 1].Ldet.ptr<float>(y)+x)); in Do_Subpixel_Refinement()
423 Dxx = (1.0f / (step*step))*(*(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x + step) in Do_Subpixel_Refinement()
424 + *(evolution_[kpts_[i].class_id].Ldet.ptr<float>(y)+x - step) in Do_Subpixel_Refinement()
[all …]
DAKAZEFeatures.cpp302 point.class_id = (int)i; in Find_Scale_Space_Extrema()
311 if ((point.class_id - 1) == kpts_aux[ik].class_id || in Find_Scale_Space_Extrema()
312 point.class_id == kpts_aux[ik].class_id) { in Find_Scale_Space_Extrema()
372 if ((pt.class_id + 1) == kpts_aux[j].class_id) { in Find_Scale_Space_Extrema()
410 Dx = (0.5f)*(*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y)+x + 1) in Do_Subpixel_Refinement()
411 - *(evolution_[kpts[i].class_id].Ldet.ptr<float>(y)+x - 1)); in Do_Subpixel_Refinement()
412 Dy = (0.5f)*(*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y + 1) + x) in Do_Subpixel_Refinement()
413 - *(evolution_[kpts[i].class_id].Ldet.ptr<float>(y - 1) + x)); in Do_Subpixel_Refinement()
416 Dxx = (*(evolution_[kpts[i].class_id].Ldet.ptr<float>(y)+x + 1) in Do_Subpixel_Refinement()
417 + *(evolution_[kpts[i].class_id].Ldet.ptr<float>(y)+x - 1) in Do_Subpixel_Refinement()
[all …]
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/
Dbluetooth_SDP_ServiceSearchAttributeRequest.py115 def test_non_existing(self, class_id, attr_id): argument
126 [class_id],
132 'should not!' % (class_id, attr_id))
135 def get_attribute(self, class_id, attr_id, size): argument
149 [class_id], self.MAX_ATTR_BYTE_CNT, [attr_id], size)
157 '%s)' % (class_id, attr_id, size))
160 def test_attribute(self, class_id, attr_id): argument
173 result_16 = self.get_attribute(class_id, attr_id, 16)
175 result_cur = self.get_attribute(class_id, attr_id, size)
/external/opencv3/modules/core/misc/java/src/java/
Dcore+KeyPoint.java33 public int class_id; field in KeyPoint
43 class_id = _class_id; in KeyPoint()
80 + ", class_id=" + class_id + "]"; in toString()
/external/autotest/server/site_tests/bluetooth_SDP_ServiceAttributeRequest/
Dbluetooth_SDP_ServiceAttributeRequest.py104 def get_single_handle(self, class_id): argument
111 res = self.tester.service_search_request([class_id], self.MAX_REC_CNT)
114 'Failed to retrieve handle for 0x%x' % class_id)
140 def get_attribute(self, class_id, attr_id): argument
148 record_handle = self.get_single_handle(class_id)
158 def assert_attribute_equals(self, class_id, attr_id, expected_value): argument
166 self.assert_equal(self.get_attribute(class_id, attr_id),
/external/selinux/secilc/docs/
Dcil_default_object_statements.md13 (defaultuser class_id default)
28 <td align="left"><p><code>class_id</code></p></td>
65 (defaultrole class_id default)
80 <td align="left"><p><code>class_id</code></p></td>
112 (defaulttype class_id default)
127 <td align="left"><p><code>class_id</code></p></td>
150 (defaultrange class_id default range)
165 <td align="left"><p><code>class_id</code></p></td>
Dcil_class_and_permission_statements.md49 (classcommon class_id common_id)
64 <td align="left"><p><code>class_id</code></p></td>
89 (class class_id (permission_id ...))
104 <td align="left"><p><code>class_id</code></p></td>
149 (classorder (class_id ...))
164 <td align="left"><p><code>class_id</code></p></td>
238 (classpermissionset classpermissionset_id (class_id (permission_id | expr ...)))
257 <td align="left"><p><code>class_id</code></p></td>
465 (permissionx permissionx_id (kind class_id (permission ... | expr ...)))
498 <td align="left"><p><code>class_id</code></p></td>
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc114 uptr class_id = a->GetSizeClass(x); in TestSizeClassAllocator() local
115 CHECK_EQ(class_id, Allocator::SizeClassMapT::ClassID(size)); in TestSizeClassAllocator()
503 for (int class_id = 1; class_id <= 5; class_id++) { in TestSizeClassAllocatorLocalCache() local
507 allocated[i] = cache.Allocate(a, class_id); in TestSizeClassAllocatorLocalCache()
510 cache.Deallocate(a, class_id, allocated[i]); in TestSizeClassAllocatorLocalCache()
575 uptr class_id; member
581 params->thread_cache->Deallocate(params->allocator, params->class_id, params); in DeallocNewThreadWorker()
595 uptr class_id = DefaultSizeClassMap::ClassID(sizeof(NewThreadParams)); in TEST() local
597 main_cache.Allocate(&allocator, class_id)); in TEST()
600 params->class_id = class_id; in TEST()
/external/opencv3/modules/features2d/src/
Dkeypoint.cpp184 if( kp1.class_id != kp2.class_id ) in operator ()()
185 return kp1.class_id > kp2.class_id; in operator ()()
/external/opencv3/modules/core/src/
Dtypes.cpp59 _Val = (scale * _Val) ^ ((size_t) class_id); in hash()
90 float size, float response, int octave, int class_id ) in convert() argument
94 keypoints[i] = KeyPoint(points2f[i], size, -1, response, octave, class_id); in convert()
/external/selinux/libsepol/src/
Davrule_block.c177 int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p) in is_perm_enabled() argument
181 if (!is_id_enabled(class_id, p, SYM_CLASSES)) { in is_perm_enabled()
185 (class_datum_t *) hashtab_search(p->p_classes.table, class_id); in is_perm_enabled()
/external/selinux/checkpolicy/
Dmodule_compiler.c743 char *class_id = queue_remove(id_queue); in require_class() local
750 free(class_id); in require_class()
757 if (class_id == NULL) { in require_class()
768 require_symbol(SYM_CLASSES, class_id, datum, &datum->s.value, in require_class()
773 free(class_id); in require_class()
779 free(class_id); in require_class()
785 free(class_id); in require_class()
801 class_id); in require_class()
803 free(class_id); in require_class()
1295 int is_perm_in_scope(hashtab_key_t perm_id, hashtab_key_t class_id) in is_perm_in_scope() argument
[all …]
/external/opencv3/modules/calib3d/src/
Dcheckchessboard.cpp60 …vGetQuadrangleHypotheses(CvSeq* contours, std::vector<std::pair<float, int> >& quads, int class_id) in icvGetQuadrangleHypotheses() argument
81 quads.push_back(std::pair<float, int>(box_size, class_id)); in icvGetQuadrangleHypotheses()
/external/selinux/libsepol/include/sepol/policydb/
Davrule_block.h38 extern int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p);
/external/opencv3/modules/ts/src/
Dcuda_test.cpp451 p1.class_id == p2.class_id) in keyPointsEquals()
494 … << "class_id : " << p1.class_id << " vs " << p2.class_id; in assertKeyPointsEquals()
/external/v8/include/
Dv8-profiler.h433 typedef RetainedObjectInfo* (*WrapperInfoCallback)(uint16_t class_id,
532 uint16_t class_id,
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_pair_regalloc.c615 unsigned int chan, class_id, writemask = 0; in do_advanced_regalloc() local
626 class_id = ra_alloc_reg_class(regs); in do_advanced_regalloc()
627 input_classes[i] = class_id; in do_advanced_regalloc()
628 ra_class_add_reg(regs, class_id, in do_advanced_regalloc()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.h200 unsigned int class_id; member

123