Searched refs:file (Results 76 - 94 of 94) sorted by relevance

1234

/system/media/audio_route/
H A Daudio_route.c6 * you may not use this file except in compliance with the License.
651 FILE *file; local
679 file = fopen(xml_path, "r");
681 if (!file) {
702 bytes_read = fread(buf, 1, BUF_SIZE, file);
722 fclose(file);
728 fclose(file);
/system/core/fastboot/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/system/core/sh/
H A Darith_lex.c102 /* Returned upon end-of-file. */
128 /* Special action meaning "start processing a new file". */
237 * just pointing yyin at a new input file.
281 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
289 static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
706 while ( 1 ) /* loops until end-of-file is reached */
929 /* We're scanning a new file or input source. It's
1052 * EOB_ACT_END_OF_FILE - end of file
1408 * @param file A readable stream.
1413 YY_BUFFER_STATE yy_create_buffer (FILE * file, in argument
[all...]
/system/extras/fatblock/
H A Dimport.c5 * you may not use this file except in compliance with the License.
98 struct file *f = NULL;
108 f = malloc(sizeof(struct file));
110 WARN("importing %s: couldn't allocate file struct: "
/system/vold/
H A DLoop.cpp5 * you may not use this file except in compliance with the License.
235 int Loop::createImageFile(const char *file, unsigned int numSectors) { argument
238 if ((fd = creat(file, 0600)) < 0) {
/system/core/toolbox/
H A Dgetevent.c267 FILE *file; local
279 file = fopen(filename, "r");
280 if (file) {
282 while (fgets(line, sizeof(line), file)) {
286 fclose(file);
/system/media/camera/docs/
H A Dmetadata_validate.py7 # you may not use this file except in compliance with the License.
274 file_name - a string path to an XML file we wish to validate
280 xml = file(file_name).read()
H A Dmetadata_template.mako6 you may not use this file except in compliance with the License.
H A Dmetadata_parser_xml.py7 # you may not use this file except in compliance with the License.
56 A class to parse any XML file that passes validation with metadata-validate.
70 file_name: path to an XML file that passes metadata-validate
73 ValueError: if the XML file failed to pass metadata_validate.py
78 raise ValueError("%s has an invalid XML file" %(file_name))
119 # add all entries, preserving the ordering of the XML file
251 template: path to a Mako template file
252 output_name: path to the output file, or None to use stdout
274 file(output_name, "w").write(tpl_data)
H A Dhtml.mako7 you may not use this file except in compliance with the License.
/system/core/libcorkscrew/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/system/core/fs_mgr/
H A Dfs_mgr.c5 * you may not use this file except in compliance with the License.
246 static char *fs_getline(char *buf, int size, FILE *file) argument
258 c = getc(file);
289 c = getc(file);
316 ERROR("Cannot open file %s\n", fstab_path);
369 * error and quit. This can happen in the unlikely case the file changes
/system/core/debuggerd/
H A Ddebuggerd.c6 ** you may not use this file except in compliance with the License.
60 write_string(const char* file, const char* string) argument
65 fd = open(file, O_RDWR);
288 * currently assume it does.) We write to the file descriptor to
509 " -b dump backtrace to console, otherwise dump full tombstone file\n"
/system/core/libutils/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/system/core/adb/
H A Dsysdeps_win32.c23 HANDLE file; local
27 file = CreateFile( fn,
35 if (file == INVALID_HANDLE_VALUE)
38 file_size = GetFileSize( file, NULL );
49 if ( !ReadFile( file, data, file_size, &out_bytes, NULL ) ||
59 CloseHandle( file );
68 /***** common file descriptor handling *****/
176 D( "_fh_alloc: no more free file descriptors\n" );
208 /***** file-based descriptor handling *****/
298 /***** file
[all...]
/system/core/libsparse/
H A Doutput_file.c5 * you may not use this file except in compliance with the License.
754 /* Write a contiguous region of data blocks from a file */
756 const char *file, int64_t offset)
760 int file_fd = open(file, O_RDONLY | O_BINARY);
755 write_file_chunk(struct output_file *out, unsigned int len, const char *file, int64_t offset) argument
/system/extras/ext4_utils/
H A Dext4.h27 #define EXT4_ERROR_FILE(file, fmt, a...) ext4_error_file(__func__, (file), (fmt), ## a);
/system/core/include/log/
H A Dlog.h5 * you may not use this file except in compliance with the License.
23 // The output will be correct when the log file is shared between multiple
52 * at the top of your source file) to change that behavior.
498 * The stuff in the rest of this file should not be used directly.
540 #define android_logToFile(tag, file) (0)
/system/core/sdcard/
H A Dsdcard.c5 * you may not use this file except in compliance with the License.
127 /* Permission mode for a specific node. Controls how file permissions
175 struct node *child; /* first contained file by this dir */
180 /* If non-null, this is the real name of the file in the underlying storage.
339 /* Finds the absolute path of a file within a given directory.
340 * Performs a case-insensitive search for the file and sets the buffer to the path
341 * of the first matching file. If 'search' is zero or if no match is found, sets
342 * the buffer to the path that the file would have, assuming the name were case-sensitive.
400 /* Filter requested mode based on underlying file, and
401 * pass through file typ
1609 FILE* file = fopen(kPackagesListFile, "r"); local
[all...]

Completed in 403 milliseconds

1234