/external/ltp/include/ |
safe_file_ops_fn.h | 27 * All-in-one function to scanf value(s) from a file. 29 int file_scanf(const char *file, const int lineno, 33 void safe_file_scanf(const char *file, const int lineno, 39 * All-in-one function that lets you printf directly into a file. 41 int file_printf(const char *file, const int lineno, 45 void safe_file_printf(const char *file, const int lineno, 53 void safe_cp(const char *file, const int lineno, 58 * Safe function to touch a file. 60 * If the file (pathname) does not exist It will be created with 63 * If mode is 0 then the file is created with (0666 & ~umask [all...] |
safe_macros_fn.h | 27 char* safe_basename(const char *file, const int lineno, 30 int safe_chdir(const char *file, const int lineno, 33 int safe_close(const char *file, const int lineno, 36 int safe_creat(const char *file, const int lineno, 39 char* safe_dirname(const char *file, const int lineno, 42 char* safe_getcwd(const char *file, const int lineno, 45 struct passwd* safe_getpwnam(const char *file, const int lineno, 48 int safe_getrusage(const char *file, const int lineno, 51 void* safe_malloc(const char *file, const int lineno, 54 int safe_mkdir(const char *file, const int lineno [all...] |
/external/syslinux/utils/ |
isohdpfxarray.pl | 40 foreach my $file (@ARGV) { 44 open(IN, '<', $file) or die "$0: $file: $!\n";
|
/external/vogar/src/vogar/ |
RetrievedFilesFilter.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 27 private final File profileFile; 29 public RetrievedFilesFilter(boolean profile, File profileFile) { 34 @Override public boolean accept(File file) { 35 if (file.getName().equals("prefs.xml")) { 38 if (file.getName().endsWith(".xml") 39 || file.getName().equals("caliper-results") 40 || file.getName().endsWith(".json" [all...] |
/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/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...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
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...] |
EncodedAnnotation.java | 5 * you may not use this file except in compliance with the License. 27 public void read(DexRandomAccessFile file) throws IOException { 28 typeIdx = file.readUleb128(); 29 size = file.readUleb128(); 33 (elements[i] = new AnnotationElement()).read(file); 39 public void write(DexRandomAccessFile file) throws IOException { 40 file.writeUleb128(typeIdx); 41 file.writeUleb128(size); 44 annotationElement.write(file);
|
EncodedCatchHandler.java | 5 * you may not use this file except in compliance with the License. 27 public void read(DexRandomAccessFile file) throws IOException { 28 size = file.readSleb128(); 33 (handlers[i] = new EncodedTypeAddrPair()).read(file); 37 catchAllAddr = file.readUleb128(); 42 public void write(DexRandomAccessFile file) throws IOException { 43 file.writeSleb128(size); 46 encodedTypeAddrPair.write(file); 50 file.writeUleb128(catchAllAddr);
|
/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...] |
/build/kati/ |
log.cc | 4 // you may not use this file except in compliance with the License. 27 void ColorErrorLog(const char* file, int line, const char* msg) { 28 if (file == nullptr) { 37 file, line, filtered.as_string().c_str()); 39 ERROR("%s:%d: %s", file, line, msg); 43 void ColorWarnLog(const char* file, int line, const char* msg) { 44 if (file == nullptr) { 54 file, line, filtered.as_string().c_str()); 56 fprintf(stderr, "%s:%d: %s\n", file, line, msg);
|
/device/google/marlin/dataservices/datatop/src/ |
datatop_fileops.h | 31 * @file datatop_fileops.h 42 int dt_read_file(const char *file, char **buffer, int len); 45 int dtop_open_writing_file(char *fw, FILE **to_file); 46 void dtop_close_file(FILE *fw); 47 int dtop_get_file_line_amount(char *file);
|
/external/apache-http/src/org/apache/http/entity/ |
FileEntity.java | 8 * or more contributor license agreements. See the NOTICE file 10 * regarding copyright ownership. The ASF licenses this file 12 * "License"); you may not use this file except in compliance 34 import java.io.File; 41 * An entity whose content is retrieved from a file. 56 protected final File file; field in class:FileEntity 58 public FileEntity(final File file, final String contentType) { 60 if (file == null) [all...] |
/external/compiler-rt/lib/builtins/ |
eprintf.c | 5 * This file is dual licensed under the MIT and the University of Illinois Open 30 const char* line, const char* file) 32 fprintf(stderr, format, assertion_expression, line, file);
|
/external/flatbuffers/grpc/src/compiler/ |
cpp_generator.h | 58 // Return the prologue of the generated header file. 59 grpc::string GetHeaderPrologue(grpc_generator::File *file, const Parameters ¶ms); 61 // Return the includes needed for generated header file. 62 grpc::string GetHeaderIncludes(grpc_generator::File *file, const Parameters ¶ms); 64 // Return the includes needed for generated source file. 65 grpc::string GetSourceIncludes(grpc_generator::File *file, const Parameters ¶ms); 67 // Return the epilogue of the generated header file [all...] |
/external/icu/icu4c/source/tools/gentest/ |
genres32.c | 10 * file name: genres32.c 55 char file[512]; local 56 FILE *out; 58 uprv_strcpy(file,path); 59 if(file[strlen(file)-1]!=U_FILE_SEP_CHAR) { 60 uprv_strcat(file,U_FILE_SEP_STRING); 62 uprv_strcat(file,"testtable32.txt"); 63 out = fopen(file, "w"); 64 /*puts(file);*/ [all...] |
/external/iproute2/testsuite/tests/ip/link/ |
show_dev_wo_vf_rate.t | 6 ts_ip "$0" "Show VF devices w/o VF rate info" -d monitor file $NL_FILE
|
/external/libopus/ |
convert_android_asm.sh | 11 while read file; do 14 if [[ ! "${file}" =~ .*_gnu\.s$ ]]; then 15 gnu_file="${file%.s}_gnu.s" 16 ${ASM_CONVERTER} "${file}" > "${gnu_file}" 20 rm -f "${file}"
|
/external/llvm/test/MC/ELF/ |
debug-line2.s | 29 .file 1 "foo.c"
|
relax-crash.s | 8 .file 1 "Disassembler.ii"
|
/external/swiftshader/third_party/LLVM/test/MC/ELF/ |
debug-line.s | 20 .file 1 "foo.c"
|
relax-crash.s | 8 .file 1 "Disassembler.ii"
|