Searched defs:val_len (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/libtsol/common/
H A Dbtos.c62 size_t val_len = strlen(val) + 1; local
65 if ((*string = malloc(val_len)) == NULL)
67 } else if (val_len > str_len) {
73 bcopy(val, cpyptr, val_len);
75 return (val_len);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetenv.c354 size_t val_len; local
363 val_len = strlen(envval);
365 new_chunk = malloc(sizeof (chunk_t) + name_len + val_len + 2);
374 (void) memcpy(new_string + name_len + 1, envval, val_len);
375 new_string[name_len + 1 + val_len] = 0;
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dattrib.c1607 * @val_len: attribute value length
1655 * If @val is not present (NULL), @val_len is ignored.
1672 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx)
1778 min(val_len,
1787 if (val_len == avl)
1789 if (val_len < avl) {
1812 * @val_len: attribute value length
1876 const VCN lowest_vcn, const u8 *val, const u32 val_len,
1941 if (name || name_len || val || val_len || lowest_vcn) {
2150 le32_to_cpu(a->u.res.value_length) == val_len
1670 ntfs_attr_find(const ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
1874 ntfs_external_attr_find(ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const VCN lowest_vcn, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
2285 ntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const VCN lowest_vcn, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
[all...]
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg.c686 cfg_put_cstring(CFGFILE *cfg, const char *key, void *value, int val_len) argument
730 if (value && val_len == 0) {
827 strncat(buf, value, val_len);
947 strncat(buf, value, val_len);
1150 int tag_len, char *val, int val_len)
1180 if ((strlen(tval) > val_len) || (strlen(ttag) > tag_len)) {
1185 strncpy(val, decode_buf, val_len);
1312 char *val, int val_len)
1360 cfg_decode_string(p, val, val_len);
1373 cfg_decode_string(p, val, val_len);
1149 cfg_get_options(CFGFILE *cfg, int section, const char *basekey, char *tag, int tag_len, char *val, int val_len) argument
1311 cfg_get_single_option(CFGFILE *cfg, int section, const char *basekey, char *tag, char *val, int val_len) argument
[all...]
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dmkntfs.c579 * from @val. Take @val_len bytes from @val and pad the rest with zeroes.
591 const u8 *val, const s64 val_len, s64 *inited_size)
599 return val_len;
617 if (total + length > val_len) {
619 length = val_len - total;
834 * @val_len: attribute value length
882 * If @val is not present (NULL), @val_len is ignored.
899 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx)
990 min(val_len,
999 if (val_len
590 ntfs_rlwrite(struct ntfs_device *dev, const runlist *rl, const u8 *val, const s64 val_len, s64 *inited_size) argument
897 mkntfs_attr_find(const ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
1082 mkntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const VCN lowest_vcn __attribute__((unused)), const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
1113 insert_positioned_attr_in_mft_record(MFT_RECORD *m, const ATTR_TYPES type, const char *name, u32 name_len, const IGNORE_CASE_BOOL ic, const ATTR_FLAGS flags, const runlist *rl, const u8 *val, const s64 val_len) argument
1296 insert_non_resident_attr_in_mft_record(MFT_RECORD *m, const ATTR_TYPES type, const char *name, u32 name_len, const IGNORE_CASE_BOOL ic, const ATTR_FLAGS flags, const u8 *val, const s64 val_len) argument
1484 insert_resident_attr_in_mft_record(MFT_RECORD *m, const ATTR_TYPES type, const char *name, u32 name_len, const IGNORE_CASE_BOOL ic, const ATTR_FLAGS flags, const RESIDENT_ATTR_FLAGS res_flags, const u8 *val, const u32 val_len) argument
1768 add_attr_data(MFT_RECORD *m, const char *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const ATTR_FLAGS flags, const u8 *val, const s64 val_len) argument
1808 add_attr_data_positioned(MFT_RECORD *m, const char *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const ATTR_FLAGS flags, const runlist *rl, const u8 *val, const s64 val_len) argument
1893 int err, val_len; local
[all...]

Completed in 32 milliseconds