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

/illumos-gate/usr/src/cmd/svc/common/
H A Dmanifest_hash.c56 size_t len, piece_len; local
91 piece_len = (scf_limit(SCF_LIMIT_MAX_NAME_LENGTH) - 3) / 2;
93 (void) strncpy(out + piece_len, "__", 2);
95 (void) memmove(out + piece_len + 2, out + (len - piece_len),
96 piece_len + 1);
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c1949 size_t len, piece_len; local
1960 piece_len = (max_scf_name_len - 2) / 2;
1962 (void) strncpy(out + piece_len, "..", 2);
1964 (void) strcpy(out + piece_len + 2, out + (len - piece_len));

Completed in 103 milliseconds