Lines Matching defs:pos
88 std::string::size_type pos = str.find_last_of(kPathSeparator);
94 if (pos != std::string::npos) {
95 start_pos = pos + 1;
1060 char* pos[2];
1061 char** ppos = &pos[0];
1068 if (ppos < &pos[2]) continue;
1069 ppos = &pos[0];
1071 char* s = &pos[0][0];
1072 char* se = &pos[1][-1]; // Exclude quote.
2041 const int64_t pos = GetOffset(args[4]);
2047 if (req_wrap_async != nullptr) { // write(fd, buffer, off, len, pos, req)
2050 uv_fs_write, fd, &uvbuf, 1, pos);
2051 } else { // write(fd, buffer, off, len, pos, undefined, ctx)
2056 uv_fs_write, fd, &uvbuf, 1, pos);
2082 int64_t pos = GetOffset(args[2]);
2093 if (req_wrap_async != nullptr) { // writeBuffers(fd, chunks, pos, req)
2096 uv_fs_write, fd, *iovs, iovs.length(), pos);
2097 } else { // writeBuffers(fd, chunks, pos, undefined, ctx)
2102 uv_fs_write, fd, *iovs, iovs.length(), pos);
2127 const int64_t pos = GetOffset(args[2]);
2158 if (is_async) { // write(fd, string, pos, enc, req)
2173 pos,
2184 } else { // write(fd, string, pos, enc, undefined, ctx)
2202 uv_fs_write, fd, &uvbuf, 1, pos);
2245 const int64_t pos = args[4]->IsNumber() ?
2253 if (req_wrap_async != nullptr) { // read(fd, buffer, offset, len, pos, req)
2256 uv_fs_read, fd, &uvbuf, 1, pos);
2257 } else { // read(fd, buffer, offset, len, pos, undefined, ctx)
2262 uv_fs_read, fd, &uvbuf, 1, pos);
2288 int64_t pos = GetOffset(args[2]); // -1 if not a valid JS int
2300 if (req_wrap_async != nullptr) { // readBuffers(fd, buffers, pos, req)
2303 uv_fs_read, fd, *iovs, iovs.length(), pos);
2309 uv_fs_read, fd, *iovs, iovs.length(), pos);