Lines Matching +defs:buffer +defs:file +defs:name

344       if (key == "name") {
346 std::string file;
347 extractor.GetHexByteString(file);
349 file, FileSpec::Style::native);
437 if (std::optional<llvm::StringRef> name =
440 response.PutStringAsRawHex8(*name);
457 if (std::optional<llvm::StringRef> name =
460 response.PutStringAsRawHex8(*name);
502 #define HANDLE_ERRNO(name, value) \
503 case name: \
504 return GDB_##name;
525 auto file = FileSystem::Instance().Open(path_spec, flags, mode, false);
531 if (file) {
532 descriptor = file.get()->GetDescriptor();
536 std::error_code code = errorToErrorCode(file.takeError());
555 NativeFile file(fd, File::OpenOptions(0), true);
556 Status error = file.Close();
585 std::string buffer(count, 0);
586 NativeFile file(fd, File::eOpenOptionReadOnly, false);
587 Status error = file.Read(static_cast<void *>(&buffer[0]), count, offset);
593 response.PutEscapedBytes(&buffer[0], count);
617 std::string buffer;
618 if (packet.GetEscapedBinaryData(buffer)) {
619 NativeFile file(fd, File::eOpenOptionWriteOnly, false);
620 size_t count = buffer.size();
622 file.Write(static_cast<const void *>(&buffer[0]), count, offset);
1174 llvm::StringRef file, triple;
1175 if (!query->GetValueForKeyAsString("file", file) ||
1179 ModuleSpec matched_module_spec = GetModuleInfo(file, triple);
1215 response.PutCString("name:");
1333 // In Android API level 23 and above, dynamic loader is able to load .so file
1334 // directly from zip file. In that case, module_path will be
1335 // "zip_path!/so_path". Resolve the zip file path, .so file offset and size.
1343 // For zip .so file, this file_path will contain only the actual zip file
1344 // path for the object file processing. Otherwise it is the same as
1365 // For zip .so file, matched_module_spec contains only the actual zip file
1366 // path for the object file processing. Overwrite the matched_module_spec
1367 // file spec with the original module_path_spec to pass "zip_path!/so_path"