Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_pathca.c69 int dir_len; local
85 dir_len = strlen(dir);
89 m = dir_len+1;
122 if (dir_len > 0
123 && !M_FSDELIM(dest[dir_len-1])
124 && !M_DRDELIM(dest[dir_len-1])) {
125 dest[dir_len++] = '/';
127 strcpy(dest+dir_len, file);
/titanic_44/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c563 size_t dir_len; in prog_path_expand() local
581 dir_len = ((NULL == pe) ? strlen(p) : (pe - p)); in prog_path_expand()
582 (void) memcpy(path, p, dir_len); in prog_path_expand()
583 if ((0 != dir_len) && in prog_path_expand()
584 ('/' != path[dir_len - 1])) { in prog_path_expand()
585 path[dir_len] = '/'; in prog_path_expand()
586 dir_len += 1; in prog_path_expand()
588 if ((dir_len + base_len) < MAXPATHLEN) { in prog_path_expand()
589 (void) memcpy(path + dir_len, base_name, base_len + 1); in prog_path_expand()
/titanic_44/usr/src/uts/common/io/1394/
H A Ds1394_hotplug.c491 uint32_t *ptr, *root_dir, dir_len; in s1394_update_devinfo_tree() local
513 dir_len = node->cfgrom_valid_size; in s1394_update_devinfo_tree()
515 dir_len = CFGROM_DIR_LEN(root_dir); in s1394_update_devinfo_tree()
534 for (units = 0, j = 1; j <= dir_len; j++) { in s1394_update_devinfo_tree()
676 uint32_t *ptr, *root_dir, dir_len; in s1394_offline_node() local
704 dir_len = node->cfgrom_valid_size; in s1394_offline_node()
706 dir_len = CFGROM_DIR_LEN(root_dir); in s1394_offline_node()
710 for (units = 0, j = 1; j <= dir_len; j++) { in s1394_offline_node()
H A Ds1394_dev_disc.c2234 uint32_t dir_len, crc_value, CRC, CRC_old, quad0; in s1394_valid_dir() local
2255 dir_len = IEEE1212_DIR_LEN(quad0); in s1394_valid_dir()
2260 CRC = s1394_CRC16(&dir[1], dir_len); in s1394_valid_dir()
2263 CRC_old = s1394_CRC16_old(&dir[1], dir_len); in s1394_valid_dir()
2270 tnf_uint, key, key, tnf_uint, dir_len, dir_len); in s1394_valid_dir()
2281 tnf_uint, key, key, tnf_uint, dir_len, dir_len); in s1394_valid_dir()
/titanic_44/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_cfgrom.c360 uint16_t dir_len; in av1394_cfgrom_parse_dir() local
393 dir_len = IEEE1212_DIR_LEN(val); in av1394_cfgrom_parse_dir()
398 this_pa.pa_len = dir_len; in av1394_cfgrom_parse_dir()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_state.c427 int dir_len, leaf_len; in rfs4_ss_pnalloc() local
433 if ((dir_len = strlen(dir)) > MAXPATHLEN || in rfs4_ss_pnalloc()
435 (dir_len + leaf_len + 2) > MAXPATHLEN) { in rfs4_ss_pnalloc()
443 ss_pn->leaf = ss_pn->pn + dir_len + 1; in rfs4_ss_pnalloc()
/titanic_44/usr/src/uts/common/c2/
H A Daudit_event.c1775 size_t path_len, dir_len; in aus_umount_path() local
1783 MAXPATHLEN, &dir_len)) in aus_umount_path()