Home
last modified time | relevance | path

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

/NextBSD/usr.bin/ar/
HDwrite.c54 #define _TRUNCATE_LEN 15 /* number of bytes to keep for member name */ macro
142 if (bsdar->options & AR_TR && strlen(bname) > _TRUNCATE_LEN) { in create_obj_from_file()
143 if ((obj->name = malloc(_TRUNCATE_LEN + 1)) == NULL) in create_obj_from_file()
145 (void)strncpy(obj->name, bname, _TRUNCATE_LEN); in create_obj_from_file()
146 obj->name[_TRUNCATE_LEN] = '\0'; in create_obj_from_file()
473 if (strncmp(bname, obj->name, _TRUNCATE_LEN)) in write_archive()
/NextBSD/contrib/elftoolchain/ar/
HDwrite.c52 #define _TRUNCATE_LEN 15 /* number of bytes to keep for member name */ macro
102 if (bsdar->options & AR_TR && strlen(bname) > _TRUNCATE_LEN) { in create_obj_from_file()
103 if ((obj->name = malloc(_TRUNCATE_LEN + 1)) == NULL) in create_obj_from_file()
105 (void)strncpy(obj->name, bname, _TRUNCATE_LEN); in create_obj_from_file()
106 obj->name[_TRUNCATE_LEN] = '\0'; in create_obj_from_file()
464 if (strncmp(bname, obj->name, _TRUNCATE_LEN)) in ar_write_archive()