Lines Matching refs:buffer
26 dump_raw_data(const char *buffer, size_t size)
38 printf("%02x ", (uint8)buffer[dumpPosition + i]);
48 char c = buffer[dumpPosition];
73 char buffer[kLimit];
74 ssize_t bytesRead = node.ReadAttr(attribute, info.type, 0, buffer, size);
80 buffer[min_c(bytesRead, kLimit - 1)] = '\0';
84 printf("%" B_PRId8 "\n", *((int8 *)buffer));
87 printf("%" B_PRIu8 "\n", *((uint8 *)buffer));
90 printf("%" B_PRId16 "\n", *((int16 *)buffer));
93 printf("%" B_PRIu16 "\n", *((uint16 *)buffer));
96 printf("%" B_PRId32 "\n", *((int32 *)buffer));
99 printf("%" B_PRIu32 "\n", *((uint32 *)buffer));
102 printf("%" B_PRId64 "\n", *((int64 *)buffer));
105 printf("%" B_PRIu64 "\n", *((uint64 *)buffer));
108 printf("%f\n", *((float *)buffer));
111 printf("%f\n", *((double *)buffer));
114 printf("%d\n", *((unsigned char *)buffer));
120 localtime_r((time_t *)buffer, &timeInfo);
130 printf("%s\n", buffer);
136 if (!cut && message.Unflatten(buffer) == B_OK) {
148 dump_raw_data(buffer, size);
158 static char buffer[32];
209 sprintf(buffer, "'%c%c%c%c'", value[0], value[1], value[2],
212 sprintf(buffer, "0x%08" B_PRIx32, type);
214 return buffer;