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

1234

/system/media/wilhelm/src/
H A Dassert.c5 * you may not use this file except in compliance with the License.
22 void __assert(const char *file, int line, const char *failedexpr) argument
24 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d", failedexpr, file, line);
28 void __assert2(const char *file, int line, const char *func, const char *failedexpr) argument
30 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"",
31 failedexpr, file, line, func);
H A Dlocks.c5 * you may not use this file except in compliance with the License.
34 void object_lock_exclusive_(IObject *thiz, const char *file, int line) argument
54 SL_LOGE("%s:%d: recursive lock detected", file, line);
57 SL_LOGE("%s:%d: pthread_mutex_lock_timeout_np returned %d", file, line, ok);
74 " (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz,
94 " %p (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz,
98 " state by pthread %p (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(),
104 thiz->mFile = file;
122 void object_unlock_exclusive_(IObject *thiz, const char *file, int line) argument
128 thiz->mFile = file;
149 object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, const char *file, int line) argument
275 object_cond_wait_(IObject *thiz, const char *file, int line) argument
[all...]
H A Dlocks.h5 * you may not use this file except in compliance with the License.
17 /** \file locks.h Mutual exclusion and condition variables */
20 extern void object_lock_exclusive_(IObject *thiz, const char *file, int line);
21 extern void object_unlock_exclusive_(IObject *thiz, const char *file, int line);
23 const char *file, int line);
24 extern void object_cond_wait_(IObject *thiz, const char *file, int line);
/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...]
H A Dprivate.h39 int read_central_dir(Zipfile* file);
/system/core/toolbox/
H A Dtouch.c11 fprintf(stderr, "touch: usage: touch [-alm] [-t time_t] <file>\n");
19 char *file = 0; local
52 file = argv[i];
56 if (! file) {
57 fprintf(stderr, "touch: no file specified\n");
61 if (access(file, F_OK))
62 if ((fd=creat(file, 0666)) != -1)
79 fprintf(stderr, "file = %s\n", file);
85 return utimensat(AT_FDCWD, file, time
[all...]
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 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/core/rootdir/
H A DAndroid.mk21 # to run the dex pre-optimization *in* the emulator. So keep the file until
40 file := $(TARGET_ROOT_OUT)/init.rc macro
41 $(file) : $(LOCAL_PATH)/init.rc | $(ACP)
43 ALL_PREBUILT += $(file)
44 $(INSTALLED_RAMDISK_TARGET): $(file)
47 file := $(TARGET_ROOT_OUT)/ueventd.rc macro
48 $(file) : $(LOCAL_PATH)/ueventd.rc | $(ACP)
50 ALL_PREBUILT += $(file)
51 $(INSTALLED_RAMDISK_TARGET): $(file)
56 file macro
62 file := $(TARGET_ROOT_OUT)/ueventd.goldfish.rc macro
[all...]
/system/core/fastboot/
H A Dutil_windows.c53 HANDLE file; local
57 file = CreateFile( fn,
65 if (file == INVALID_HANDLE_VALUE)
68 file_size = GetFileSize( file, NULL );
79 if ( !ReadFile( file, data, file_size, &out_bytes, NULL ) ||
89 CloseHandle( file );
/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/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/bluetooth/data/
H A Dblacklist.conf1 // Do NOT change this file format without updating the parsing logic in
2 // the modules that use this file (listed below):
/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/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/media/wilhelm/tests/
H A DAndroid.mk26 $(foreach file,$(test_src_files), \
31 $(eval LOCAL_SRC_FILES := $(file)) \
/system/vold/
H A DLoop.h5 * you may not use this file except in compliance with the License.
33 static int createImageFile(const char *file, unsigned int numSectors);
/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 1079 milliseconds

1234