Home
last modified time | relevance | path

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

12

/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 < (((uptr)1) << 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 ((uptr)1) << (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 (((uptr)1) << stack_size_log) * class_id + 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/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/v8/src/profiler/
Dheap-profiler.cc47 uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback) { in DefineWrapperClass() argument
48 DCHECK(class_id != v8::HeapProfiler::kPersistentHandleNoClassId); in DefineWrapperClass()
49 if (wrapper_callbacks_.length() <= class_id) { in DefineWrapperClass()
51 NULL, class_id - wrapper_callbacks_.length() + 1); in DefineWrapperClass()
53 wrapper_callbacks_[class_id] = callback; in DefineWrapperClass()
58 uint16_t class_id, Object** wrapper) { in ExecuteWrapperClassCallback() argument
59 if (wrapper_callbacks_.length() <= class_id) return NULL; in ExecuteWrapperClassCallback()
60 return wrapper_callbacks_[class_id]( in ExecuteWrapperClassCallback()
61 class_id, Utils::ToLocal(Handle<Object>(wrapper))); in ExecuteWrapperClassCallback()
Dheap-profiler.h63 uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback);
65 v8::RetainedObjectInfo* ExecuteWrapperClassCallback(uint16_t class_id,
/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/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/libusb/examples/
Dhotplugtest.c73 int product_id, vendor_id, class_id; in main() local
78 class_id = (argc > 3) ? (int)strtol (argv[3], NULL, 0) : LIBUSB_HOTPLUG_MATCH_ANY; in main()
94 product_id, class_id, hotplug_callback, NULL, &hp[0]); in main()
102 product_id,class_id, hotplug_callback_detach, NULL, &hp[1]); in main()
/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>
Dcil_type_statements.md280 (typechange source_type_id target_type_id class_id change_type_id)
303 <td align="left"><p><code>class_id</code></p></td>
340 (typemember source_type_id target_type_id class_id member_type_id)
363 <td align="left"><p><code>class_id</code></p></td>
400 (typetransition source_type_id target_type_id class_id [object_name] default_type_id)
423 <td align="left"><p><code>class_id</code></p></td>
Dcil_constraint_statements.md98 (validatetrans class_id expression | expr ...)
113 <td align="left"><p><code>class_id</code></p></td>
247 (mlsvalidatetrans class_id expression | expr ...)
262 <td align="left"><p><code>class_id</code></p></td>
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc124 uptr class_id = a->GetSizeClass(x); in TestSizeClassAllocator() local
125 CHECK_EQ(class_id, Allocator::SizeClassMapT::ClassID(size)); in TestSizeClassAllocator()
509 for (int class_id = 1; class_id <= 5; class_id++) { in TestSizeClassAllocatorLocalCache() local
513 allocated[i] = cache.Allocate(a, class_id); in TestSizeClassAllocatorLocalCache()
516 cache.Deallocate(a, class_id, allocated[i]); in TestSizeClassAllocatorLocalCache()
581 uptr class_id; member
587 params->thread_cache->Deallocate(params->allocator, params->class_id, params); in DeallocNewThreadWorker()
601 uptr class_id = DefaultSizeClassMap::ClassID(sizeof(NewThreadParams)); in TEST() local
603 main_cache.Allocate(&allocator, class_id)); in TEST()
606 params->class_id = class_id; in TEST()
/external/selinux/libsepol/src/
Davrule_block.c179 int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p) in is_perm_enabled() argument
183 if (!is_id_enabled(class_id, p, SYM_CLASSES)) { in is_perm_enabled()
187 (class_datum_t *) hashtab_search(p->p_classes.table, class_id); in is_perm_enabled()
/external/selinux/checkpolicy/
Dmodule_compiler.c783 char *class_id = queue_remove(id_queue); in require_class() local
790 free(class_id); in require_class()
797 if (class_id == NULL) { in require_class()
808 require_symbol(SYM_CLASSES, class_id, datum, &datum->s.value, in require_class()
812 free(class_id); in require_class()
825 datum = hashtab_search(policydbp->p_classes.table, class_id); in require_class()
827 free(class_id); in require_class()
1175 int is_perm_in_scope(hashtab_key_t perm_id, hashtab_key_t class_id) in is_perm_in_scope() argument
1179 class_id); in is_perm_in_scope()
Dmodule_compiler.h73 int is_perm_in_scope(hashtab_key_t perm_id, hashtab_key_t class_id);
/external/selinux/libsepol/include/sepol/policydb/
Davrule_block.h39 extern int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p);
/external/v8/src/third_party/vtune/
Djitprofiling.h239 unsigned int class_id; member
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Djitprofiling.h200 unsigned int class_id; member
DIntelJITEventListener.cpp89 Result.class_id = 0; in FunctionDescToIntelJITFormat()
/external/v8/include/
Dv8-profiler.h657 typedef RetainedObjectInfo* (*WrapperInfoCallback)(uint16_t class_id,
800 uint16_t class_id,
/external/kernel-headers/original/uapi/linux/
Di2o-dev.h206 __u32 class_id:12; member
/external/clang/test/SemaObjCXX/
Doverload.mm172 namespace class_id {

12