Lines Matching refs:buffer
25 dump_raw_data(const char *buffer, size_t size)
37 printf("%02x ", (uint8)buffer[dumpPosition + i]);
47 char c = buffer[dumpPosition];
72 char buffer[kLimit];
73 ssize_t bytesRead = node.ReadAttr(attribute, info.type, 0, buffer, size);
79 buffer[min_c(bytesRead, kLimit - 1)] = '\0';
83 printf("%" B_PRId8 "\n", *((int8 *)buffer));
86 printf("%" B_PRIu8 "\n", *((uint8 *)buffer));
89 printf("%" B_PRId16 "\n", *((int16 *)buffer));
92 printf("%" B_PRIu16 "\n", *((uint16 *)buffer));
95 printf("%" B_PRId32 "\n", *((int32 *)buffer));
98 printf("%" B_PRIu32 "\n", *((uint32 *)buffer));
101 printf("%" B_PRId64 "\n", *((int64 *)buffer));
104 printf("%" B_PRIu64 "\n", *((uint64 *)buffer));
107 printf("%f\n", *((float *)buffer));
110 printf("%f\n", *((double *)buffer));
113 printf("%d\n", *((unsigned char *)buffer));
119 localtime_r((time_t *)buffer, &timeInfo);
129 printf("%s\n", buffer);
135 if (!cut && message.Unflatten(buffer) == B_OK) {
147 dump_raw_data(buffer, size);
157 static char buffer[32];
208 sprintf(buffer, "'%c%c%c%c'", value[0], value[1], value[2],
211 sprintf(buffer, "0x%08" B_PRIx32, type);
213 return buffer;