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

/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/accumulators/
H A Dclass-partition-key.h28 ClassPartitionKey() : class_id(-1), partition_id(-1), feature_id(-1) {}
31 : class_id(c), partition_id(p), feature_id(f) {}
35 (partition_id == other.partition_id) && (class_id == other.class_id);
42 (static_cast<uint64>(key.partition_id) << 32) | (key.class_id);
48 uint32 class_id; member in struct:tensorflow::boosted_trees::learner::ClassPartitionKey
H A Dfeature-stats-accumulator.h48 void AddStats(uint32 slot_id, uint32 class_id, uint32 partition_id, argument
51 class_id, partition_id, feature_id)]);
57 StatsType GetStats(uint32 slot_id, uint32 class_id, uint32 partition_id, argument
60 ClassPartitionKey(class_id, partition_id, feature_id));
/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/libusb/examples/
H A Dhotplugtest.c73 int product_id, vendor_id, class_id; local
78 class_id = (argc > 3) ? (int)strtol (argv[3], NULL, 0) : LIBUSB_HOTPLUG_MATCH_ANY;
94 product_id, class_id, hotplug_callback, NULL, &hp[0]);
102 product_id,class_id, hotplug_callback_detach, NULL, &hp[1]);
/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 ((uptr)1) << (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
125 Deallocate(uptr x, uptr class_id) argument
140 BytesInSizeClass(uptr class_id) argument
147 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 < (((uptr)1) << 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/libxcam/modules/isp/
H A Dlibtbd.h98 uint16_t class_id; /*!< tbd_class_t enumeration values used */ member in struct:__anon13284
/external/selinux/libsepol/src/
H A Davrule_block.c194 int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p) argument
198 if (!is_id_enabled(class_id, p, SYM_CLASSES)) {
202 (class_datum_t *) hashtab_search(p->p_classes.table, class_id);
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/stats/
H A Dnode-stats.h226 void FillLeaf(const int class_id, boosted_trees::trees::Leaf* leaf) const { argument
227 if (class_id == -1) {
234 leaf->mutable_sparse_vector()->add_index(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.cc47 uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback) {
48 DCHECK(class_id != v8::HeapProfiler::kPersistentHandleNoClassId);
49 if (wrapper_callbacks_.length() <= class_id) {
51 NULL, class_id - wrapper_callbacks_.length() + 1);
53 wrapper_callbacks_[class_id] = callback;
58 uint16_t class_id, Object** wrapper) {
59 if (wrapper_callbacks_.length() <= class_id) return NULL;
60 return wrapper_callbacks_[class_id](
61 class_id, Utils::ToLocal(Handle<Object>(wrapper)));
46 DefineWrapperClass( uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback) argument
57 ExecuteWrapperClassCallback( uint16_t class_id, Object** wrapper) argument
H A Dheap-snapshot-generator.cc2199 void VisitEmbedderReference(Object** p, uint16_t class_id) override {
2200 explorer_->VisitSubtreeWrapper(p, class_id);
2469 void NativeObjectsExplorer::VisitSubtreeWrapper(Object** p, uint16_t class_id) { argument
2473 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/tensorflow/tensorflow/contrib/boosted_trees/kernels/
H A Dsplit_handler_ops.cc76 void ReadClassId(OpKernelContext* const context, int32* class_id) { argument
78 OP_REQUIRES_OK(context, context->input("class_id", &class_id_t));
80 errors::InvalidArgument("class_id must be a scalar."));
81 *class_id = class_id_t->scalar<int32>()();
84 void FillLeaf(const int class_id, const NodeStats& best_node_stats, argument
86 if (class_id == -1) {
96 leaf->mutable_sparse_vector()->add_index(class_id);
142 int class_id; variable
143 ReadClassId(context, &class_id);
230 FillLeaf(class_id, best_left_node_stat
278 int class_id; variable
557 int class_id; variable
[all...]
/external/tensorflow/tensorflow/core/kernels/
H A Dsdca_internal.h251 float nominals(const int class_id, const int64 index) const { argument
253 return nominals_(class_id, it->second);
257 float deltas(const int class_id, const int64 index) const { argument
259 return deltas_(class_id, it->second);
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cc124 uptr class_id = a->GetSizeClass(x); local
125 CHECK_EQ(class_id, Allocator::SizeClassMapT::ClassID(size));
509 for (int class_id = 1; class_id <= 5; class_id++) {
513 allocated[i] = cache.Allocate(a, class_id);
516 cache.Deallocate(a, class_id, allocated[i]);
581 uptr class_id; member in struct:NewThreadParams
587 params->thread_cache->Deallocate(params->allocator, params->class_id, params);
601 uptr class_id local
[all...]
/external/selinux/checkpolicy/
H A Dmodule_compiler.c783 char *class_id = queue_remove(id_queue); local
790 free(class_id);
797 if (class_id == NULL) {
808 require_symbol(SYM_CLASSES, class_id, datum, &datum->s.value,
812 free(class_id);
825 datum = hashtab_search(policydbp->p_classes.table, class_id);
827 free(class_id);
1175 int is_perm_in_scope(hashtab_key_t perm_id, hashtab_key_t class_id) argument
1179 class_id);
/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
353 AllocateBatch(AllocatorStats *stat, AllocatorCache *c, uptr class_id) argument
364 DeallocateBatch(AllocatorStats *stat, uptr class_id, Batch *b) argument
386 uptr class_id = GetSizeClass(p); local
408 uptr class_id = GetSizeClass(p); local
522 GetRegionInfo(uptr class_id) argument
538 PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, uptr class_id, RegionInfo *region) argument
751 AllocateBatch(AllocatorStats *stat, AllocatorCache *c, uptr class_id) argument
764 DeallocateBatch(AllocatorStats *stat, uptr class_id, Batch *b) argument
878 AllocateRegion(AllocatorStats *stat, uptr class_id) argument
889 GetSizeClassInfo(uptr class_id) argument
894 PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, SizeClassInfo *sci, uptr class_id) argument
946 Allocate(SizeClassAllocator *allocator, uptr class_id) argument
958 Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) argument
1000 Refill(SizeClassAllocator *allocator, uptr class_id) argument
1012 Drain(SizeClassAllocator *allocator, uptr class_id) argument
[all...]
/external/kernel-headers/original/uapi/linux/
H A Di2o-dev.h207 __u32 class_id:12; member in struct:_i2o_lct_entry
/external/v8/include/
H A Dv8.h595 V8_INLINE void SetWrapperClassId(uint16_t class_id);
6232 uint16_t class_id) {}
8837 void PersistentBase<T>::SetWrapperClassId(uint16_t class_id) { argument
8842 *reinterpret_cast<uint16_t*>(addr) = class_id;
6231 VisitPersistentHandle(Persistent<Value>* value, uint16_t class_id) argument
/external/v8/src/
H A Dapi.cc8786 void VisitEmbedderReference(i::Object** p, uint16_t class_id) override {
8789 reinterpret_cast<Persistent<Value>*>(&value), class_id); variable
10011 void HeapProfiler::SetWrapperClassInfoProvider(uint16_t class_id, argument
10013 reinterpret_cast<i::HeapProfiler*>(this)->DefineWrapperClass(class_id,

Completed in 1468 milliseconds