Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 15387) sorted by relevance

12345678910>>...616

/external/elfutils/tests/
Drun-next-files.sh26 file[0] = "???"
27 file[1] = "/home/drepper/gnu/new-bu/build/ttt/m.c"
30 file[0] = "???"
31 file[1] = "/home/drepper/gnu/new-bu/build/ttt/b.c"
32 file[2] = "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h"
33 file[3] = "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h"
34 file[4] = "/usr/include/bits/types.h"
35 file[5] = "/usr/include/bits/sched.h"
36 file[6] = "/usr/include/bits/pthreadtypes.h"
37 file[7] = "/usr/include/stdio.h"
[all …]
Drun-get-files.sh26 file[0] = "???"
27 file[1] = "/home/drepper/gnu/new-bu/build/ttt/m.c"
30 file[0] = "???"
31 file[1] = "/home/drepper/gnu/new-bu/build/ttt/b.c"
32 file[2] = "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h"
33 file[3] = "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h"
34 file[4] = "/usr/include/bits/types.h"
35 file[5] = "/usr/include/bits/sched.h"
36 file[6] = "/usr/include/bits/pthreadtypes.h"
37 file[7] = "/usr/include/stdio.h"
[all …]
/external/autotest/client/profilers/powertop/src/
Dmisctips.c37 FILE *file; in set_laptop_mode() local
38 file = fopen("/proc/sys/vm/laptop_mode", "w"); in set_laptop_mode()
39 if (!file) in set_laptop_mode()
41 fprintf(file,"5\n"); in set_laptop_mode()
42 fclose(file); in set_laptop_mode()
47 FILE *file; in suggest_laptop_mode() local
56 file = fopen("/proc/acpi/ac_adapter/AC/state", "r"); in suggest_laptop_mode()
57 if (!file) in suggest_laptop_mode()
60 if (!fgets(buffer, 1023, file)) { in suggest_laptop_mode()
61 fclose(file); in suggest_laptop_mode()
[all …]
/external/fdlibm/
Dindex1 file fdlibm/fdlibm.h
3 file fdlibm/index
5 file fdlibm/e_acos.c
7 file fdlibm/e_acosh.c
9 file fdlibm/e_asin.c
11 file fdlibm/e_atan2.c
13 file fdlibm/e_atanh.c
15 file fdlibm/e_cosh.c
17 file fdlibm/e_exp.c
19 file fdlibm/e_fmod.c
[all …]
/external/e2fsprogs/lib/ext2fs/
Dfileio.c41 #define BMAP_BUFFER (file->buf + fs->blocksize)
47 ext2_file_t file; in ext2fs_file_open2() local
58 retval = ext2fs_get_mem(sizeof(struct ext2_file), &file); in ext2fs_file_open2()
62 memset(file, 0, sizeof(struct ext2_file)); in ext2fs_file_open2()
63 file->magic = EXT2_ET_MAGIC_EXT2_FILE; in ext2fs_file_open2()
64 file->fs = fs; in ext2fs_file_open2()
65 file->ino = ino; in ext2fs_file_open2()
66 file->flags = flags & EXT2_FILE_MASK; in ext2fs_file_open2()
69 memcpy(&file->inode, inode, sizeof(struct ext2_inode)); in ext2fs_file_open2()
71 retval = ext2fs_read_inode(fs, ino, &file->inode); in ext2fs_file_open2()
[all …]
/external/sonic/
Dwave.c30 waveFile file, in writeBytes() argument
36 if(file->failed) { in writeBytes()
39 bytesWritten = fwrite(bytes, sizeof(char), length, file->soundFile); in writeBytes()
42 file->failed = 1; in writeBytes()
44 file->bytesWritten += bytesWritten; in writeBytes()
49 waveFile file, in writeString() argument
52 writeBytes(file, string, strlen(string)); in writeString()
57 waveFile file, in writeInt() argument
67 writeBytes(file, bytes, 4); in writeInt()
72 waveFile file, in writeShort() argument
[all …]
/external/libopus/celt/dump_modes/
Ddump_modes.c52 void dump_modes(FILE *file, CELTMode **modes, int nb_modes) in dump_modes() argument
56 fprintf(file, "/* The contents of this file was automatically generated by dump_modes.c\n"); in dump_modes()
57 fprintf(file, " with arguments:"); in dump_modes()
61 fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts); in dump_modes()
63 fprintf(file, "\n It contains static definitions for some pre-defined modes. */\n"); in dump_modes()
64 fprintf(file, "#include \"modes.h\"\n"); in dump_modes()
65 fprintf(file, "#include \"rate.h\"\n"); in dump_modes()
66 fprintf(file, "\n#ifdef HAVE_ARM_NE10\n"); in dump_modes()
67 fprintf(file, "#define OVERRIDE_FFT 1\n"); in dump_modes()
68 fprintf(file, "#include \"%s\"\n", ARM_NE10_ARCH_FILE_NAME); in dump_modes()
[all …]
/external/crosvm/sys_util/src/
Dseek_hole.rs26 fn lseek(file: &mut File, offset: i64, whence: i32) -> Result<Option<u64>> { in lseek()
28 let res = unsafe { lseek64(file.as_raw_fd(), offset, whence) }; in lseek()
61 fn seek_cur(file: &mut File) -> u64 { in seek_cur()
62 file.seek(SeekFrom::Current(0)).unwrap() in seek_cur()
67 let mut file = tempfile().unwrap(); in seek_data() localVariable
70 assert_eq!(file.seek_data(0).unwrap(), None); in seek_data()
71 assert_eq!(seek_cur(&mut file), 0); in seek_data()
74 file.set_len(0x10000).unwrap(); in seek_data()
75 assert_eq!(file.seek_data(0).unwrap(), None); in seek_data()
76 assert_eq!(seek_cur(&mut file), 0); in seek_data()
[all …]
/external/igt-gpu-tools/assembler/
Dgen8_disasm.c267 string(FILE *file, const char *string) in string() argument
269 fputs(string, file); in string()
305 control(FILE *file, const char *name, const char *const ctrl[], in control() argument
309 fprintf(file, "*** invalid %s value %d ", name, id); in control()
315 string(file, " "); in control()
316 string(file, ctrl[id]); in control()
324 print_opcode(FILE *file, int id) in print_opcode() argument
327 format(file, "*** invalid opcode value %d ", id); in print_opcode()
330 string(file, m_opcode[id].name); in print_opcode()
335 reg(FILE *file, unsigned reg_file, unsigned _reg_nr) in reg() argument
[all …]
Dbrw_disasm.c397 static int string (FILE *file, const char *string) in string() argument
399 fputs (string, file); in string()
432 static int control (FILE *file, const char *name, const char * const ctrl[], in control() argument
436 fprintf (file, "*** invalid %s value %d ", in control()
443 string (file, " "); in control()
444 string (file, ctrl[id]); in control()
451 static int print_opcode (FILE *file, int id) in print_opcode() argument
454 format (file, "*** invalid opcode value %d ", id); in print_opcode()
457 string (file, opcode[id].name); in print_opcode()
461 static int reg (FILE *file, unsigned _reg_file, unsigned _reg_nr) in reg() argument
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor_database_unittest.cc87 virtual bool AddToDatabase(const FileDescriptorProto& file) = 0;
103 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() argument
104 return database_.Add(file); in AddToDatabase()
121 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() argument
123 file.SerializeToString(&data); in AddToDatabase()
142 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() argument
143 return pool_.BuildFile(file); in AddToDatabase()
186 FileDescriptorProto file; in TEST_P() local
187 EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); in TEST_P()
188 EXPECT_EQ("foo.proto", file.name()); in TEST_P()
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/release/
Drelease_notes.py181 def write_draft(langs_pr, file, version, date): argument
182 file.write(content_header.format(version=version, date=date))
183 file.write("PRs with missing release notes label - please fix in Github\n")
184 file.write("---\n")
185 file.write("\n")
188 file.write("\n".join(langs_pr["nolabel"]))
190 file.write("- None")
191 file.write("\n")
192 file.write("\n")
193 file.write("PRs with missing lang label - please fix in Github\n")
[all …]
/external/pigweed/pw_tokenizer/
Dgenerate_decoding_test_data.cc170 void TestCase(TestDataFile* file, in TestCase() argument
174 file->printf(R"(TestCase("%s", "%s", %s)", in TestCase()
177 file->fmt().binary_string_prefix); in TestCase()
180 file->printf("\\x%02x", byte); in TestCase()
183 file->printf("%s),\n", file->fmt().binary_string_suffix); in TestCase()
187 void TestCase(TestDataFile* file, in TestCase() argument
191 TestCase(file, in TestCase()
206 TestCase(file, \
216 void GenerateEncodedStrings(TestDataFile* file) { in GenerateEncodedStrings() argument
223 file->Section("Simple strings"); in GenerateEncodedStrings()
[all …]
/external/curl/docs/examples/
Dfopen.c71 FILE *file; member
84 int url_fclose(URL_FILE *file);
85 int url_feof(URL_FILE *file);
86 size_t url_fread(void *ptr, size_t size, size_t nmemb, URL_FILE *file);
87 char *url_fgets(char *ptr, size_t size, URL_FILE *file);
88 void url_rewind(URL_FILE *file);
128 static int fill_buffer(URL_FILE *file, size_t want) in fill_buffer() argument
140 if((!file->still_running) || (file->buffer_pos > want)) in fill_buffer()
203 curl_multi_perform(multi_handle, &file->still_running); in fill_buffer()
206 } while(file->still_running && (file->buffer_pos < want)); in fill_buffer()
[all …]
/external/kmod/libkmod/
Dlibkmod-file.c46 int (*load)(struct kmod_file *file);
47 void (*unload)(struct kmod_file *file);
70 static int zstd_read_block(struct kmod_file *file, size_t block_size, in zstd_read_block() argument
81 ERR(file->ctx, "zstd: %m\n"); in zstd_read_block()
87 rdret = read(file->fd, (void *)input->src, block_size); in zstd_read_block()
90 ERR(file->ctx, "zstd: %m\n"); in zstd_read_block()
117 static int zstd_decompress_block(struct kmod_file *file, ZSTD_DStream *dstr, in zstd_decompress_block() argument
129 ERR(file->ctx, "zstd: %s\n", strerror(-ret)); in zstd_decompress_block()
136 ERR(file->ctx, "zstd: %s\n", ZSTD_getErrorName(dsret)); in zstd_decompress_block()
148 static int load_zstd(struct kmod_file *file) in load_zstd() argument
[all …]
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DRegularFileTest.java148 public void tearDown(RegularFile file) { in tearDown() argument
151 file.deleted(); in tearDown()
155 file.deleted(); in tearDown()
176 protected RegularFile file; field in RegularFileTest.RegularFileTestRunner
190 file = configuration.createRegularFile(); in setUp()
195 configuration.tearDown(file); in tearDown()
199 file.write(0, buffer(fill)); in fillContent()
203 assertEquals(0, file.size()); in testEmpty()
204 assertContentEquals("", file); in testEmpty()
208 assertEquals(-1, file.read(0)); in testEmpty_read_singleByte()
[all …]
DAttributeServiceTest.java26 import java.nio.file.attribute.BasicFileAttributeView;
27 import java.nio.file.attribute.BasicFileAttributes;
28 import java.nio.file.attribute.FileTime;
29 import java.nio.file.attribute.PosixFileAttributeView;
30 import java.nio.file.attribute.PosixFileAttributes;
71 File file = Directory.create(0); in testSetInitialAttributes() local
72 service.setInitialAttributes(file); in testSetInitialAttributes()
74 assertThat(file.getAttributeNames("test")).containsExactly("bar", "baz"); in testSetInitialAttributes()
75 assertThat(file.getAttributeNames("owner")).containsExactly("owner"); in testSetInitialAttributes()
77 assertThat(service.getAttribute(file, "basic:lastModifiedTime")).isInstanceOf(FileTime.class); in testSetInitialAttributes()
[all …]
DRegularFileBlocksTest.java35 private RegularFile file; field in RegularFileBlocksTest
39 file = createFile(); in setUp()
48 assertThat(file.blockCount()).isEqualTo(0); in testInitialState()
51 assertThat(file.getBlock(0)).isNull(); in testInitialState()
56 file.addBlock(new byte[] {1}); in testAddAndGet()
58 assertThat(file.blockCount()).isEqualTo(1); in testAddAndGet()
59 assertThat(Bytes.asList(file.getBlock(0))).isEqualTo(Bytes.asList(new byte[] {1})); in testAddAndGet()
60 assertThat(file.getBlock(1)).isNull(); in testAddAndGet()
62 file.addBlock(new byte[] {1, 2}); in testAddAndGet()
64 assertThat(file.blockCount()).isEqualTo(2); in testAddAndGet()
[all …]
/external/linux-kselftest/tools/testing/selftests/efivarfs/
Defivarfs.sh56 local file=$efivarfs_mount/$FUNCNAME-$test_guid
58 printf "$attrs\x00" > $file
60 if [ ! -e $file ]; then
61 echo "$file couldn't be created" >&2
65 if [ $(stat -c %s $file) -ne 5 ]; then
66 echo "$file has invalid size" >&2
67 file_cleanup $file
70 file_cleanup $file
75 local file=$efivarfs_mount/$FUNCNAME-$test_guid
77 : > $file
[all …]
/external/libpng/contrib/tools/
Dpngfix.c832 struct file struct
860 FILE * file; /* Original PNG file */ argument
901 void (*alloc)(struct file*,int idat); argument
948 emit_error(struct file *file, int code, const char *what) in emit_error() argument
963 err = file->read_errno; in emit_error()
966 err = file->write_errno; in emit_error()
969 err = file->read_errno; in emit_error()
971 err = file->write_errno; in emit_error()
977 fprintf(stderr, "%s: %s %s [%s]\n", file->file_name, reason, what, in emit_error()
981 fprintf(stderr, "%s: %s %s\n", file->file_name, reason, what); in emit_error()
[all …]
/external/OpenCSD/decoder/tests/snapshots-ete/001-ack_test/
Dcpu_0.ini14 file=bindir/code_91_0_exec key
19 file=bindir/code_107_0_exec key
24 file=bindir/OTHERS_exec key
29 file=bindir/code_42_0_exec key
34 file=bindir/code_18_0_exec key
39 file=bindir/code_83_0_exec key
44 file=bindir/code_92_0_exec key
49 file=bindir/code_113_0_exec key
54 file=bindir/code_38_0_exec key
59 file=bindir/code_123_0_exec key
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_disasm.c615 string(FILE *file, const char *string) in string() argument
617 fputs(string, file); in string()
656 control(FILE *file, const char *name, const char *const ctrl[], in control() argument
660 fprintf(file, "*** invalid %s value %d ", name, id); in control()
665 string(file, " "); in control()
666 string(file, ctrl[id]); in control()
674 print_opcode(FILE *file, const struct gen_device_info *devinfo, in print_opcode() argument
679 format(file, "*** invalid opcode value %d ", id); in print_opcode()
682 string(file, desc->name); in print_opcode()
687 reg(FILE *file, unsigned _reg_file, unsigned _reg_nr) in reg() argument
[all …]
/external/sonivox/arm-wt-22k/misc/
Deas_host.c233 EAS_HW_FILE *file; in EAS_HWOpenFile() local
244 file = hwInstData->files; in EAS_HWOpenFile()
248 if (file->pFile == NULL) in EAS_HWOpenFile()
252 file->pFile = fopen((const char*) locator->path, "rb"); in EAS_HWOpenFile()
253 if (file->pFile == NULL) in EAS_HWOpenFile()
261 file->bytesInBuffer = 0; in EAS_HWOpenFile()
262 file->readIndex = 0; in EAS_HWOpenFile()
263 file->filePos = 0; in EAS_HWOpenFile()
264 file->dup = EAS_FALSE; in EAS_HWOpenFile()
266 *pFile = file; in EAS_HWOpenFile()
[all …]
/external/curl/lib/
Dchecksrc.pl35 my $file;
139 my ($name, $num, $col, $file, $line, $msg, $error) = @_;
159 enable_warn($name, $num, $file, $line);
182 print "$file:$num:$col: $w: $msg ($name)\n";
191 $file = shift @ARGV;
193 while(defined $file) {
195 if($file =~ /-D(.*)/) {
197 $file = shift @ARGV;
200 elsif($file =~ /-W(.*)/) {
202 $file = shift @ARGV;
[all …]
/external/clang/tools/scan-build-py/tests/functional/exec/
Dmain.c61 void expected_out(const char *file) { in expected_out() argument
69 fprintf(fd, " \"command\": \"cc -c %s\",\n", file); in expected_out()
70 fprintf(fd, " \"file\": \"%s/%s\"\n", cwd, file); in expected_out()
74 void create_source(char *file) { in create_source() argument
75 FILE *fd = fopen(file, "w"); in create_source()
115 char *const file = "execv.c"; in call_execv() local
117 char *const argv[] = {"cc", "-c", file, 0}; in call_execv()
119 expected_out(file); in call_execv()
120 create_source(file); in call_execv()
128 char *const file = "execve.c"; in call_execve() local
[all …]

12345678910>>...616