Home
last modified time | relevance | path

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

/Zephyr-latest/lib/posix/options/
Denv.c44 static int findenv(const char *name, size_t namelen) in findenv() argument
48 if (name == NULL || namelen == 0 || strchr(name, '=') != NULL) { in findenv()
59 if (strncmp(env, name, namelen) == 0 && env[namelen] == '=') { in findenv()
Dsemaphore.c227 size_t namelen; in sem_open() local
245 namelen = strlen(name); in sem_open()
246 if ((namelen + 1) > CONFIG_POSIX_SEM_NAMELEN_MAX) { in sem_open()
283 nsem->name = k_calloc(namelen + 1, sizeof(uint8_t)); in sem_open()
/Zephyr-latest/subsys/fs/ext2/
Dext2_diskops.h235 void ext2_set_disk_direntry_namelen(struct ext2_disk_direntry *de, uint8_t namelen);
Dext2_impl.h254 struct ext2_direntry *ext2_create_direntry(const char *name, uint8_t namelen, uint32_t ino,
Dext2_impl.c908 struct ext2_direntry *ext2_create_direntry(const char *name, uint8_t namelen, uint32_t ino, in ext2_create_direntry() argument
911 __ASSERT(namelen <= EXT2_MAX_FILE_NAME, "Name length to long"); in ext2_create_direntry()
913 uint32_t prog_rec_len = sizeof(struct ext2_direntry) + namelen; in ext2_create_direntry()
917 uint32_t reclen = sizeof(struct ext2_disk_direntry) + namelen; in ext2_create_direntry()
924 de->de_name_len = (uint8_t)namelen; in ext2_create_direntry()
926 memcpy(de->de_name, name, namelen); in ext2_create_direntry()
Dext2_diskops.c186 void ext2_set_disk_direntry_namelen(struct ext2_disk_direntry *de, uint8_t namelen) in ext2_set_disk_direntry_namelen() argument
188 de->de_name_len = namelen; in ext2_set_disk_direntry_namelen()
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn.c52 size_t namelen; member
250 topic->namelen = name->size; in mqtt_sn_topic_create()
263 if (topic->namelen == topic_name->size && in mqtt_sn_topic_find_name()
427 p.params.subscribe.topic.topic_name.size = topic->namelen; in mqtt_sn_do_subscribe()
459 p.params.unsubscribe.topic.topic_name.size = topic->namelen; in mqtt_sn_do_unsubscribe()
489 LOG_HEXDUMP_INF(topic->name, topic->namelen, "Registering topic"); in mqtt_sn_do_register()
491 p.params.reg.topic.size = topic->namelen; in mqtt_sn_do_register()
590 LOG_HEXDUMP_DBG(pub->topic->name, pub->topic->namelen, in process_pubs()
648 LOG_HEXDUMP_DBG(topic->name, topic->namelen, "Processing topic"); in process_topics()
1554 topic_name->size = topic->namelen; in mqtt_sn_get_topic_name()