Home
last modified time | relevance | path

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

/freebsd/contrib/elftoolchain/ar/
H A Dwrite.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()
467 if (strncmp(bname, obj->name, _TRUNCATE_LEN)) in ar_write_archive()
/freebsd/usr.bin/ar/
H A Dwrite.c54 #define _TRUNCATE_LEN 15 /* number of bytes to keep for member name */ macro
103 if (bsdar->options & AR_TR && strlen(bname) > _TRUNCATE_LEN) { in create_obj_from_file()
104 if ((obj->name = malloc(_TRUNCATE_LEN + 1)) == NULL) in create_obj_from_file()
106 (void)strncpy(obj->name, bname, _TRUNCATE_LEN); in create_obj_from_file()
107 obj->name[_TRUNCATE_LEN] = '\0'; in create_obj_from_file()
438 if (strncmp(bname, obj->name, _TRUNCATE_LEN)) in ar_write_archive()