Searched refs:file (Results 1 - 25 of 91) sorted by relevance

1234

/system/media/camera/docs/
H A DCameraCharacteristicsKeys.mako6 ## you may not use this file except in compliance with the License.
17 <%include file="CameraMetadataKeys.mako" args="java_class='CameraCharacteristics', xml_kind='static'" />
H A DCaptureRequestKeys.mako6 ## you may not use this file except in compliance with the License.
17 <%include file="CameraMetadataKeys.mako" args="java_class='CaptureRequest', xml_kind='controls'" />
H A DCaptureResultKeys.mako6 ## you may not use this file except in compliance with the License.
17 <%include file="CameraMetadataKeys.mako" args="java_class='CaptureResult', xml_kind='dynamic'" />
H A Dmetadata-parser-sanity-check7 # you may not use this file except in compliance with the License.
34 local file="$1"
36 results="$(python "$file" 2>&1)"
41 echo "FAILED: Unit tests $file"
43 echo "SUCCESS: Unit tests $file"
/system/extras/tests/sdcard/
H A Dprofile_sdcard.sh5 # you may not use this file except in compliance with the License.
32 local file="/tmp/sdcard-scalability.txt"
33 rm -f ${file}
34 echo "# Scalability tests" | tee -a ${file}
35 echo "# Kernel: $(print_kernel)" | tee -a ${file}
36 echo "# Sched features: $(print_sched_features)" | tee -a ${file}
37 echo "# StopWatch scalability total/cumulative duration 0.0 Samples: 1" | tee -a ${file}
38 echo "# Process Time" | tee -a ${file}
42 echo "$p $t" | tee -a ${file}
/system/core/libzipfile/
H A Dcentraldir.c19 // local file header
36 read_central_dir_values(Zipfile* file, const unsigned char* buf, int len) argument
39 // looks like ZIP file got truncated
45 file->disknum = read_le_short(&buf[0x04]);
46 file->diskWithCentralDir = read_le_short(&buf[0x06]);
47 file->entryCount = read_le_short(&buf[0x08]);
48 file->totalEntryCount = read_le_short(&buf[0x0a]);
49 file->centralDirSize = read_le_int(&buf[0x0c]);
50 file->centralDirOffest = read_le_int(&buf[0x10]);
51 file
66 read_central_directory_entry(Zipfile* file, Zipentry* entry, const unsigned char** buf, ssize_t* len) argument
150 read_central_dir(Zipfile *file) argument
[all...]
H A Dzipfile.c14 Zipfile *file = malloc(sizeof(Zipfile)); local
15 if (file == NULL) return NULL;
16 memset(file, 0, sizeof(Zipfile));
17 file->buf = data;
18 file->bufsize = size;
20 err = read_central_dir(file);
23 return file;
25 free(file);
32 Zipfile* file = (Zipfile*)f; local
33 Zipentry* entry = file
45 Zipfile* file = (Zipfile*)f; local
131 dump_zipfile(FILE* to, zipfile_t file) argument
147 iterate_zipfile(zipfile_t file, void** cookie) argument
[all...]
/system/core/include/zipfile/
H A Dzipfile.h5 * you may not use this file except in compliance with the License.
33 void release_zipfile(zipfile_t file);
38 zipentry_t lookup_zipentry(zipfile_t file, const char* entryName);
50 // iterate through the entries in the zip file. pass a pointer to
52 zipentry_t iterate_zipfile(zipfile_t file, void** cookie);
/system/core/rootdir/etc/
H A Dmountd.conf1 ## mountd configuration file
5 ## root block device with partition map or raw FAT file system
14 ## path to the UMS driver file for specifying the block device path
16 driver_store_path /sys/devices/platform/usb_mass_storage/lun0/file
18 ##driver_store_path /sys/devices/platform/msm_hsusb/gadget/lun0/file
/system/core/libcutils/
H A Dcpu_info.c5 ** you may not use this file except in compliance with the License.
31 FILE* file; local
36 file = fopen("proc/cpuinfo", "r");
37 if (! file)
40 while ((chp = fgets(serial_number, sizeof(serial_number), file)) != NULL)
78 fclose(file);
/system/core/libnativebridge/tests/
H A DAndroid.mk28 $(foreach file,$(test_src_files), \
33 $(eval LOCAL_SRC_FILES := $(file)) \
34 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
38 $(foreach file,$(test_src_files), \
43 $(eval LOCAL_SRC_FILES := $(file)) \
44 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
/system/core/libutils/tests/
H A DAndroid.mk27 $(foreach file,$(test_src_files), \
31 $(eval LOCAL_SRC_FILES := $(file)) \
32 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
/system/extras/tests/cpueater/
H A Ddaemonize.c5 * you may not use this file except in compliance with the License.
36 char *file = 0; local
53 file = *argv;
55 file = *++argv;
71 if (file) {
72 if(open(file, O_WRONLY|mode|O_CREAT, 0666) < 0) {
73 perror(file);
/system/vold/tests/
H A DAndroid.mk27 $(foreach file,$(test_src_files), \
32 $(eval LOCAL_SRC_FILES := $(file)) \
33 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
/system/vold/
H A DLoop.h5 * you may not use this file except in compliance with the License.
34 static int createImageFile(const char *file, unsigned int numSectors);
35 static int resizeImageFile(const char *file, unsigned int numSectors);
/system/core/adb/
H A Dmutex_list.h3 * Do not use an include-guard. This file is included once to declare the locks
7 #error ADB_MUTEX not defined when including this file
/system/core/toolbox/
H A Dtouch.c12 fprintf(stderr, "touch: usage: touch [-alm] [-t YYYYMMDD[.hhmmss]] <file>\n");
46 char *file = 0; local
79 file = argv[i];
83 if (! file) {
84 fprintf(stderr, "touch: no file specified\n");
88 if (access(file, F_OK))
89 if ((fd=creat(file, 0666)) != -1)
106 fprintf(stderr, "file = %s\n", file);
112 return utimensat(AT_FDCWD, file, time
[all...]
H A Dinsmod.c21 /* open the file */
51 void *file; local
62 /* read the file into memory */
63 file = read_file(argv[1], &size);
64 if (!file) {
85 ret = init_module(file, size, opts);
92 /* free the file buffer */
93 free(file);
H A Duptime.c92 FILE* file = fopen("/proc/uptime", "r"); local
93 if (!file) {
97 if (fscanf(file, "%*f %f", &idle_time) != 1) {
99 fclose(file);
102 fclose(file);
/system/core/fastbootd/other/sign/src/
H A DSignImg.java52 File file = new File(path);
53 FileInputStream fis = new FileInputStream(file);
54 byte[] data = new byte[(int)file.length()];
68 File file = new File(path);
69 FileInputStream fis = new FileInputStream(file);
70 byte[] data = new byte[(int)file.length()];
80 File file = new File(path);
81 FileInputStream fis = new FileInputStream(file);
82 byte[] data = new byte[(int)file.length()];
91 File file
[all...]
/system/core/logd/
H A DLogCommand.cpp5 * you may not use this file except in compliance with the License.
77 FILE *file = fopen(filename, "r"); local
78 if (!file) {
86 while (fgets(line, sizeof(line), file)) {
123 fclose(file);
/system/extras/tests/bionic/libstdc++/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
15 # Build control file for Bionic's test programs
30 $(foreach file,$(1), \
32 $(eval LOCAL_SRC_FILES := $(file)) \
33 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
45 $(foreach file,$(1), \
47 $(eval LOCAL_SRC_FILES := $(file)) \
48 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
/system/extras/cpustats/
H A Dcpustats.c187 FILE *file; local
191 file = fopen(filename, "r");
192 if (!file) die("Could not open %s\n", filename);
193 if (!fgets(line, MAX_BUF_SIZE, file)) die("Could not get %s contents\n", filename);
194 fclose(file);
204 die("Unexpected input in file %s (%s).\n", filename, line);
212 FILE *file; local
218 file = fopen(filename, "r");
219 if (!file) die("Could not open %s\n", filename);
222 fscanf(file, "
234 FILE *file; local
263 FILE *file; local
[all...]
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
H A Dgrep.h84 struct file { struct
93 char *file; member in struct:str
154 /* file.c */
155 void grep_close(struct file *f);
156 struct file *grep_open(const char *path);
157 char *grep_fgetln(struct file *f, size_t *len);
H A Dfile.c1 /* $NetBSD: file.c,v 1.7 2011/04/18 22:46:48 joerg Exp $ */
2 /* $FreeBSD: head/usr.bin/grep/file.c 211496 2010-08-19 09:28:59Z des $ */
3 /* $OpenBSD: file.c,v 1.11 2010/07/02 20:48:48 nicm Exp $ */
38 __RCSID("$NetBSD: file.c,v 1.7 2011/04/18 22:46:48 joerg Exp $");
78 grep_refill(struct file *f)
99 * plain file data, if it is not in the correct
102 * So, just restart at the beginning of the file again,
139 grep_fgetln(struct file *f, size_t *lenp)
201 static inline struct file *
202 grep_file_init(struct file *
[all...]

Completed in 684 milliseconds

1234