Home
last modified time | relevance | path

Searched refs:kset (Results 1 – 7 of 7) sorted by relevance

/external/kernel-headers/original/linux/
Dkobject.h57 struct kset * kset; member
114 int (*filter)(struct kset *kset, struct kobject *kobj);
115 const char *(*name)(struct kset *kset, struct kobject *kobj);
116 int (*uevent)(struct kset *kset, struct kobject *kobj, char **envp,
120 struct kset { struct
130 extern void kset_init(struct kset * k); argument
131 extern int kset_add(struct kset * k);
132 extern int kset_register(struct kset * k);
133 extern void kset_unregister(struct kset * k);
135 static inline struct kset * to_kset(struct kobject * kobj) in to_kset()
[all …]
Dsysdev.h37 struct kset kset; member
Ddevice.h39 struct kset drivers;
40 struct kset devices;
/external/qemu/android/skin/
Dkeyset.c338 skin_keyset_add( SkinKeyset* kset, int sym, int mod, SkinKeyCommand command ) in skin_keyset_add() argument
340 SkinKeyItem* item = kset->items; in skin_keyset_add()
341 SkinKeyItem* end = item + kset->num_items; in skin_keyset_add()
364 if (kset->num_items >= kset->max_items) { in skin_keyset_add()
365 int old_size = kset->max_items; in skin_keyset_add()
367 SkinKeyItem* new_items = realloc( kset->items, new_size*sizeof(SkinKeyItem) ); in skin_keyset_add()
371 kset->items = new_items; in skin_keyset_add()
372 kset->max_items = new_size; in skin_keyset_add()
374 item = kset->items + kset->num_items++; in skin_keyset_add()
385 SkinKeyset* kset = calloc(1, sizeof(*kset)); in skin_keyset_new() local
[all …]
Dkeyboard.c45 SkinKeyset* kset; member
64 skin_keyboard_set_keyset( SkinKeyboard* keyboard, SkinKeyset* kset ) in skin_keyboard_set_keyset() argument
66 if (kset == NULL) in skin_keyboard_set_keyset()
68 if (keyboard->kset && keyboard->kset != android_keyset) { in skin_keyboard_set_keyset()
69 skin_keyset_free(keyboard->kset); in skin_keyboard_set_keyset()
71 keyboard->kset = kset; in skin_keyboard_set_keyset()
303 command = skin_keyset_get_command( keyboard->kset, sym, mod ); in skin_keyboard_key_to_code()
525 kb->kset = android_keyset; in skin_keyboard_create_from_charmap_name()
527 kb->kset = skin_keyset_new_from_text( skin_keyset_get_default() ); in skin_keyboard_create_from_charmap_name()
Dkeyset.h109 extern void skin_keyset_free( SkinKeyset* kset );
124 extern int skin_keyset_get_bindings( SkinKeyset* kset,
129 extern SkinKeyCommand skin_keyset_get_command( SkinKeyset* kset, int sym, int mod );
Dkeyboard.h30 extern void skin_keyboard_set_keyset( SkinKeyboard* keyboard, SkinKeyset* kset );