Lines Matching refs:buf

713     char* buf = (char*)malloc(bufSize);  in getProtoInfo()  local
714 if (buf == NULL) { in getProtoInfo()
718 buf[0] = '\0'; in getProtoInfo()
724 pProtoInfo->parameterTypes = buf; in getProtoInfo()
730 free(buf); in getProtoInfo()
737 char* newBuf = (char*)realloc(buf, newUsed); in getProtoInfo()
739 free(buf); in getProtoInfo()
742 buf = newBuf; in getProtoInfo()
745 memcpy(buf + bufUsed - 1, param, paramLen + 1); in getProtoInfo()
749 pProtoInfo->parameterTypes = buf; in getProtoInfo()
772 char* buf = (char*)malloc(bufSize); in indexString() local
773 if (buf == NULL) { in indexString()
822 outSize = snprintf(buf, bufSize, "<unknown-index>"); in indexString()
829 outSize = snprintf(buf, bufSize, "<no-index>"); in indexString()
836 outSize = snprintf(buf, bufSize, "<index-varies> // thing@%0*x", in indexString()
841 outSize = snprintf(buf, bufSize, "%s // type@%0*x", in indexString()
844 outSize = snprintf(buf, bufSize, "<type?> // type@%0*x", width, index); in indexString()
849 outSize = snprintf(buf, bufSize, "\"%s\" // string@%0*x", in indexString()
852 outSize = snprintf(buf, bufSize, "<string?> // string@%0*x", in indexString()
860 outSize = snprintf(buf, bufSize, "%s.%s:%s // method@%0*x", in indexString()
865 outSize = snprintf(buf, bufSize, "<method?> // method@%0*x", in indexString()
874 outSize = snprintf(buf, bufSize, "%s.%s:%s // field@%0*x", in indexString()
878 outSize = snprintf(buf, bufSize, "<field?> // field@%0*x", in indexString()
884 outSize = snprintf(buf, bufSize, "[%0*x] // inline #%0*x", in indexString()
888 outSize = snprintf(buf, bufSize, "[%0*x] // vtable #%0*x", in indexString()
892 outSize = snprintf(buf, bufSize, "[obj+%0*x]", width, index); in indexString()
901 outSize = snprintf(buf, bufSize, "%s.%s:%s, (%s)%s // method@%0*x, proto@%0*x", in indexString()
906 outSize = snprintf(buf, bufSize, "<method?>, <proto?> // method@%0*x, proto@%0*x", in indexString()
913 outSize = snprintf(buf, bufSize, "call_site@%0*x", width, index); in indexString()
916 outSize = snprintf(buf, bufSize, "methodhandle@%0*x", width, index); in indexString()
922 outSize = snprintf(buf, bufSize, "(%s)%s // proto@%0*x", in indexString()
927 outSize = snprintf(buf, bufSize, "<proto?> // proto@%0*x", in indexString()
934 outSize = snprintf(buf, bufSize, "<?>"); in indexString()
944 free(buf); in indexString()
947 return buf; in indexString()