/external/syslinux/mbr/ |
checksize.pl | 17 ## Check the size of a binary file and pad it with zeroes to that size 22 ($file, $maxsize, $padsize) = @ARGV; 26 if ($file =~ /^mbr[^0-9a-z]/) { 28 } elsif ($file =~ /^gptmbr[^0-9a-z]/) { 30 } elsif ($file =~ /^isohdp[fp]x[^0-9a-z]/) { 32 } elsif ($file =~ /^altmbr[^0-9a-z]/) { 35 die "$0: no default size for filename: $file\n"; 41 open(FILE, '+<', $file) or die; 42 @st = stat(FILE); [all...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
AnnotationElement.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { 27 nameIdx = file.readUleb128(); 28 (value = new EncodedValue()).read(file); 32 public void write(DexRandomAccessFile file) throws IOException { 33 file.writeUleb128(nameIdx); 34 value.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);
|
StringDataItem.java | 5 * you may not use this file except in compliance with the License. 31 public void read(DexRandomAccessFile file) throws IOException { 32 file.getOffsetTracker().getNewOffsettable(file, this); 33 size = file.readUleb128(); 35 dataAsBytes = file.readDexUtf(size); 38 Log.warn("Don't have full support for decoding MUTF-8 yet, DEX file " 44 file.readByte(); 49 public void write(DexRandomAccessFile file) throws IOException { 50 file.getOffsetTracker().updatePositionOfNextOffsettable(file) [all...] |
CodeItem.java | 5 * you may not use this file except in compliance with the License. 48 public void read(DexRandomAccessFile file) throws IOException { 49 file.alignForwards(4); 50 file.getOffsetTracker().getNewOffsettable(file, this); 51 registersSize = file.readUShort(); 52 insSize = file.readUShort(); 53 outsSize = file.readUShort(); 54 triesSize = file.readUShort(); 55 debugInfoOff = file.readUInt() [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
FieldIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 22 * Representation of a field reference inside a Dalvik file. 42 public void addContents(DexFile file) { 43 super.addContents(file); 45 TypeIdsSection typeIds = file.getTypeIds(); 60 protected int getTypoidIdx(DexFile file) { 61 TypeIdsSection typeIds = file.getTypeIds();
|
MethodIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 22 * Representation of a method reference inside a Dalvik file. 42 public void addContents(DexFile file) { 43 super.addContents(file); 45 ProtoIdsSection protoIds = file.getProtoIds(); 60 protected int getTypoidIdx(DexFile file) { 61 ProtoIdsSection protoIds = file.getProtoIds();
|
/dalvik/dx/src/com/android/dx/dex/file/ |
FieldIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 22 * Representation of a field reference inside a Dalvik file. 42 public void addContents(DexFile file) { 43 super.addContents(file); 45 TypeIdsSection typeIds = file.getTypeIds(); 60 protected int getTypoidIdx(DexFile file) { 61 TypeIdsSection typeIds = file.getTypeIds();
|
MethodIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 22 * Representation of a method reference inside a Dalvik file. 42 public void addContents(DexFile file) { 43 super.addContents(file); 45 ProtoIdsSection protoIds = file.getProtoIds(); 60 protected int getTypoidIdx(DexFile file) { 61 ProtoIdsSection protoIds = file.getProtoIds();
|
/external/compiler-rt/lib/builtins/ |
int_util.c | 5 * This file is dual licensed under the MIT and the University of Illinois Open 14 /* NOTE: The definitions in this file are declared weak because we clients to be 30 void compilerrt_abort_impl(const char *file, int line, const char *function) { 31 panic("%s:%d: abort in %s", file, line, function); 37 NORETURN extern void __assert_rtn(const char *func, const char *file, int line, 44 void compilerrt_abort_impl(const char *file, int line, const char *function) { 45 __assert_rtn(function, file, line, "libcompiler_rt abort"); 57 void compilerrt_abort_impl(const char *file, int line, const char *function) {
|
/external/jacoco/jacoco-maven-plugin.test/it/it-prepend-property/ |
verify.bsh | 16 String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) ); 21 File file = new File( basedir, "target/jacoco.exec" ); 22 if ( !file.isFile() ) 24 throw new FileNotFoundException( "Could not find generated dump: " + file );
|
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
KeepAliveHttpsTransportSE.java | 29 private final String file; field in class:KeepAliveHttpsTransportSE 33 public KeepAliveHttpsTransportSE(String host, int port, String file, int timeout) { 34 super(host, port, file, timeout); 37 this.file = file; 52 file, timeout);
|
/external/libmojo/ipc/ |
ipc_platform_file_attachment_posix.cc | 3 // found in the LICENSE file. 12 PlatformFileAttachment::PlatformFileAttachment(base::PlatformFile file) 13 : file_(file) { 16 PlatformFileAttachment::PlatformFileAttachment(base::ScopedFD file) 17 : file_(file.get()), owning_(std::move(file)) {} 34 return static_cast<PlatformFileAttachment*>(attachment.get())->file();
|
/external/ltp/include/old/ |
ltp_priv.h | 55 void tst_vbrk_(const char *file, const int lineno, int ttype, 58 void tst_brk_(const char *file, const int lineno, int ttype, 61 void tst_vres_(const char *file, const int lineno, int ttype, 64 void tst_res_(const char *file, const int lineno, int ttype, 68 #define NO_NEWLIB_ASSERT(file, lineno) \ 70 tst_brk_(file, lineno, TBROK, \
|
/external/syslinux/utils/ |
isohdpfxarray.pl | 40 foreach my $file (@ARGV) { 44 open(IN, '<', $file) or die "$0: $file: $!\n";
|
/frameworks/base/tools/stringslint/ |
stringslint_sha.sh | 3 git show --name-only --pretty=format: $1 | grep values/strings.xml | while read file; do 4 python $LOCAL_DIR/stringslint.py <(git show $1:$file) <(git show $1^:$file)
|
/tools/apksig/src/main/java/com/android/apksig/util/ |
DataSources.java | 5 * you may not use this file except in compliance with the License. 44 * file, including changes to size of file, will be visible in the data source. 46 public static DataSource asDataSource(RandomAccessFile file) { 47 if (file == null) { 50 return new RandomAccessFileDataSource(file); 55 * Changes to the file will be visible in the data source. 57 public static DataSource asDataSource(RandomAccessFile file, long offset, long size) { 58 if (file == null) { 61 return new RandomAccessFileDataSource(file, offset, size) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_disasm.c | 604 string(FILE *file, const char *string) 606 fputs(string, file); 612 format(FILE *f, const char *format, ...) PRINTFLIKE(2, 3); 615 format(FILE *f, const char *format, ...) 628 newline(FILE *f) 636 pad(FILE *f, int c) 645 control(FILE *file, const char *name, const char *const ctrl[], 649 fprintf(file, "*** invalid %s value %d ", name, id) [all...] |
/frameworks/support/samples/SupportLeanbackDemos/ |
generatev4.py | 6 # you may not use this file except in compliance with the License. 23 tofile.write("/* This file is auto-generated from {}.java. DO NOT MODIFY. */\n\n".format(name)) 26 return line.replace('<?xml version="1.0" encoding="utf-8"?>', '<?xml version="1.0" encoding="utf-8"?>\n<!-- This file is auto-generated from {}.xml. DO NOT MODIFY. -->\n'.format(name)) 28 file = open('src/main/java/com/example/android/leanback/GuidedStepActivity.java', 'r') variable 31 for line in file: 38 file.close() 41 file = open('src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java', 'r') variable 44 for line in file: 52 file.close() 55 file = open('src/main/java/com/example/android/leanback/BrowseFragment.java', 'r' variable 75 file = open('src\/main\/java\/com\/example\/android\/leanback\/BrowseActivity.java', 'r') variable 87 file = open('src\/main\/res\/layout\/browse.xml', 'r') variable 97 file = open('src\/main\/java\/com\/example\/android\/leanback\/DetailsFragment.java', 'r') variable 111 file = open('src\/main\/java\/com\/example\/android\/leanback\/NewDetailsFragment.java', 'r') variable 130 file = open('src\/main\/java\/com\/example\/android\/leanback\/DetailsActivity.java', 'r') variable 144 file = open('src\/main\/java\/com\/example\/android\/leanback\/SearchDetailsActivity.java', 'r') variable 154 file = open('src\/main\/java\/com\/example\/android\/leanback\/SearchFragment.java', 'r') variable 164 file = open('src\/main\/java\/com\/example\/android\/leanback\/SearchActivity.java', 'r') variable 178 file = open('src\/main\/res\/layout\/search.xml', 'r') variable 187 file = open('src\/main\/java\/com\/example\/android\/leanback\/VerticalGridFragment.java', 'r') variable 198 file = open('src\/main\/java\/com\/example\/android\/leanback\/VerticalGridActivity.java', 'r') variable 212 file = open('src\/main\/res\/layout\/vertical_grid.xml', 'r') variable 222 file = open('src\/main\/java\/com\/example\/android\/leanback\/ErrorFragment.java', 'r') variable 231 file = open('src\/main\/java\/com\/example\/android\/leanback\/BrowseErrorActivity.java', 'r') variable 247 file = open('src\/main\/java\/com\/example\/android\/leanback\/RowsFragment.java', 'r') variable 257 file = open('src\/main\/java\/com\/example\/android\/leanback\/RowsActivity.java', 'r') variable 272 file = open('src\/main\/res\/layout\/rows.xml', 'r') variable 281 file = open('src\/main\/java\/com\/example\/android\/leanback\/PlaybackFragment.java', 'r') variable 291 file = open('src\/main\/java\/com\/example\/android\/leanback\/PlaybackActivity.java', 'r') variable 303 file = open('src\/main\/res\/layout\/playback_activity.xml', 'r') variable 312 file = open('src\/main\/java\/com\/example\/android\/leanback\/PlaybackTransportControlFragment.java', 'r') variable 323 file = open('src\/main\/java\/com\/example\/android\/leanback\/PlaybackTransportControlActivity.java', 'r') variable 335 file = open('src\/main\/res\/layout\/playback_transportcontrol_activity.xml', 'r') variable 344 file = open('src\/main\/res\/layout\/playback_controls.xml', 'r') variable 353 file = open('src\/main\/java\/com\/example\/android\/leanback\/OnboardingActivity.java', 'r') variable 367 file = open('src\/main\/java\/com\/example\/android\/leanback\/OnboardingDemoFragment.java', 'r') variable 380 file = open('src\/main\/java\/com\/example\/android\/leanback\/SampleVideoFragment.java', 'r') variable 392 file = open('src\/main\/java\/com\/example\/android\/leanback\/VideoActivity.java', 'r') variable [all...] |
/external/autotest/tko/ |
plotgraph | 5 ($file, $y_label, $columns, $title) = @ARGV; 6 die unless (-f $file); 10 # print " ++++++ plotgraph $file\n"; 11 plotgraph($file, $y_label, $columns, $title); 17 my ($file, $y_label, $columns, $title) = @_; 21 $title = $file; 24 open (INDATA, $file); 25 open (DATA_MAIN, "> ${file}.main"); 26 open (DATA_MM, "> ${file}.mm"); 27 open (DATA_OTHER, "> ${file}.other") [all...] |
/external/compiler-rt/lib/tsan/ |
analyze_libtsan.sh | 38 file=${OUTPUT_DIR}/asm_$f.s 39 get_asm $f > $file 40 tot=$(wc -l < $file) 42 rsp=$(grep '(%rsp)' $file | wc -l) 43 push=$(grep 'push' $file | wc -l) 44 pop=$(grep 'pop' $file | wc -l) 45 call=$(grep 'call' $file | wc -l) 46 load=$(egrep 'mov .*\,.*\(.*\)|cmp .*\,.*\(.*\)' $file | wc -l) 47 store=$(egrep 'mov .*\(.*\),' $file | wc -l) 48 mov=$(grep 'mov' $file | wc -l [all...] |
/external/libvpx/libvpx/ |
video_writer.c | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 19 FILE *file; member in struct:VpxVideoWriterStruct 23 static void write_header(FILE *file, const VpxVideoInfo *info, 31 ivf_write_file_header(file, &cfg, info->codec_fourcc, frame_count); 39 FILE *const file = fopen(filename, "wb") local [all...] |
/external/smali/util/src/test/java/org/jf/util/ |
ClassFileNameHandlerTest.java | 39 import java.io.File; 121 File tempDir = Files.createTempDir(); 126 File file1 = handler.getUniqueFilenameForClass("La/a/" + filenameFragment + "1" + filenameFragment + ";"); 129 File file2 = handler.getUniqueFilenameForClass("La/a/" + filenameFragment + "2" + filenameFragment + ";"); 137 File tempDir = Files.createTempDir(); 140 File file = handler.getUniqueFilenameForClass("La/b/c/d;"); local 141 checkFilename(tempDir, file, "a", "b", "c", "d.smali"); 143 file = handler.getUniqueFilenameForClass("La/b/c/e;"); 144 checkFilename(tempDir, file, "a", "b", "c", "e.smali") 161 File file = handler.getUniqueFilenameForClass("La\/b\/c;"); local 176 File file = handler.getUniqueFilenameForClass("La\/b\/c;"); local 191 File file = handler.getUniqueFilenameForClass("La\/con\/c;"); local 217 File file = handler.getUniqueFilenameForClass("La\/con\/c;"); local [all...] |
/art/libdexfile/dex/ |
class_reference.h | 5 * you may not use this file except in compliance with the License. 32 ClassReference(const DexFile* file, uint32_t class_def_idx) 33 : DexFileReference(file, class_def_idx) {}
|