Home
last modified time | relevance | path

Searched refs:nobj (Results 1 - 20 of 20) sorted by relevance

/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi.cpp433 napi_value nobj = nullptr; in GetNotificationSlot() local
442 napi_get_named_property(env, value, "notificationType", &nobj); in GetNotificationSlot()
443 NAPI_CALL(env, napi_typeof(env, nobj, &valuetype)); in GetNotificationSlot()
449 napi_get_named_property(env, value, "type", &nobj); in GetNotificationSlot()
450 NAPI_CALL(env, napi_typeof(env, nobj, &valuetype)); in GetNotificationSlot()
460 if (nobj != nullptr) { in GetNotificationSlot()
461 napi_get_value_int32(env, nobj, &slotType); in GetNotificationSlot()
490 napi_value nobj = nullptr; in GetNotificationSlotByString() local
500 napi_get_named_property(env, value, "desc", &nobj); in GetNotificationSlotByString()
501 NAPI_CALL(env, napi_typeof(env, nobj, in GetNotificationSlotByString()
536 napi_value nobj = nullptr; GetNotificationSlotByBool() local
593 napi_value nobj = nullptr; GetNotificationSlotByNumber() local
653 napi_value nobj = nullptr; GetNotificationSlotByVibration() local
[all...]
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon.cpp704 napi_value nobj = nullptr; in GetNotificationSlot() local
713 napi_get_named_property(env, value, "notificationType", &nobj); in GetNotificationSlot()
714 NAPI_CALL(env, napi_typeof(env, nobj, &valuetype)); in GetNotificationSlot()
720 napi_get_named_property(env, value, "type", &nobj); in GetNotificationSlot()
721 NAPI_CALL(env, napi_typeof(env, nobj, &valuetype)); in GetNotificationSlot()
731 if (nobj != nullptr) { in GetNotificationSlot()
732 napi_get_value_int32(env, nobj, &slotType); in GetNotificationSlot()
760 napi_value nobj = nullptr; in GetNotificationSlotByString() local
770 napi_get_named_property(env, value, "desc", &nobj); in GetNotificationSlotByString()
771 NAPI_CALL(env, napi_typeof(env, nobj, in GetNotificationSlotByString()
805 napi_value nobj = nullptr; GetNotificationSlotByBool() local
861 napi_value nobj = nullptr; GetNotificationSlotByNumber() local
920 napi_value nobj = nullptr; GetNotificationSlotByVibration() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c416 u64 virt, int obj_size, u32 nobj, int reserved, in mlx4_init_icm_table()
428 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk); in mlx4_init_icm_table()
435 table->num_obj = nobj; in mlx4_init_icm_table()
441 size = (u64) nobj * obj_size; in mlx4_init_icm_table()
415 mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table, u64 virt, int obj_size, u32 nobj, int reserved, int use_lowmem, int use_coherent) mlx4_init_icm_table() argument
H A Dicm.h91 u64 virt, int obj_size, u32 nobj, int reserved,
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c416 u64 virt, int obj_size, u32 nobj, int reserved, in mlx4_init_icm_table()
428 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk); in mlx4_init_icm_table()
435 table->num_obj = nobj; in mlx4_init_icm_table()
441 size = (u64) nobj * obj_size; in mlx4_init_icm_table()
415 mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table, u64 virt, int obj_size, u32 nobj, int reserved, int use_lowmem, int use_coherent) mlx4_init_icm_table() argument
H A Dicm.h91 u64 virt, int obj_size, u32 nobj, int reserved,
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.c358 int nobj, int reserved, in mthca_alloc_icm_table()
368 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk); in mthca_alloc_icm_table()
376 table->num_obj = nobj; in mthca_alloc_icm_table()
387 if ((i + 1) * MTHCA_TABLE_CHUNK_SIZE > nobj * obj_size) in mthca_alloc_icm_table()
388 chunk_size = nobj * obj_size - i * MTHCA_TABLE_CHUNK_SIZE; in mthca_alloc_icm_table()
356 mthca_alloc_icm_table(struct mthca_dev *dev, u64 virt, int obj_size, int nobj, int reserved, int use_lowmem, int use_coherent) mthca_alloc_icm_table() argument
H A Dmthca_memfree.h88 int nobj, int reserved,
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.c358 int nobj, int reserved, in mthca_alloc_icm_table()
368 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk); in mthca_alloc_icm_table()
376 table->num_obj = nobj; in mthca_alloc_icm_table()
387 if ((i + 1) * MTHCA_TABLE_CHUNK_SIZE > nobj * obj_size) in mthca_alloc_icm_table()
388 chunk_size = nobj * obj_size - i * MTHCA_TABLE_CHUNK_SIZE; in mthca_alloc_icm_table()
356 mthca_alloc_icm_table(struct mthca_dev *dev, u64 virt, int obj_size, int nobj, int reserved, int use_lowmem, int use_coherent) mthca_alloc_icm_table() argument
H A Dmthca_memfree.h88 int nobj, int reserved,
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.h113 unsigned long obj_size, unsigned long nobj,
H A Dhns_roce_hem.c781 unsigned long obj_size, unsigned long nobj, in hns_roce_init_hem_table()
790 num_hem = (nobj + obj_per_chunk - 1) / obj_per_chunk; in hns_roce_init_hem_table()
812 num_hem = (nobj + obj_per_chunk - 1) / obj_per_chunk; in hns_roce_init_hem_table()
858 table->num_obj = nobj; in hns_roce_init_hem_table()
779 hns_roce_init_hem_table(struct hns_roce_dev *hr_dev, struct hns_roce_hem_table *table, u32 type, unsigned long obj_size, unsigned long nobj, int use_lowmem) hns_roce_init_hem_table() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.h114 unsigned long obj_size, unsigned long nobj);
H A Dhns_roce_hem.c795 unsigned long obj_size, unsigned long nobj) in hns_roce_init_hem_table()
803 num_hem = DIV_ROUND_UP(nobj, obj_per_chunk); in hns_roce_init_hem_table()
825 num_hem = DIV_ROUND_UP(nobj, obj_per_chunk); in hns_roce_init_hem_table()
793 hns_roce_init_hem_table(struct hns_roce_dev *hr_dev, struct hns_roce_hem_table *table, u32 type, unsigned long obj_size, unsigned long nobj) hns_roce_init_hem_table() argument
/third_party/rust/crates/libc/src/windows/
H A Dmod.rs322 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread()
323 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite()
342 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc()
/third_party/rust/crates/libc/src/vxworks/
H A Dmod.rs1112 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread()
1113 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite()
1132 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc()
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs491 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread()
496 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite()
522 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc()
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs3395 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread()
3396 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite()
3415 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs4410 nobj: ::size_t, in fread_unlocked()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]

Completed in 68 milliseconds