Home
last modified time | relevance | path

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

123

/third_party/boost/libs/python/src/object/
Dinheritance.cpp51 typedef python::type_info class_id; typedef
156 class_id // static type
185 inline type_index_t::iterator type_position(class_id type) in type_position()
192 , boost::bind<bool>(std::less<class_id>() in type_position()
193 , boost::bind<class_id>(select1st<entry>(), _1) in type_position()
194 , boost::bind<class_id>(select1st<entry>(), _2))); in type_position()
197 inline index_entry* seek_type(class_id type) in seek_type()
207 inline type_index_t::iterator demand_type(class_id type) in demand_type()
226 demand_types(class_id t1, class_id t2) in demand_types()
353 class_id // source static type
[all …]
/third_party/mindspore/mindspore/lite/examples/transfer_learning/
Dprepare_dataset.sh9 class_id=0
14 mkdir -p dataset/$class_id
17 echo -n $(($class_id+1)) ' '
21 …GB -gravity center -crop '224x224+0+0' ${PLACES_DATA_PATH}/val_256/$line dataset/$class_id/$f.bmp;
25 class_id=$(($class_id+1))
/third_party/boost/boost/python/object/
Dinheritance.hpp16 typedef type_info class_id; typedef
20 typedef std::pair<void*,class_id> dynamic_id_t;
24 class_id static_id, dynamic_id_function get_dynamic_id);
27 class_id src_t, class_id dst_t, void* (*cast)(void*), bool is_downcast);
42 return std::make_pair(dynamic_cast<void*>(p), class_id(typeid(*p))); in execute()
/third_party/alsa-utils/topology/
Dpre-process-class.c133 const char *class_id; in tplg_class_find_attribute_by_name() local
137 if (snd_config_get_id(class, &class_id) < 0) in tplg_class_find_attribute_by_name()
147 name, class_id); in tplg_class_find_attribute_by_name()
158 const char *unique_name, *class_id; in tplg_class_get_unique_attribute_name() local
161 if (snd_config_get_id(class, &class_id) < 0) in tplg_class_get_unique_attribute_name()
166 SNDERR("No unique attribute in class '%s'\n", class_id); in tplg_class_get_unique_attribute_name()
171 SNDERR("Invalid name for unique attribute in class '%s'\n", class_id); in tplg_class_get_unique_attribute_name()
Dpre-process-object.c1288 const char *id, *class_id, *obj_id, *s; in tplg_construct_object_name() local
1300 if (snd_config_get_id(class_cfg, &class_id) < 0) in tplg_construct_object_name()
1302 new_name = strdup(class_id); in tplg_construct_object_name()
1328 SNDERR("Argument %s not set for object '%s.%s'\n", s, class_id, obj_id); in tplg_construct_object_name()
1364 s, class_id, obj_id); in tplg_construct_object_name()
1434 const char *unique_name, *class_id; in tplg_object_set_unique_attribute() local
1437 if (snd_config_get_id(class_cfg, &class_id) < 0) in tplg_object_set_unique_attribute()
1499 const char *id, *class_id; in tplg_build_object() local
1513 if (snd_config_get_id(class_cfg, &class_id) < 0) in tplg_build_object()
1519 SNDERR("error setting unique attribute value for '%s.%s'\n", class_id, id); in tplg_build_object()
[all …]
/third_party/boost/libs/serialization/src/
Dbasic_oarchive.cpp58 class_id_type class_id; member
69 return class_id < rhs.class_id; in operator <()
74 class_id = rhs.class_id; in operator =()
84 class_id(class_id_), in aobject()
102 std::size_t class_id, in cobject_type()
106 m_class_id(class_id), in cobject_type()
Dbasic_iarchive.cpp65 class_id_type class_id; member
72 class_id(class_id_) in aobject()
77 class_id(-2) in aobject()
110 std::size_t class_id, in cobject_type()
114 m_class_id(class_id) in cobject_type()
297 const int j = i->class_id; in delete_created_pointers()
/third_party/libusb/examples/
Dhotplugtest.c83 int product_id, vendor_id, class_id; in main() local
88 class_id = (argc > 3) ? (int)strtol (argv[3], NULL, 0) : LIBUSB_HOTPLUG_MATCH_ANY; in main()
104 product_id, class_id, hotplug_callback, NULL, &hp[0]); in main()
112 product_id,class_id, hotplug_callback_detach, NULL, &hp[1]); in main()
/third_party/mindspore/mindspore/lite/examples/transfer_learning/src/
Ddataset.cc200 for (int class_id = 0; class_id < num_of_classes_; class_id++) { in ReadDir() local
201 std::string dirname = dpath + "/" + std::to_string(class_id); in ReadDir()
207 FileTuple ft = make_tuple(class_id, filename); in ReadDir()
/third_party/selinux/secilc/docs/
Dcil_default_object_statements.md14 (defaultuser class_id default)
30 <td align="left"><p><code>class_id</code></p></td>
70 (defaultrole class_id default)
86 <td align="left"><p><code>class_id</code></p></td>
121 (defaulttype class_id default)
137 <td align="left"><p><code>class_id</code></p></td>
163 (defaultrange class_id default <range>)
179 <td align="left"><p><code>class_id</code></p></td>
Dcil_class_and_permission_statements.md54 (classcommon class_id common_id)
70 <td align="left"><p><code>class_id</code></p></td>
98 (class class_id (permission_id ...))
114 <td align="left"><p><code>class_id</code></p></td>
170 (classorder (class_id ...))
186 <td align="left"><p><code>class_id</code></p></td>
267 (classpermissionset classpermissionset_id (class_id (permission_id | expr ...)))
287 <td align="left"><p><code>class_id</code></p></td>
504 (permissionx permissionx_id (kind class_id (permission ... | expr ...)))
538 <td align="left"><p><code>class_id</code></p></td>
/third_party/selinux/libsepol/src/
Davrule_block.c195 int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p) in is_perm_enabled() argument
199 if (!is_id_enabled(class_id, p, SYM_CLASSES)) { in is_perm_enabled()
203 (class_datum_t *) hashtab_search(p->p_classes.table, class_id); in is_perm_enabled()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-string-object.c74 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_STRING_UL; in ecma_op_create_string_object()
101 JERRY_ASSERT (ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_STRING_UL); in ecma_op_string_list_lazy_property_names()
Decma-dataview-object.c138 dataview_obj_p->header.u.class_prop.class_id = LIT_MAGIC_STRING_DATAVIEW_UL; in ecma_op_dataview_create()
164 && dataview_object_p->header.u.class_prop.class_id == LIT_MAGIC_STRING_DATAVIEW_UL) in ecma_op_dataview_get_object()
349 && dataview_object_p->header.u.class_prop.class_id == LIT_MAGIC_STRING_DATAVIEW_UL); in ecma_is_dataview()
Decma-symbol-object.c93 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_SYMBOL_UL; in ecma_op_create_symbol_object()
165 if (ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_SYMBOL_UL) in ecma_symbol_to_string_helper()
Decma-arraybuffer-object.c56 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_ARRAY_BUFFER_UL; in ecma_arraybuffer_new_object()
87 array_object_p->extended_object.u.class_prop.class_id = LIT_MAGIC_STRING_ARRAY_BUFFER_UL; in ecma_arraybuffer_new_object_external()
Decma-container-object.c321 switch (map_object_p->u.class_prop.class_id) in ecma_op_container_free_entries()
392 map_obj_p->u.class_prop.class_id = (uint16_t) lit_id; in ecma_op_container_create()
569 && map_object_p->u.class_prop.class_id == lit_id) in ecma_op_container_get_object()
1010 …entry_p = ecma_op_internal_buffer_find (container_p, key_arg, map_object_p->u.class_prop.class_id); in ecma_op_container_remove_weak_entry()
1014 …uffer_delete (container_p, (ecma_container_pair_t *) entry_p, map_object_p->u.class_prop.class_id); in ecma_op_container_remove_weak_entry()
1146 lit_magic_string_id_t lit_id = map_object_p->u.class_prop.class_id; in ecma_op_container_iterator_next()
Decma-boolean-object.c57 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_BOOLEAN_UL; in ecma_op_create_boolean_object()
Decma-number-object.c62 ext_object_p->u.class_prop.class_id = LIT_MAGIC_STRING_NUMBER_UL; in ecma_op_create_number_object()
/third_party/mindspore/tests/ut/data/mindrecord/testCBGData/data/
Dannotation.data1class_id": 276}, {"attributes": [{"occluded": "false", "attr_name": "points_example", "data_type":…
2class_id": 2}, {"attributes": [{"occluded": "false", "attr_name": "points_example", "data_type": "…
3class_id": 0}, {"attributes": [{"occluded": "false", "attr_name": "polygon_example", "data_type": …
4class_id": 106}, {"attributes": [{"occluded": "false", "attr_name": "植物框", "data_type": "bounding_…
5class_id": 3}, {"attributes": [{"occluded": "false", "attr_name": "脸部评分", "data_type": "face", "fr…
6class_id": 276}, {"attributes": [{"occluded": "false", "attr_name": "脸部评分", "data_type": "face", "…
7class_id": 0}, {"attributes": [{"occluded": "false", "attr_name": "points_example", "data_type": "…
8class_id": 0}, {"attributes": [{"occluded": "false", "attr_name": "polygon_example", "data_type": …
9class_id": 3}, {"attributes": [{"occluded": "false", "attr_name": "polygon_example", "data_type": …
10class_id": 4}, {"attributes": [{"occluded": "false", "attr_name": "points_example", "data_type": "…
/third_party/mesa3d/include/android_stub/system/
Dradio.h135 radio_class_t class_id; /* Class of this module. E.g RADIO_CLASS_AM_FM */ member
151 radio_class_t class_id; member
/third_party/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()
809 require_symbol(SYM_CLASSES, class_id, datum, &datum->s.value, in require_class()
813 free(class_id); in require_class()
826 datum = hashtab_search(policydbp->p_classes.table, class_id); in require_class()
828 free(class_id); in require_class()
1176 int is_perm_in_scope(const_hashtab_key_t perm_id, const_hashtab_key_t class_id) in is_perm_in_scope() argument
1180 class_id); in is_perm_in_scope()
/third_party/selinux/libsepol/include/sepol/policydb/
Davrule_block.h39 extern int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p);
/third_party/jerryscript/jerry-core/ecma/base/
Decma-gc.c564 switch (ext_object_p->u.class_prop.class_id) in ecma_gc_mark()
1097 switch (ext_object_p->u.class_prop.class_id) in ecma_gc_free_object()
1203 JERRY_ASSERT (ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_UNDEFINED in ecma_gc_free_object()
1204 || ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_ARGUMENTS_UL in ecma_gc_free_object()
1205 || ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_BOOLEAN_UL in ecma_gc_free_object()
1206 || ext_object_p->u.class_prop.class_id == LIT_MAGIC_STRING_ERROR_UL in ecma_gc_free_object()
1207 … || ext_object_p->u.class_prop.class_id == LIT_INTERNAL_MAGIC_STRING_INTERNAL_OBJECT); in ecma_gc_free_object()
/third_party/quickjs/
Dquickjs.h351 void JS_SetClassProto(JSContext *ctx, JSClassID class_id, JSValue obj);
352 JSValue JS_GetClassProto(JSContext *ctx, JSClassID class_id);
498 int JS_NewClass(JSRuntime *rt, JSClassID class_id, const JSClassDef *class_def);
499 int JS_IsRegisteredClass(JSRuntime *rt, JSClassID class_id);
715 JSValue JS_NewObjectProtoClass(JSContext *ctx, JSValueConst proto, JSClassID class_id);
716 JSValue JS_NewObjectClass(JSContext *ctx, int class_id);
808 void *JS_GetOpaque(JSValueConst obj, JSClassID class_id);
809 void *JS_GetOpaque2(JSContext *ctx, JSValueConst obj, JSClassID class_id);
1067 int JS_CountClassInstances(JSRuntime* rt, uint16_t class_id);

123