Home
last modified time | relevance | path

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

123

/external/openfst/src/include/fst/
Dpartition.h107 void Add(T element_id, T class_id) { in Add() argument
110 if (classes_[class_id]) in Add()
111 classes_[class_id]->prev = element; in Add()
112 element->next = classes_[class_id]; in Add()
114 classes_[class_id] = element; in Add()
116 class_index_[element_id] = class_id; in Add()
117 class_size_[class_id]++; in Add()
122 void Move(T element_id, T class_id) { in Move() argument
130 Add(element_id, class_id); in Move()
136 T class_id = class_index_[element_id]; in SplitOn() local
[all …]
Dminimize.h94 if (partition_.class_id(arc1.nextstate) < in operator()
95 partition_.class_id(arc2.nextstate)) return true; in operator()
96 if (partition_.class_id(arc1.nextstate) > in operator()
97 partition_.class_id(arc2.nextstate)) return false; in operator()
190 StateId class_id = P_.AddClass(); in PrePartition() local
191 P_.Add(siter.Value(), class_id); in PrePartition()
192 equiv_map[siter.Value()] = class_id; in PrePartition()
193 L_.Enqueue(class_id); in PrePartition()
198 class_id = P_.AddClass(); in PrePartition()
199 P_.Add(s, class_id); in PrePartition()
[all …]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dpartition.h102 void Add(T element_id, T class_id) { in Add() argument
105 if (classes_[class_id]) in Add()
106 classes_[class_id]->prev = element; in Add()
107 element->next = classes_[class_id]; in Add()
109 classes_[class_id] = element; in Add()
111 class_index_[element_id] = class_id; in Add()
112 class_size_[class_id]++; in Add()
117 void Move(T element_id, T class_id) { in Move() argument
125 Add(element_id, class_id); in Move()
131 T class_id = class_index_[element_id]; in SplitOn() local
[all …]
Dminimize.h87 if (partition_.class_id(arc1.nextstate) < in operator()
88 partition_.class_id(arc2.nextstate)) return true; in operator()
89 if (partition_.class_id(arc1.nextstate) > in operator()
90 partition_.class_id(arc2.nextstate)) return false; in operator()
177 StateId class_id = P_.AddClass(); in PrePartition() local
178 P_.Add(siter.Value(), class_id); in PrePartition()
179 equiv_map[siter.Value()] = class_id; in PrePartition()
180 L_.Enqueue(class_id); in PrePartition()
185 class_id = P_.AddClass(); in PrePartition()
186 P_.Add(s, class_id); in PrePartition()
[all …]
/external/libvpx/libvpx/third_party/libmkv/
DEbmlWriter.c62 void Ebml_WriteID(EbmlGlobal *glob, unsigned long class_id) { in Ebml_WriteID() argument
65 if (class_id >= 0x01000000) in Ebml_WriteID()
67 else if (class_id >= 0x00010000) in Ebml_WriteID()
69 else if (class_id >= 0x00000100) in Ebml_WriteID()
74 Ebml_Serialize(glob, (void *)&class_id, sizeof(class_id), len); in Ebml_WriteID()
77 void Ebml_SerializeUnsigned64(EbmlGlobal *glob, unsigned long class_id, uint64_t ui) { in Ebml_SerializeUnsigned64() argument
79 Ebml_WriteID(glob, class_id); in Ebml_SerializeUnsigned64()
84 void Ebml_SerializeUnsigned(EbmlGlobal *glob, unsigned long class_id, unsigned long ui) { in Ebml_SerializeUnsigned() argument
89 Ebml_WriteID(glob, class_id); in Ebml_SerializeUnsigned()
105 void Ebml_SerializeBinary(EbmlGlobal *glob, unsigned long class_id, unsigned long bin) { in Ebml_SerializeBinary() argument
[all …]
DEbmlWriter.h30 void Ebml_WriteID(EbmlGlobal *glob, unsigned long class_id);
31 void Ebml_SerializeUnsigned64(EbmlGlobal *glob, unsigned long class_id, uint64_t ui);
32 void Ebml_SerializeUnsigned(EbmlGlobal *glob, unsigned long class_id, unsigned long ui);
33 void Ebml_SerializeBinary(EbmlGlobal *glob, unsigned long class_id, unsigned long ui);
34 void Ebml_SerializeFloat(EbmlGlobal *glob, unsigned long class_id, double d);
37 void Ebml_SerializeString(EbmlGlobal *glob, unsigned long class_id, const char *s);
38 void Ebml_SerializeUTF8(EbmlGlobal *glob, unsigned long class_id, wchar_t *s);
39 void Ebml_SerializeData(EbmlGlobal *glob, unsigned long class_id, unsigned char *data, unsigned lon…
DEbmlBufferWriter.c38 void Ebml_StartSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc, unsigned long class_id) { in Ebml_StartSubElement() argument
39 Ebml_WriteID(glob, class_id); in Ebml_StartSubElement()
DEbmlBufferWriter.h15 void Ebml_StartSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc, unsigned long class_id);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h117 static uptr Size(uptr class_id) { in Size() argument
118 if (class_id <= kMidClass) in Size()
119 return kMinSize * class_id; in Size()
120 class_id -= kMidClass; in Size()
121 uptr t = kMidSize << (class_id >> S); in Size()
122 return t + (t >> S) * (class_id & M); in Size()
136 static uptr MaxCached(uptr class_id) { in MaxCached() argument
137 if (class_id == 0) return 0; in MaxCached()
138 uptr n = (1UL << kMaxBytesCachedLog) / Size(class_id); in MaxCached()
162 static bool SizeClassRequiresSeparateTransferBatch(uptr class_id) { in SizeClassRequiresSeparateTransferBatch() argument
[all …]
/external/v8/src/
Dheap-profiler.cc90 uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback) { in DefineWrapperClass() argument
91 ASSERT(class_id != v8::HeapProfiler::kPersistentHandleNoClassId); in DefineWrapperClass()
92 if (wrapper_callbacks_.length() <= class_id) { in DefineWrapperClass()
94 NULL, class_id - wrapper_callbacks_.length() + 1); in DefineWrapperClass()
96 wrapper_callbacks_[class_id] = callback; in DefineWrapperClass()
101 uint16_t class_id, Object** wrapper) { in ExecuteWrapperClassCallback() argument
102 if (wrapper_callbacks_.length() <= class_id) return NULL; in ExecuteWrapperClassCallback()
103 return wrapper_callbacks_[class_id]( in ExecuteWrapperClassCallback()
104 class_id, Utils::ToLocal(Handle<Object>(wrapper))); in ExecuteWrapperClassCallback()
Dheap-profiler.h68 uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback);
70 v8::RetainedObjectInfo* ExecuteWrapperClassCallback(uint16_t class_id,
/external/chromium_org/v8/src/
Dheap-profiler.cc70 uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback) { in DefineWrapperClass() argument
71 ASSERT(class_id != v8::HeapProfiler::kPersistentHandleNoClassId); in DefineWrapperClass()
72 if (wrapper_callbacks_.length() <= class_id) { in DefineWrapperClass()
74 NULL, class_id - wrapper_callbacks_.length() + 1); in DefineWrapperClass()
76 wrapper_callbacks_[class_id] = callback; in DefineWrapperClass()
81 uint16_t class_id, Object** wrapper) { in ExecuteWrapperClassCallback() argument
82 if (wrapper_callbacks_.length() <= class_id) return NULL; in ExecuteWrapperClassCallback()
83 return wrapper_callbacks_[class_id]( in ExecuteWrapperClassCallback()
84 class_id, Utils::ToLocal(Handle<Object>(wrapper))); in ExecuteWrapperClassCallback()
Dheap-profiler.h76 uint16_t class_id, v8::HeapProfiler::WrapperInfoCallback callback);
78 v8::RetainedObjectInfo* ExecuteWrapperClassCallback(uint16_t class_id,
/external/chromium_org/chrome/tools/ipclist/
Dipclist.cc53 int class_id = IPC_MESSAGE_ID_CLASS(msgtable[i].id); in check_msgtable() local
54 if (class_id >= LastIPCMsgStart) { in check_msgtable()
58 while (class_id > previous_class_id + 1) { in check_msgtable()
62 std::cout << "Missing message file: gap before " << class_id << "\n"; in check_msgtable()
68 previous_class_id = class_id; in check_msgtable()
69 if (class_id > highest_class_id) in check_msgtable()
70 highest_class_id = class_id; in check_msgtable()
/external/chromium_org/media/tools/constrained_network_server/
Dtraffic_control.py196 class_id = '1:%x' % config['port']
204 'parent', '1:', 'classid', class_id, 'htb', 'rate', bandwidth,
207 (class_id, option)))
221 class_id = '1:%x' % config['port']
223 class_id, 'handle', port_hex + ':0', 'netem']
234 _Exec(command, msg='Could not attach qdisc to class ID %s.' % class_id)
244 class_id = '1:%x' % port
248 '0xffff', 'flowid', class_id]
/external/chromium_org/chrome_frame/
Dchrome_frame_activex.h60 STDMETHOD(GetClassID)(CLSID* class_id) { in STDMETHOD()
61 if (class_id != NULL) in STDMETHOD()
62 *class_id = GetObjectCLSID(); in STDMETHOD()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc110 uptr class_id = a->GetSizeClass(x); in TestSizeClassAllocator() local
111 CHECK_EQ(class_id, Allocator::SizeClassMapT::ClassID(size)); in TestSizeClassAllocator()
490 for (int class_id = 1; class_id <= 5; class_id++) { in TestSizeClassAllocatorLocalCache() local
494 allocated[i] = cache.Allocate(a, class_id); in TestSizeClassAllocatorLocalCache()
497 cache.Deallocate(a, class_id, allocated[i]); in TestSizeClassAllocatorLocalCache()
562 uptr class_id; member
568 params->thread_cache->Deallocate(params->allocator, params->class_id, params); in DeallocNewThreadWorker()
582 uptr class_id = DefaultSizeClassMap::ClassID(sizeof(NewThreadParams)); in TEST() local
584 main_cache.Allocate(&allocator, class_id)); in TEST()
587 params->class_id = class_id; in TEST()
/external/qemu/
Dusb-linux.c64 typedef int USBScanFunc(void *opaque, int bus_num, int addr, int class_id,
1064 int bus_num, addr, speed, device_count, class_id, product_id, vendor_id; in usb_host_scan_dev() local
1080 bus_num = addr = speed = class_id = product_id = vendor_id = 0; in usb_host_scan_dev()
1089 ret = func(opaque, bus_num, addr, class_id, vendor_id, in usb_host_scan_dev()
1109 class_id = 0xff; in usb_host_scan_dev()
1127 class_id = strtoul(buf, NULL, 16); in usb_host_scan_dev()
1133 ret = func(opaque, bus_num, addr, class_id, vendor_id, in usb_host_scan_dev()
1183 int bus_num, addr, speed, class_id, product_id, vendor_id; in usb_host_scan_sys() local
1209 if (sscanf(line, "%x", &class_id) != 1) in usb_host_scan_sys()
1241 ret = func(opaque, bus_num, addr, class_id, vendor_id, in usb_host_scan_sys()
[all …]
/external/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/chromium_org/media/webm/chromeos/
Dwebm_encoder.cc30 unsigned long class_id, in Ebml_SerializeUnsigned32() argument
33 Ebml_WriteID(ebml, class_id); in Ebml_SerializeUnsigned32()
257 void WebmEncoder::StartSubElement(unsigned long class_id) { in StartSubElement() argument
258 Ebml_WriteID(&ebml_writer_, class_id); in StartSubElement()
/external/checkpolicy/
Dmodule_compiler.c742 char *class_id = queue_remove(id_queue); in require_class() local
749 free(class_id); in require_class()
756 if (class_id == NULL) { in require_class()
767 require_symbol(SYM_CLASSES, class_id, datum, &datum->s.value, in require_class()
772 free(class_id); in require_class()
778 free(class_id); in require_class()
784 free(class_id); in require_class()
800 class_id); in require_class()
802 free(class_id); in require_class()
1294 int is_perm_in_scope(hashtab_key_t perm_id, hashtab_key_t class_id) in is_perm_in_scope() argument
[all …]
/external/libvpx/libvpx/
Dwebmenc.c66 unsigned int class_id, in Ebml_SerializeUnsigned32() argument
69 Ebml_WriteID(glob, class_id); in Ebml_SerializeUnsigned32()
76 unsigned int class_id) { in Ebml_StartSubElement() argument
78 Ebml_WriteID(glob, class_id); in Ebml_StartSubElement()
/external/chromium/chrome/browser/google/
Dgoogle_update.cc101 HRESULT CoCreateInstanceAsAdmin(REFCLSID class_id, REFIID interface_id, in CoCreateInstanceAsAdmin() argument
110 StringFromGUID2(class_id, class_id_as_string, in CoCreateInstanceAsAdmin()
126 return CoCreateInstance(class_id, NULL, CLSCTX_LOCAL_SERVER, in CoCreateInstanceAsAdmin()
/external/chromium_org/remoting/host/setup/
Ddaemon_installer_win.cc350 CLSID class_id; in Create() local
351 result = CLSIDFromProgID(kGoogleUpdate, &class_id); in Create()
353 result = CoCreateInstance(class_id, in Create()
/external/v8/include/
Dv8-profiler.h396 (uint16_t class_id, Handle<Value> wrapper);
424 uint16_t class_id,

123