Lines Matching refs:buf0
198 char *buf = packaged, *buf0 = buf; in cbvprintf_package() local
232 if (!buf0) { in cbvprintf_package()
246 if (buf0 && buf - buf0 + sizeof(char *) > len) { in cbvprintf_package()
367 if (buf0) { in cbvprintf_package()
369 if (buf - buf0 + size > len) { in cbvprintf_package()
394 if (buf0 && buf - buf0 + size > len) { in cbvprintf_package()
402 if (buf0) { in cbvprintf_package()
415 } else if (buf0) { in cbvprintf_package()
426 if ((buf - buf0) > CBPRINTF_STR_POS_MASK) { in cbvprintf_package()
443 (buf - buf0) / sizeof(int); in cbvprintf_package()
463 if (buf0) { in cbvprintf_package()
470 if (buf0) { in cbvprintf_package()
477 if (buf0) { in cbvprintf_package()
497 if ((buf - buf0) / sizeof(int) > 255) { in cbvprintf_package()
506 if (!buf0) { in cbvprintf_package()
507 return len + buf - buf0; in cbvprintf_package()
511 *(char **)buf0 = NULL; in cbvprintf_package()
514 buf0[0] = (buf - buf0) / sizeof(int); in cbvprintf_package()
515 buf0[1] = s_rw_cnt; in cbvprintf_package()
516 buf0[2] = s_ro_cnt; in cbvprintf_package()
528 if (buf - buf0 + 1 > len) { in cbvprintf_package()
544 s = *(char **)(buf0 + str_ptr_pos[i] * sizeof(int)); in cbvprintf_package()
546 *(char **)(buf0 + str_ptr_pos[i] * sizeof(int)) = NULL; in cbvprintf_package()
550 if (buf - buf0 + 1 + size > len) { in cbvprintf_package()
565 return buf - buf0; in cbvprintf_package()