Lines Matching defs:read
144 // read the data
146 ssize_t read = fNode->ReadAttr(kNITypeAttribute, attrInfo.type, 0,
148 if (read < 0)
149 error = read;
150 else if (read != attrInfo.size)
260 // read the attribute
264 ssize_t read;
271 read = fNode->ReadAttr(attribute, attrType, 0, buffer,
275 read = fNode->ReadAttr(attribute, attrType, 0, icon->Bits(),
279 if (read < 0)
280 error = read;
281 else if (read != attrInfo.size)
411 // read the data
413 ssize_t read = fNode->ReadAttr(kNIPreferredAppAttribute, attrInfo.type,
415 if (read < 0)
416 error = read;
417 else if (read != attrInfo.size)
503 // read the data
506 ssize_t read = fNode->ReadAttr(kNIAppHintAttribute, attrInfo.type, 0,
508 if (read < 0)
509 error = read;
510 else if (read != attrInfo.size)