Searched refs:file (Results 1 - 25 of 94) 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'" />
/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/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.c6 ** you may not use this file except in compliance with the License.
31 FILE* file; local
37 file = fopen("proc/cpuinfo", "r");
38 if (! file)
41 while ((chp = fgets(serial_number, sizeof(serial_number), file)) != NULL)
79 fclose(file);
/system/core/sh/
H A Doutput.h76 #define outc(c, file) (--(file)->nleft < 0? (emptyoutbuf(file), *(file)->nextc++ = (c)) : (*(file)->nextc++ = (c)))
/system/core/libzipfile/
H A Dcentraldir.c17 // local file header
34 read_central_dir_values(Zipfile* file, const unsigned char* buf, int len) argument
37 // looks like ZIP file got truncated
43 file->disknum = read_le_short(&buf[0x04]);
44 file->diskWithCentralDir = read_le_short(&buf[0x06]);
45 file->entryCount = read_le_short(&buf[0x08]);
46 file->totalEntryCount = read_le_short(&buf[0x0a]);
47 file->centralDirSize = read_le_int(&buf[0x0c]);
48 file->centralDirOffest = read_le_int(&buf[0x10]);
49 file
64 read_central_directory_entry(Zipfile* file, Zipentry* entry, const unsigned char** buf, ssize_t* len) argument
181 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
132 dump_zipfile(FILE* to, zipfile_t file) argument
148 iterate_zipfile(zipfile_t file, void** cookie) argument
[all...]
/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/extras/fatblock/
H A Dfatblock.c5 * you may not use this file except in compliance with the License.
83 FILE *file; local
85 sprintf(filename, "/sys/devices/platform/usb_mass_storage/lun%d/file",
87 file = fopen(filename, "w");
88 if (!file) {
89 WARN("setting USB mass storage file: fopen(%s) failed: %s\n",
96 fprintf(file, "/dev/block/ublock%d", index);
98 fclose(file);
106 FILE *file; local
108 sprintf(filename, "/sys/devices/platform/usb_mass_storage/lun%d/file",
[all...]
/system/core/toolbox/
H A Duptime.c81 FILE* file = fopen("/proc/uptime", "r"); local
82 if (!file) {
86 if (fscanf(file, "%*f %f", &idle_time) != 1) {
88 fclose(file);
91 fclose(file);
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.c20 /* 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);
/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/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
H A Dadb_auth_host.c5 * you may not use this file except in compliance with the License.
174 static int generate_key(const char *file) argument
183 D("generate_key '%s'\n", file);
196 f = fopen(file, "w");
198 D("Failed to open '%s'\n", file);
210 if (!write_public_keyfile(rsa, file)) {
226 static int read_key(const char *file, struct listnode *list) argument
231 D("read_key '%s'\n", file);
233 f = fopen(file, "r");
235 D("Failed to open '%s'\n", file);
384 char *file; local
[all...]
/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/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);
/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/grep/
H A Dgrep.h88 struct file { struct
97 char *file; member in struct:str
158 /* file.c */
159 void grep_close(struct file *f);
160 struct file *grep_open(const char *path);
161 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...]
/system/core/include/ctest/
H A Dctest.h5 * you may not use this file except in compliance with the License.
64 void assertTrueWithSource(int value, const char* file, int line, char* message);

Completed in 501 milliseconds

1234