Lines Matching +defs:name +defs:pos
180 void lock(int type = F_WRLCK, const Pos &pos = lockAll());
181 bool tryLock(int type = F_WRLCK, const Pos &pos = lockAll());
182 void unlock(const Pos &pos = lockAll()) { lock(F_UNLCK, pos); }
194 void setAttr(const char *name, const void *value, size_t length,
196 void setAttr(const std::string &name, const void *value, size_t length,
198 { return setAttr(name.c_str(), value, length, position, options); }
199 ssize_t getAttr(const char *name, void *value, size_t length,
201 ssize_t getAttr(const std::string &name, void *value, size_t length,
203 { return getAttr(name.c_str(), value, length, position, options); }
204 ssize_t getAttrLength(const char *name);
205 ssize_t getAttrLength(const std::string &name) { return getAttrLength(name.c_str()); }
207 void removeAttr(const char *name, int options = 0);
208 void removeAttr(const std::string &name, int options = 0)
209 { return removeAttr(name.c_str(), options); }
211 size_t listAttr(const std::string &name, size_t length, int options = 0)
212 { return listAttr(name.c_str(), length, options); }
215 void setAttr(const std::string &name, const std::string &value, int options = 0);
216 std::string getAttr(const std::string &name, int options = 0);
242 LockArgs(int type, const Pos &pos)
243 { l_start = pos.start; l_len = pos.size; l_type = type; l_whence = pos.whence; }