Lines Matching refs:bufp

112 	char	buf[1024], *bufp, *endbuf, *s;
117 bufp = buf;
121 bufp = (*_Vmstrcpy)(bufp, "alloc error", ':');
123 bufp = (*_Vmstrcpy)(bufp, "free error", ':');
125 bufp = (*_Vmstrcpy)(bufp, "resize error", ':');
127 bufp = (*_Vmstrcpy)(bufp, "corrupted data", ':');
129 bufp = (*_Vmstrcpy)(bufp, "alert", ':');
132 bufp = (*_Vmstrcpy)(bufp, "region", '=');
133 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(vm), 0), ':');
136 { bufp = (*_Vmstrcpy)(bufp,"block",'=');
137 bufp = (*_Vmstrcpy)(bufp,(*_Vmitoa)(VLONG(data),0),':');
142 bufp = (*_Vmstrcpy)(bufp, "can't get memory", ':');
143 else bufp = (*_Vmstrcpy)(bufp, "region is locked", ':');
147 bufp = (*_Vmstrcpy)(bufp, "unallocated block", ':');
148 else bufp = (*_Vmstrcpy)(bufp, "already freed", ':');
151 { bufp = (*_Vmstrcpy)(bufp, "size", '=');
152 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(DBSIZE(data),-1), ':');
154 bufp = (*_Vmstrcpy)(bufp,"just allocated", ':');
156 bufp = (*_Vmstrcpy)(bufp,"being freed", ':');
158 bufp = (*_Vmstrcpy)(bufp,"being resized", ':');
160 bufp = (*_Vmstrcpy)(bufp,"just resized", ':');
163 { bufp = (*_Vmstrcpy)(bufp, "bad byte at", '=');
164 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(LONGV(where),-1), ':');
165 if((s = DBFILE(data)) && (bufp + strlen(s) + SLOP) < endbuf)
166 { bufp = (*_Vmstrcpy)(bufp,"allocated at", '=');
167 bufp = (*_Vmstrcpy)(bufp, s, ',');
168 bufp = (*_Vmstrcpy)(bufp,(*_Vmitoa)(LONGV(DBLINE(data)),-1),':');
173 if(file && file[0] && line > 0 && (bufp + strlen(file) + SLOP) < endbuf)
174 { bufp = (*_Vmstrcpy)(bufp, "detected at", '=');
175 bufp = (*_Vmstrcpy)(bufp, file, ',');
176 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(LONGV(line),-1), ',');
177 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(func),-1), ':');
180 *(bufp - 1) = '\n';
181 *bufp = '\0';
183 vmdbwarn(vm,buf,(bufp-buf));
755 char buf[1024], *bufp;
758 bufp = buf;
759 bufp = (*_Vmstrcpy)(bufp, "n_busy", '=');
760 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)((Vmulong_t)st.n_busy,-1), ',');
761 bufp = (*_Vmstrcpy)(bufp, " s_busy", '=');
762 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(st.s_busy),-1), '\n');
763 bufp = (*_Vmstrcpy)(bufp, "n_free", '=');
764 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)((Vmulong_t)st.n_free,-1), ',');
765 bufp = (*_Vmstrcpy)(bufp, " s_free", '=');
766 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(st.s_free),-1), '\n');
767 bufp = (*_Vmstrcpy)(bufp, "m_busy", '=');
768 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(st.m_busy),-1), ',');
769 bufp = (*_Vmstrcpy)(bufp, " m_free", '=');
770 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(st.m_free),-1), '\n');
771 bufp = (*_Vmstrcpy)(bufp, "n_segment", '=');
772 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)((Vmulong_t)st.n_seg,-1), ',');
773 bufp = (*_Vmstrcpy)(bufp, " extent", '=');
774 bufp = (*_Vmstrcpy)(bufp, (*_Vmitoa)(VLONG(st.extent),-1), '\n');
775 *bufp = 0;