Home
last modified time | relevance | path

Searched refs:piece_len (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/svc/common/
H A Dmanifest_hash.c56 size_t len, piece_len; in mhash_filename_to_propname() local
91 piece_len = (scf_limit(SCF_LIMIT_MAX_NAME_LENGTH) - 3) / 2; in mhash_filename_to_propname()
93 (void) strncpy(out + piece_len, "__", 2); in mhash_filename_to_propname()
95 (void) memmove(out + piece_len + 2, out + (len - piece_len), in mhash_filename_to_propname()
96 piece_len + 1); in mhash_filename_to_propname()
/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c1945 size_t len, piece_len; in lxml_label_to_groupname() local
1957 piece_len = (max_scf_name_len - 2) / 2; in lxml_label_to_groupname()
1959 (void) strncpy(out + piece_len, "..", 2); in lxml_label_to_groupname()
1961 (void) strcpy(out + piece_len + 2, out + (len - piece_len)); in lxml_label_to_groupname()