Lines Matching refs:fileId
56 NSString *readString(int fileId) {
60 while (read(fileId, &ch[0], 1) == 1) {
77 NSData *readData(int fileId, ssize_t length) {
81 if (read(fileId, bytes, length) != length)
90 int fileId = open(configFile, O_RDONLY, 0600);
91 if (fileId == -1) {
105 if (fileId == -1) {
112 NSString *key = readString(fileId);
119 NSString *lenStr = readString(fileId);
121 NSData *data = readData(fileId, len);
129 close(fileId);