Lines Matching refs:buffer
163 char* buffer = (char*)debug_malloc(kBufferSize);
164 if (buffer == NULL)
168 const char* name = debug_demangle_symbol(symbol, buffer, kBufferSize,
171 debug_free(buffer);
201 while (debug_get_next_demangled_argument(&cookie, symbol, buffer,
268 if (buffer[0])
269 kprintf("%s: ", buffer);
302 else if (debug_strlcpy(B_CURRENT_TEAM, buffer, (char*)(addr_t)value,
306 kprintf(" \33[36m\"%s\"\33[0m", buffer);
314 debug_free(buffer);
334 char* buffer = (char*)debug_malloc(kBufferSize);
335 if (buffer == NULL)
339 const char* name = debug_demangle_symbol(symbol, buffer, kBufferSize,
342 debug_free(buffer);
351 while (debug_get_next_demangled_argument(&cookie, symbol, buffer,
356 if (buffer[0])
357 kprintf("%s", buffer);
362 debug_free(buffer);
1267 iframe into the given buffer in the format expected by gdb.
1271 \param buffer The buffer to write the registers to.
1272 \param bufferSize The size of \a buffer in bytes.
1273 \return When successful, the number of bytes written to \a buffer, or a
1277 arch_debug_gdb_get_registers(char* buffer, size_t bufferSize)
1332 const char* const bufferStart = buffer;
1339 result = snprintf(buffer, bufferSize, "%016" B_PRIx64,
1343 result = snprintf(buffer, bufferSize, "%08" B_PRIx32,
1350 buffer += result;
1354 return buffer - bufferStart;