/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
EncodedArray.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { 27 size = file.readUleb128(); 31 (values[i] = new EncodedValue()).read(file); 37 public void write(DexRandomAccessFile file) throws IOException { 38 file.writeUleb128(size); 41 encodedValue.write(file);
|
EncodedCatchHandlerList.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { 27 size = file.readUleb128(); 30 (list[i] = new EncodedCatchHandler()).read(file); 35 public void write(DexRandomAccessFile file) throws IOException { 36 file.writeUleb128(size); 38 encodedCatchHandler.write(file);
|
EncodedTypeAddrPair.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { 27 typeIdx = file.readUleb128(); 28 addr = file.readUleb128(); 32 public void write(DexRandomAccessFile file) throws IOException { 33 file.writeUleb128(typeIdx); 34 file.writeUleb128(addr);
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
Format35mi.java | 5 * you may not use this file except in compliance with the License. 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) (insn.invokeFormatInfo.vregG | (insn.vregA << 4))); 29 file.writeUShort((short) insn.vregB); 30 file.writeByte((byte) ((insn.invokeFormatInfo.vregD << 4) | insn.vregC)); 31 file.writeByte((byte) ((insn.invokeFormatInfo.vregF << 4)
|
Format35ms.java | 5 * you may not use this file except in compliance with the License. 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) (insn.invokeFormatInfo.vregG | (insn.vregA << 4))); 29 file.writeUShort((short) insn.vregB); 30 file.writeByte((byte) ((insn.invokeFormatInfo.vregD << 4) | insn.vregC)); 31 file.writeByte((byte) ((insn.invokeFormatInfo.vregF << 4)
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
call-stack.rb | 5 Call = Struct.new( :file, :line, :method ) 10 file = parts.shift 13 return Call.new( file, line ) 18 return Call.new( file, line, method ) 27 self.file == '(irb)' 31 self.file == '-e' 35 string = '%s:%i' % [ file, line ]
|
/external/bison/lib/ |
stripslash.c | 1 /* stripslash.c -- remove redundant trailing slashes from a file name 23 /* Remove trailing slashes from FILE. Return true if a trailing slash 24 was removed. This is useful when using file name completion from a 31 strip_trailing_slashes (char *file) 33 char *base = last_component (file); 37 /* last_component returns "" for file system roots, but we need to turn 40 base = file;
|
/external/clang/test/CoverageMapping/ |
nestedclass.cpp | 1 // RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name nestedclass.cpp %s > %tmapping 2 // RUN: FileCheck -input-file %tmapping %s --check-prefix=CHECK-OUTER 3 // RUN: FileCheck -input-file %tmapping %s --check-prefix=CHECK-INNER 4 // RUN: FileCheck -input-file %tmapping %s --check-prefix=CHECK-INNERMOST 7 void emitTest() { // CHECK-OUTER: File 0, [[@LINE]]:19 -> [[@LINE+2]]:4 = #0 11 void emitTest2() { // CHECK-INNER: File 0, [[@LINE]]:22 -> [[@LINE+2]]:6 = #0 15 static void emitTest3() { // CHECK-INNERMOST: File 0, [[@LINE]]:31 -> [[@LINE+2]]:8 = 0
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
DownloadOptions.java | 6 import java.io.File; 11 * Loads the original unmodified data into the cache and calls the given Target with the cache File. 13 * @param target The Target that will receive the cache File when the load completes 17 <Y extends Target<File>> Y downloadOnly(Y target); 22 * used to retrieve the cache File containing the data. 26 * @return A {@link java.util.concurrent.Future} that can be used to retrieve the cache File containing the data. 28 FutureTarget<File> downloadOnly(int width, int height);
|
/external/icu/icu4c/source/samples/csdet/ |
csdet.c | 27 FILE *file; local 38 file = fopen(filename, "rb"); 40 if (file == NULL) { 41 printf("Cannot open file \"%s\"\n\n", filename); 47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file); 49 fclose(file);
|
/external/jpeg/ |
cderror.h | 5 * This file is part of the Independent JPEG Group's software. 6 * For conditions of distribution and use, see the accompanying README file. 8 * This file defines the error and message codes for the cjpeg/djpeg 11 * Edit this file to add new codes, or to translate the message strings to 16 * To define the enum list of message codes, include this file without 26 /* Repeated inclusions of this file are no-ops unless JMESSAGE is defined */ 44 JMESSAGE(JERR_BMP_BADHEADER, "Invalid BMP file: bad header length") 45 JMESSAGE(JERR_BMP_BADPLANES, "Invalid BMP file: biPlanes not equal to 1") 48 JMESSAGE(JERR_BMP_NOT, "Not a BMP file - does not start with BM") 59 JMESSAGE(JERR_GIF_IMAGENOTFOUND, "Too few images in GIF file") [all...] |
/external/kernel-headers/original/uapi/asm-generic/ |
errno-base.h | 5 #define ENOENT 2 /* No such file or directory */ 12 #define EBADF 9 /* Bad file number */ 20 #define EEXIST 17 /* File exists */ 26 #define ENFILE 23 /* File table overflow */ 29 #define ETXTBSY 26 /* Text file busy */ 30 #define EFBIG 27 /* File too large */ 33 #define EROFS 30 /* Read-only file system */
|
/external/libexif/contrib/examples/ |
thumbnail.c | 3 * and save it into a new file. 27 /* Load the EXIF data from the image file */ 39 FILE *thumb; 42 /* Try to create a unique name for the thumbnail file */ 48 /* Write the thumbnail image to the file */ 54 printf("Could not create file %s\n", thumb_name); 58 printf("No EXIF thumbnail in file %s\n", argv[1]);
|
/external/libvpx/libvpx/third_party/libwebm/ |
mkvreader.hpp | 4 // that can be found in the LICENSE file in the root of the source 6 // in the file PATENTS. All contributing project authors may 7 // be found in the AUTHORS file in the root of the source tree. 20 explicit MkvReader(FILE* fp); 33 // Determines the size of the file. This is called either by the constructor 34 // or by the Open function depending on file ownership. Returns true on 39 FILE* m_file;
|
/external/pdfium/core/src/fxcodec/libjpeg/ |
cderror.h | 5 * This file is part of the Independent JPEG Group's software. 6 * For conditions of distribution and use, see the accompanying README file. 8 * This file defines the error and message codes for the cjpeg/djpeg 11 * Edit this file to add new codes, or to translate the message strings to 16 * To define the enum list of message codes, include this file without 26 /* Repeated inclusions of this file are no-ops unless JMESSAGE is defined */ 44 JMESSAGE(JERR_BMP_BADHEADER, "Invalid BMP file: bad header length") 45 JMESSAGE(JERR_BMP_BADPLANES, "Invalid BMP file: biPlanes not equal to 1") 48 JMESSAGE(JERR_BMP_NOT, "Not a BMP file - does not start with BM") 59 JMESSAGE(JERR_GIF_IMAGENOTFOUND, "Too few images in GIF file") [all...] |
/external/protobuf/src/google/protobuf/testing/ |
file.cc | 32 // emulates google3/file/base/file.cc 34 #include <google/protobuf/testing/file.h> 40 #include <windows.h> // Find*File(). :( 61 bool File::Exists(const string& name) { 65 bool File::ReadFileToString(const string& name, string* output) { 67 FILE* file = fopen(name.c_str(), "rb"); local 68 if (file == NULL) return false; 71 size_t n = fread(buffer, 1, sizeof(buffer), file); 86 FILE* file = fopen(name.c_str(), "wb"); local 104 FILE* file = fopen(name.c_str(), "wb"); local [all...] |
/external/regex-re2/ |
CONTRIBUTORS | 3 # The AUTHORS file lists the copyright holders; this file 8 # that people submitting code are listed in this file (by email address). 10 # Names should be added to this file only after verifying that 19 # When adding J Random Contributor's name to this file, 21 # added to the AUTHORS file, depending on whether the 24 # Names should be added to this file like so:
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAssetManager.java | 8 import java.io.File; 29 File file = new File(resourceLoader.getAssetsBase(), path); local 30 if (file.isDirectory()) { 31 return file.list(); 38 return new FileInputStream(new File(resourceLoader.getAssetsBase(), fileName));
|
/external/selinux/libselinux/man/man5/ |
default_contexts.5 | 3 default_contexts \- The SELinux default contexts configuration file 6 The default contexts configuration file \fIdefault_contexts\fR contains entries that allow SELinux-aware login applications such as 28 The default context configuration file path for the active policy is returned by \fBselinux_default_contexts_path\fR(3). The default, default contexts file is: 33 Where \fI{SELINUXTYPE}\fR is the entry from the selinux configuration file \fIconfig\fR (see \fBselinux_config\fR(5)). 35 .SH "FILE FORMAT" 36 Each line in the default configuration file consists of the following:
|
seusers.5 | 3 seusers \- The SELinux GNU/Linux user to SELinux user mapping configuration file 8 file contains a list GNU/Linux user to SELinux user mapping for use by SELinux-aware login applications such as \fBPAM\fR(8). 11 will return the active policy path to this file. The default SELinux users mapping file is located at: 16 Where \fI{SELINUXTYPE}\fR is the entry from the selinux configuration file \fIconfig\fR (see \fBselinux_config\fR(5)). 18 .BR getseuserbyname "(3) reads this file to map a GNU/Linux user or group to an SELinux user. " 20 .SH "FILE FORMAT" 23 configuration file consists of the following:
|
/external/selinux/policycoreutils/scripts/ |
chcat.8 | 3 chcat \- change file SELinux security category 6 \fIcategory file\fR... 12 \fI[[+|-]category...] file\fR... 38 delete the category from each FILE/USER.
|
/external/skia/platform_tools/android/tests/ |
utils.py | 6 # found in the LICENSE file. 18 """Check that a generated file matches its expectation in EXPECTATIONS_DIR. 20 Assert that the generated file and expectation file are identical. 23 actual_name: Full path to the test file. 24 expectation_name: Basename of the expectations file within which 25 to compare. The file is expected to be in
|
/external/toybox/tests/ |
tar.test | 12 echo "This is testdata" > dir/dir1/file 13 testing "tar tgz - compession, extraction and data validation" "tar -czf dir.tgz dir/ && [ -e dir.tgz ] && echo 'yes'; rm -rf dir; tar -xf dir.tgz && [ -f dir/dir1/file ] && cat dir/dir1/file; rm -rf dir.tgz" "yes\nThis is testdata\n" "" "" 17 echo "This is testdata" > dir/dir1/file 18 testing "tar tar.gz - compession, extraction and data validation" "tar -czf dir.tar.gz dir/ && [ -e dir.tar.gz ] && echo 'yes'; rm -rf dir; tar -xf dir.tar.gz && [ -f dir/dir1/file ] && cat dir/dir1/file; rm -rf dir.tar.gz" "yes\nThis is testdata\n" "" "" 22 echo "This is testdata" > dir/dir1/file 23 testing "tar verbose compression" "tar -cvzf dir.tgz dir/; rm -rf dir.tgz" "dir/\ndir/dir1/\ndir/dir1/file\n" "" "" 26 #creating test file 28 testing "tar - compession and extraction of a file" "tar -czf testFile.tgz testFile && [ -e testFile.tgz ] && echo 'yes'; rm -rf testFile; tar -xf te (…) [all...] |
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
HugeBackupActivity.java | 5 * you may not use this file except in compliance with the License. 29 import java.io.File; 43 * agent running to perform a backup while our UI is updating the file, the 51 /** Also supply a global standard file name for everyone to use */ 59 /** Cache a reference to our persistent data file */ 60 File mDataFile; 78 /** Set up our file bookkeeping */ 79 mDataFile = new File(getFilesDir(), HugeBackupActivity.DATA_FILE_NAME); 92 * data file and establishing defaults if necessary. 95 RandomAccessFile file; local 188 RandomAccessFile file = new RandomAccessFile(mDataFile, "rw"); local [all...] |
/frameworks/wilhelm/src/ |
assert.c | 5 * you may not use this file except in compliance with the License. 24 void __assert(const char *file, int line, const char *failedexpr) 26 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d", failedexpr, file, line); 30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) 32 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"", 33 failedexpr, file, line, func);
|