Lines Matching defs:read
60 fprintf(stderr, "Failed to read file: %s\n", strerror(
90 fprintf(stderr, "Failed to read info for attribute '%s'\n",
98 ssize_t read = src.ReadAttr(attrName, info.type, offset, buffer,
100 if (read < 0) {
102 return (status_t)read;
105 while (read >= 0) {
107 buffer, read);
108 if (written != read) {
115 offset += read;
116 read = src.ReadAttr(attrName, info.type, offset, buffer,
118 if (read < 0) {
120 return (status_t)read;
122 if (read == 0)