/external/rust/crates/clang-sys/build/ |
D | dynamic.rs | 24 let mut file = File::open(path)?; in parse_elf_header() localVariable 25 let mut buffer = [0; 5]; in parse_elf_header() localVariable 36 let mut file = File::open(path)?; in parse_pe_header() localVariable 39 let mut buffer = [0; 4]; in parse_pe_header() localVariable 53 let mut buffer = [0; 2]; in parse_pe_header() localVariable 249 let name = filename.trim_start_matches("lib"); in link() localVariable 253 let name = match name.find(".dylib").or_else(|| name.find(".so")) { in link() localVariable
|
/external/rust/crates/clang-sys/out/ |
D | dynamic.rs | 24 let mut file = File::open(path)?; in parse_elf_header() localVariable 25 let mut buffer = [0; 5]; in parse_elf_header() localVariable 36 let mut file = File::open(path)?; in parse_pe_header() localVariable 39 let mut buffer = [0; 4]; in parse_pe_header() localVariable 53 let mut buffer = [0; 2]; in parse_pe_header() localVariable 249 let name = filename.trim_start_matches("lib"); in link() localVariable 253 let name = match name.find(".dylib").or_else(|| name.find(".so")) { in link() localVariable
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | UserDefinedAttributeProvider.java | 42 public String name() { in name() method in UserDefinedAttributeProvider 59 public ImmutableSet<String> attributes(File file) { in attributes() 63 private static ImmutableSet<String> userDefinedAttributes(File file) { in userDefinedAttributes() 72 public Object get(File file, String attribute) { in get() 82 public void set(File file, String view, String attribute, Object value, boolean create) { in set() 91 ByteBuffer buffer = (ByteBuffer) value; in set() local 120 public String name() { in name() method in UserDefinedAttributeProvider.View 129 private byte[] getStoredBytes(String name) throws IOException { in getStoredBytes() 138 public int size(String name) throws IOException { in size() 143 public int read(String name, ByteBuffer dst) throws IOException { in read() [all …]
|
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/ |
D | TestFileUtil.java | 22 public static void createNewHtmlFile(String name, String title, String body) in createNewHtmlFile() 27 public static void createNewHtmlFile(File file, String title, String body) in createNewHtmlFile() 49 public static void deleteFile(String name) { in deleteFile() 53 public static void deleteFile(File file) { in deleteFile() 74 char[] buffer = new char[(int) f.length()]; in readUtf8File() local
|
/external/llvm-project/lldb/unittests/Utility/ |
D | ReproducerTest.cpp | 26 static const char *name; member 27 static const char *file; member 39 static const char *name; member 40 static const char *file; member 48 const char *DummyProvider::Info::name = "dummy"; member in DummyProvider::Info 49 const char *DummyProvider::Info::file = "dummy.yaml"; member in DummyProvider::Info 50 const char *YamlMultiProvider::Info::name = "mutli"; member in YamlMultiProvider::Info 51 const char *YamlMultiProvider::Info::file = "mutli.yaml"; member in YamlMultiProvider::Info 228 llvm::Optional<std::string> file = multi_loader->GetNextFile(); in TEST() local 231 auto buffer = llvm::MemoryBuffer::getFile(*file); in TEST() local [all …]
|
/external/protobuf/src/google/protobuf/testing/ |
D | file.cc | 69 bool File::Exists(const string& name) { in Exists() 73 bool File::ReadFileToString(const string& name, string* output, bool text_mode) { in ReadFileToString() 74 char buffer[1024]; in ReadFileToString() local 75 FILE* file = fopen(name.c_str(), text_mode ? "rt" : "rb"); in ReadFileToString() local 89 void File::ReadFileToStringOrDie(const string& name, string* output) { in ReadFileToStringOrDie() 93 bool File::WriteStringToFile(const string& contents, const string& name) { in WriteStringToFile() 94 FILE* file = fopen(name.c_str(), "wb"); in WriteStringToFile() local 112 void File::WriteStringToFileOrDie(const string& contents, const string& name) { in WriteStringToFileOrDie() 113 FILE* file = fopen(name.c_str(), "wb"); in WriteStringToFileOrDie() local 123 bool File::CreateDir(const string& name, int mode) { in CreateDir() [all …]
|
/external/skia/bench/ |
D | ResultsWriter.h | 43 void beginBench(const char* name, int32_t x, int32_t y) { in beginBench() 50 void appendMetric(const char* name, double value) { in appendMetric() 72 FILE* file = sk_fopen(fFilePath.c_str(), kWrite_SkFILE_Flag); in NanoFILEAppendAndCloseStream() local 83 bool write(const void* buffer, size_t size) override { in write() 88 FILE* file = sk_fopen(fFilePath.c_str(), kAppend_SkFILE_Flag); in write() local
|
/external/icu/icu4c/source/test/intltest/ |
D | textfile.h | 62 FileStream* file; variable 63 char* name; variable 65 char* buffer; variable
|
/external/sl4a/Utils/src/com/googlecode/android_scripting/ |
D | FileUtils.java | 89 public static File copyFromStream(String name, InputStream input) { in copyFromStream() 94 File file = new File(name); in copyFromStream() local 140 public static boolean rename(File file, String name) { in rename() 144 public static String readToString(File file) throws IOException { in readToString() 150 char[] buffer = new char[1024 * 4]; in readToString() local 159 public static String readFromAssetsFile(Context context, String name) throws IOException { in readFromAssetsFile()
|
/external/pigweed/pw_tokenizer/ |
D | generate_decoding_test_data.cc | 110 TestDataFile(const char* name, in TestDataFile() 170 void TestCase(TestDataFile* file, in TestCase() 171 std::span<const uint8_t> buffer, in TestCase() 187 void TestCase(TestDataFile* file, in TestCase() 216 void GenerateEncodedStrings(TestDataFile* file) { in GenerateEncodedStrings() 370 void OutputVarintTest(TestDataFile* file, T i) { in OutputVarintTest() 383 std::array<uint8_t, 10> buffer; in OutputVarintTest() local 396 void GenerateVarints(TestDataFile* file) { in GenerateVarints() 445 void WriteFile(const char* name, in WriteFile() 449 TestDataFile file(name, file_format, test_case_format); in WriteFile() local
|
/external/proguard/src/proguard/obfuscate/ |
D | DictionaryNameFactory.java | 50 public DictionaryNameFactory(File file, in DictionaryNameFactory() 60 StringBuffer buffer = new StringBuffer(); in DictionaryNameFactory() local 83 String name = buffer.toString(); in DictionaryNameFactory() local 150 String name; in nextName() local
|
/external/icu/icu4c/source/samples/csdet/ |
D | csdet.c | 22 static char buffer[BUFFER_SIZE]; in main() local 31 FILE *file; in main() local 61 const char *name = ucsdet_getName(csm[match], &status); in main() local
|
/external/llvm-project/lld/MachO/ |
D | Driver.cpp | 75 findAlongPathsWithExtensions(StringRef name, ArrayRef<StringRef> extensions) { in findAlongPathsWithExtensions() 89 static Optional<std::string> findLibrary(StringRef name) { in findLibrary() 99 static Optional<std::string> findFramework(StringRef name) { in findFramework() 161 SmallString<261> buffer(root); in getSearchPaths() local 180 SmallString<261> buffer(root); in getSearchPaths() local 226 std::unique_ptr<Archive> file = in getArchiveMembers() local 259 Optional<MemoryBufferRef> buffer = readFile(path); in addFile() local 268 std::unique_ptr<object::Archive> file = CHECK( in addFile() local 275 if (Optional<MemoryBufferRef> buffer = readFile(path)) { in addFile() local 293 if (Optional<MemoryBufferRef> buffer = readFile(path)) { in addFile() local [all …]
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_scan.c | 241 const uint file = fulldecl->Declaration.File; in tgsi_scan_shader() local 275 int buffer = 0; in tgsi_scan_shader() local 418 uint file = TGSI_FILE_IMMEDIATE; in tgsi_scan_shader() local 430 unsigned name = fullprop->Property.PropertyName; in tgsi_scan_shader() local
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/ |
D | AnalyzerTest.java | 66 final String name = coverage.getName(); in visitCoverage() local 208 final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); in testAnalyzeAll_Zip() local 222 final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); in testAnalyzeAll_EmptyZipEntry() local 357 File file = new File(folder.getRoot(), "broken.zip"); in testAnalyzeAll_BrokenZipEntry() local 378 final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); in testAnalyzeAll_BrokenClassFileInZip() local 401 File file = new File(folder.getRoot(), dir); in createClassfile() local
|
/external/webrtc/rtc_base/ |
D | file_rotating_stream.cc | 81 bool DeleteFile(const std::string& file) { in DeleteFile() 89 bool IsFile(const std::string& file) { in IsFile() 97 bool IsFolder(const std::string& file) { in IsFolder() 106 absl::optional<size_t> GetFileSize(const std::string& file) { in GetFileSize() 132 std::string name = dirent->d_name; in GetFilesWithPrefix() local 141 bool DeleteFile(const std::string& file) { in DeleteFile() 149 bool IsFile(const std::string& file) { in IsFile() 156 bool IsFolder(const std::string& file) { in IsFolder() 162 absl::optional<size_t> GetFileSize(const std::string& file) { in GetFileSize() 200 StreamResult FileRotatingStream::Read(void* buffer, in Read() [all …]
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
D | PyImportTest.java | 75 File file = new File("src/test/resources/pyyaml"); in getStreamsByExtension() local 81 protected File getFileByName(String name) { in getFileByName() 82 File file = new File("src/test/resources/pyyaml/" + name); in getFileByName() local 90 StringBuilder buffer = new StringBuilder(); in canonicalParse() local 124 public boolean accept(File dir, String name) { in accept()
|
/external/libpng/contrib/examples/ |
D | simpleover.c | 51 FILE *file; member 52 png_uint_16p buffer; member 55 char name[sprite_name_chars+1]; member 104 png_imagep image, const png_uint_16 *buffer) in sprite_op() 219 png_uint_16p buffer; in create_sprite() local 483 const char *name = argv[0]+6; in simpleover_process() local 550 png_bytep buffer; in main() local
|
/external/ImageMagick/MagickCore/ |
D | nt-base.h | 82 # define chsize(file,length) chsize(file,length) argument 142 # define ftruncate(file,length) NTTruncateFile(file,length) argument 190 # define lt_dlsym(handle,name) NTGetLibrarySymbol(handle,name) argument 197 # define mmap(address,length,protection,access,file,offset) \ argument 219 # define read(fd,buffer,count) _read(fd,buffer,(unsigned int) count) argument 249 # define sysconf(name) NTSystemConfiguration(name) argument 288 # define write(fd,buffer,count) _write(fd,buffer,(unsigned int) count) argument
|
/external/curl/src/ |
D | tool_cb_wrt.c | 56 FILE *file = NULL; in tool_create_output_file() local 68 char *name = outs->filename; in tool_create_output_file() local 107 size_t tool_write_cb(char *buffer, size_t sz, size_t nmemb, void *userdata) in tool_write_cb()
|
/external/llvm-project/lld/ELF/ |
D | Driver.cpp | 175 std::unique_ptr<Archive> file = in getArchiveMembers() local 206 Optional<MemoryBufferRef> buffer = readFile(path); in addFile() local 228 std::unique_ptr<Archive> file = in addFile() local 287 void LinkerDriver::addLibrary(StringRef name) { in addLibrary() 722 StringRef name; in getSectionStartMap() local 809 auto findSection = [&](StringRef name) -> InputSectionBase * { in readCallGraph() 840 for (auto file : objectFiles) { in readCallGraphsFromObjectFiles() local 1239 if (Optional<MemoryBufferRef> buffer = readFile(arg->getValue())){ in readConfigs() local 1257 if (Optional<MemoryBufferRef> buffer = readFile(arg->getValue())) in readConfigs() local 1277 if (Optional<MemoryBufferRef> buffer = readFile(arg->getValue())) in readConfigs() local [all …]
|
/external/autotest/client/profilers/powertop/src/ |
D | urbnum.c | 65 FILE *file; in update_urbnum() local 67 char name[4096], vendor[4096]; in update_urbnum() local 134 FILE *file; in count_usb_urbs() local 137 char buffer[4096]; in count_usb_urbs() local
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_scan.c | 48 is_memory_file(unsigned file) in is_memory_file() 119 unsigned name, mask; in scan_src_operand() local 160 unsigned name, index, input; in scan_src_operand() local 607 const uint file = fulldecl->Declaration.File; in scan_declaration() local 633 int buffer; in scan_declaration() local 822 uint file = TGSI_FILE_IMMEDIATE; in scan_immediate() local 834 unsigned name = fullprop->Property.PropertyName; in scan_property() local 952 unsigned file, in tgsi_scan_arrays() 1040 unsigned name = info->output_semantic_name[dst->Register.Index]; in get_inst_tessfactor_writemask() local
|
/external/tinycompress/ |
D | cplay.c | 154 char *file; in main() local 199 void play_samples(char *name, unsigned int card, unsigned int device, in play_samples() 206 FILE *file; in play_samples() local 207 char *buffer; in play_samples() local
|
/external/rust/crates/zip/examples/ |
D | write_dir.rs | 74 let mut buffer = Vec::new(); in zip_dir() localVariable 77 let name = path.strip_prefix(Path::new(prefix)).unwrap(); in zip_dir() localVariable 112 let file = File::create(&path).unwrap(); in doit() localVariable
|