Lines Matching refs:std

86 std::string Basename(const std::string& str, const std::string& extension) {
88 std::string::size_type pos = str.find_last_of(kPathSeparator);
91 std::size_t start_pos = 0;
93 std::size_t str_size = str.size();
94 if (pos != std::string::npos) {
291 std::unique_ptr<worker::TransferData> FileHandle::TransferForMessaging() {
293 auto ret = std::make_unique<TransferData>(fd_);
314 std::unique_ptr<worker::TransferData> self) {
552 read_wrap = std::move(freelist.back());
578 current_read_ = std::move(read_wrap);
599 std::move(handle->current_read_);
612 freelist.emplace_back(std::move(read_wrap));
824 void FromNamespacedPath(std::string* path) {
841 std::string first_path(req_wrap->continuation_data()->first_path());
910 std::vector<Local<Value>> name_v;
911 std::vector<Local<Value>> type_v;
1029 std::vector<char> chars;
1526 const std::string& path,
1534 std::make_unique<FSContinuationData>(req, mode, cb));
1535 req_wrap->continuation_data()->PushPath(std::move(path));
1539 std::string next_path = req_wrap->continuation_data()->PopPath();
1558 std::string dirname = next_path.substr(0,
1561 req_wrap->continuation_data()->PushPath(std::move(next_path));
1562 req_wrap->continuation_data()->PushPath(std::move(dirname));
1601 std::make_unique<FSContinuationData>(req, mode, cb));
1602 req_wrap->continuation_data()->PushPath(std::move(path));
1606 std::string next_path = req_wrap->continuation_data()->PopPath();
1612 std::string path = req->path;
1638 std::string dirname = path.substr(0,
1642 req_wrap->continuation_data()->PushPath(std::move(dirname));
1665 std::string path = req->path;
1737 std::string first_path(req_wrap_sync.continuation_data()->first_path());
1844 std::vector<Local<Value>> name_v;
1845 std::vector<Local<Value>> type_v;