Searched refs:fmt_size (Results 1 – 3 of 3) sorted by relevance
204 TPS(fmt_size) = 0; in _nc_free_tparm()481 if ((len2 = strlen(cp)) + 2 > TPS(fmt_size)) { in _nc_tparm_analyze()482 TPS(fmt_size) += len2 + 2; in _nc_tparm_analyze()483 TPS(fmt_buff) = typeRealloc(char, TPS(fmt_size), TPS(fmt_buff)); in _nc_tparm_analyze()623 if ((len2 = strlen(string)) + 2 > TPS(fmt_size)) { in tparm_setup()624 TPS(fmt_size) += len2 + 2; in tparm_setup()625 TPS(fmt_buff) = typeRealloc(char, TPS(fmt_size), TPS(fmt_buff)); in tparm_setup()
120 size_t fmt_size; member
2205 size_t fmt_size = fmt_cur - fmt_start + 1; in build_format_string() local2206 char *new_fmt = (char *)malloc(fmt_size + 1); in build_format_string()2208 internal_memcpy(new_fmt, fmt_start, fmt_size); in build_format_string()2209 new_fmt[fmt_size] = '\0'; in build_format_string()2488 size_t fmt_size = fmt_cur - fmt_start + 1; in build_format_string_with_n() local2490 char *new_fmt = (char *)malloc(fmt_size + 2 + 1); in build_format_string_with_n()2492 internal_memcpy(new_fmt, fmt_start, fmt_size); in build_format_string_with_n()2493 new_fmt[fmt_size] = '%'; in build_format_string_with_n()2494 new_fmt[fmt_size + 1] = 'n'; in build_format_string_with_n()2495 new_fmt[fmt_size + 2] = '\0'; in build_format_string_with_n()