/external/autotest/client/profilers/powertop/src/ |
D | misctips.c | 37 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/e2fsprogs/lib/ext2fs/ |
D | fileio.c | 35 #define BMAP_BUFFER (file->buf + fs->blocksize) 41 ext2_file_t file; in ext2fs_file_open2() local 52 retval = ext2fs_get_mem(sizeof(struct ext2_file), &file); in ext2fs_file_open2() 56 memset(file, 0, sizeof(struct ext2_file)); in ext2fs_file_open2() 57 file->magic = EXT2_ET_MAGIC_EXT2_FILE; in ext2fs_file_open2() 58 file->fs = fs; in ext2fs_file_open2() 59 file->ino = ino; in ext2fs_file_open2() 60 file->flags = flags & EXT2_FILE_MASK; in ext2fs_file_open2() 63 memcpy(&file->inode, inode, sizeof(struct ext2_inode)); in ext2fs_file_open2() 65 retval = ext2fs_read_inode(fs, ino, &file->inode); in ext2fs_file_open2() [all …]
|
/external/fdlibm/ |
D | index | 1 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/sonic/ |
D | wave.c | 30 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/toybox/tests/ |
D | chmod.test | 24 touch file 33 if [ "$type" == file ] 39 type=file 50 rm -rf dir file && mkdir dir && touch file 55 rm -rf dir file && mkdir dir && touch file 60 rm -rf dir file && mkdir dir && touch file 65 rm -rf dir file && mkdir dir && touch file 69 rm -rf dir file && mkdir dir && touch file 73 rm -rf dir file && mkdir dir && touch file 77 rm -rf dir file && mkdir dir && touch file [all …]
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_database_unittest.cc | 92 virtual bool AddToDatabase(const FileDescriptorProto& file) = 0; 110 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() argument 111 return database_.Add(file); in AddToDatabase() 130 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() argument 132 file.SerializeToString(&data); in AddToDatabase() 153 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() argument 154 return pool_.BuildFile(file); in AddToDatabase() 197 FileDescriptorProto file; in TEST_P() local 198 EXPECT_TRUE(database_->FindFileByName("foo.proto", &file)); in TEST_P() 199 EXPECT_EQ("foo.proto", file.name()); in TEST_P() [all …]
|
/external/libopus/celt/dump_modes/ |
D | dump_modes.c | 52 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/kmod/libkmod/ |
D | libkmod-file.c | 43 int (*load)(struct kmod_file *file); 44 void (*unload)(struct kmod_file *file); 64 static void xz_uncompress_belch(struct kmod_file *file, lzma_ret ret) in xz_uncompress_belch() argument 68 ERR(file->ctx, "xz: %s\n", strerror(ENOMEM)); in xz_uncompress_belch() 71 ERR(file->ctx, "xz: File format not recognized\n"); in xz_uncompress_belch() 74 ERR(file->ctx, "xz: Unsupported compression options\n"); in xz_uncompress_belch() 77 ERR(file->ctx, "xz: File is corrupt\n"); in xz_uncompress_belch() 80 ERR(file->ctx, "xz: Unexpected end of input\n"); in xz_uncompress_belch() 83 ERR(file->ctx, "xz: Internal error (bug)\n"); in xz_uncompress_belch() 88 static int xz_uncompress(lzma_stream *strm, struct kmod_file *file) in xz_uncompress() argument [all …]
|
/external/linux-kselftest/tools/testing/selftests/efivarfs/ |
D | efivarfs.sh | 46 local file=$efivarfs_mount/$FUNCNAME-$test_guid 48 printf "$attrs\x00" > $file 50 if [ ! -e $file ]; then 51 echo "$file couldn't be created" >&2 55 if [ $(stat -c %s $file) -ne 5 ]; then 56 echo "$file has invalid size" >&2 63 local file=$efivarfs_mount/$FUNCNAME-$test_guid 65 : > $file 67 if [ ! -e $file ]; then 68 echo "$file can not be created without writing" >&2 [all …]
|
/external/curl/docs/examples/ |
D | fopen.c | 71 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/syslinux/gpxe/src/core/ |
D | posix_io.c | 71 struct posix_file *file = in posix_file_free() local 76 list_for_each_entry_safe ( iobuf, tmp, &file->data, list ) { in posix_file_free() 80 free ( file ); in posix_file_free() 89 static void posix_file_finished ( struct posix_file *file, int rc ) { in posix_file_finished() argument 90 xfer_nullify ( &file->xfer ); in posix_file_finished() 91 xfer_close ( &file->xfer, rc ); in posix_file_finished() 92 file->rc = rc; in posix_file_finished() 102 struct posix_file *file = in posix_file_xfer_close() local 105 posix_file_finished ( file, rc ); in posix_file_xfer_close() 120 struct posix_file *file = in posix_file_xfer_deliver_iob() local [all …]
|
/external/libpng/contrib/tools/ |
D | pngfix.c | 833 struct file struct 861 FILE * file; /* Original PNG file */ argument 902 void (*alloc)(struct file*,int idat); argument 949 emit_error(struct file *file, int code, const char *what) in emit_error() argument 964 err = file->read_errno; in emit_error() 967 err = file->write_errno; in emit_error() 970 err = file->read_errno; in emit_error() 972 err = file->write_errno; in emit_error() 978 fprintf(stderr, "%s: %s %s [%s]\n", file->file_name, reason, what, in emit_error() 982 fprintf(stderr, "%s: %s %s\n", file->file_name, reason, what); in emit_error() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_disasm.c | 414 static int string (FILE *file, char *string) in string() argument 416 fputs (string, file); in string() 448 static int control (FILE *file, char *name, char *ctrl[], GLuint id, int *space) in control() argument 451 fprintf (file, "*** invalid %s value %d ", in control() 458 string (file, " "); in control() 459 string (file, ctrl[id]); in control() 466 static int print_opcode (FILE *file, int id) in print_opcode() argument 469 format (file, "*** invalid opcode value %d ", id); in print_opcode() 472 string (file, opcode[id].name); in print_opcode() 476 static int reg (FILE *file, GLuint _reg_file, GLuint _reg_nr) in reg() argument [all …]
|
/external/sonivox/arm-wt-22k/misc/ |
D | eas_host.c | 233 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/elfutils/tests/ |
D | run-get-files.sh | 26 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/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/ |
D | EASLibVst.c | 499 EAS_HW_FILE *file; in EAS_HWOpenFile() local 510 file = hwInstData->files; in EAS_HWOpenFile() 514 if (file->pFile == NULL) in EAS_HWOpenFile() 519 file->pFile = fopen((const char*) locator, "rb"); in EAS_HWOpenFile() 520 if (file->pFile == NULL) in EAS_HWOpenFile() 524 if ((result = EAS_HWFileLength(hwInstData, file, &file->fileSize)) != EAS_SUCCESS) in EAS_HWOpenFile() 526 EAS_HWCloseFile(hwInstData, file); in EAS_HWOpenFile() 535 file->bytesInBuffer = 0; in EAS_HWOpenFile() 536 file->readIndex = 0; in EAS_HWOpenFile() 537 file->filePos = 0; in EAS_HWOpenFile() [all …]
|
/external/clang/tools/scan-build-py/tests/functional/exec/ |
D | main.c | 61 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 …]
|
/external/skia/debugger/QT/ |
D | SkIcons.qrc | 3 <file>Icons/package-br32.png</file> 4 <file>Icons/drawer-open-icon.png</file> 5 <file>Icons/rewind.png</file> 6 <file>Icons/back.png</file> 7 <file>Icons/go-next.png</file> 8 <file>Icons/play.png</file> 9 <file>Icons/breakpoint.png</file> 10 <file>Icons/breakpoint_16x16.png</file> 11 <file>Icons/inspector.png</file> 12 <file>Icons/reset.png</file> [all …]
|
/external/ltp/include/ |
D | safe_macros_fn.h | 27 char* safe_basename(const char *file, const int lineno, 30 int safe_chdir(const char *file, const int lineno, 33 int safe_close(const char *file, const int lineno, 36 int safe_creat(const char *file, const int lineno, 39 char* safe_dirname(const char *file, const int lineno, 42 char* safe_getcwd(const char *file, const int lineno, 45 struct passwd* safe_getpwnam(const char *file, const int lineno, 48 int safe_getrusage(const char *file, const int lineno, 51 void* safe_malloc(const char *file, const int lineno, 54 int safe_mkdir(const char *file, const int lineno, [all …]
|
/external/ImageMagick/coders/ |
D | json.c | 172 static void JsonFormatLocaleFile(FILE *file,const char *format,const char *value) in JsonFormatLocaleFile() argument 189 (void) FormatLocaleFile(file,format,"null"); in JsonFormatLocaleFile() 221 (void) FormatLocaleFile(file,format,"null"); in JsonFormatLocaleFile() 265 (void) FormatLocaleFile(file,format,escaped_json); in JsonFormatLocaleFile() 358 static ssize_t PrintChannelFeatures(FILE *file,const PixelChannel channel, in PrintChannelFeatures() argument 472 n=FormatLocaleFile(file,FeaturesFormat,name, in PrintChannelFeatures() 487 (void) FormatLocaleFile(file," }"); in PrintChannelFeatures() 489 (void) FormatLocaleFile(file,","); in PrintChannelFeatures() 490 (void) FormatLocaleFile(file,"\n"); in PrintChannelFeatures() 494 static ssize_t PrintChannelLocations(FILE *file,const Image *image, in PrintChannelLocations() argument [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | pr17168.ll | 57 … version 3.4 (trunk 190311)", isOptimized: true, emissionKind: FullDebug, file: !1, enums: !2, ret… 60 …: 6, flags: DIFlagPrototyped, isOptimized: true, unit: !0, scopeLine: 74, file: !1, scope: !5, typ… 69 !13 = !DILocalVariable(name: "argc", line: 74, arg: 1, scope: !4, file: !5, type: !8) 70 !14 = !DILocalVariable(name: "argv", line: 74, arg: 2, scope: !4, file: !5, type: !9) 71 !15 = !DILocalVariable(name: "niter", line: 76, scope: !4, file: !5, type: !8) 72 !16 = !DILocalVariable(name: "step", line: 76, scope: !4, file: !5, type: !8) 73 !17 = !DILocalVariable(name: "n3", line: 76, scope: !4, file: !5, type: !8) 74 !18 = !DILocalVariable(name: "nthreads", line: 77, scope: !4, file: !5, type: !8) 75 !19 = !DILocalVariable(name: "navg", line: 78, scope: !4, file: !5, type: !20) 77 !21 = !DILocalVariable(name: "mflops", line: 78, scope: !4, file: !5, type: !20) [all …]
|
/external/libchrome/base/files/ |
D | file_unittest.cc | 27 File file; in TEST() local 28 EXPECT_FALSE(file.IsValid()); in TEST() 29 EXPECT_EQ(base::File::FILE_ERROR_FAILED, file.error_details()); in TEST() 38 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST() local 39 EXPECT_FALSE(file.IsValid()); in TEST() 40 EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, file.error_details()); in TEST() 45 File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ); in TEST() local 46 EXPECT_TRUE(file.IsValid()); in TEST() 47 EXPECT_TRUE(file.created()); in TEST() 48 EXPECT_EQ(base::File::FILE_OK, file.error_details()); in TEST() [all …]
|
/external/curl/lib/ |
D | checksrc.pl | 30 my $file; 72 my ($name, $num, $col, $file, $line, $msg, $error) = @_; 92 enable_warn($name, $line, $file, $l); 115 print "$file:$num:$col: $w: $msg ($name)\n"; 124 $file = shift @ARGV; 128 if($file =~ /-D(.*)/) { 130 $file = shift @ARGV; 133 elsif($file =~ /-W(.*)/) { 135 $file = shift @ARGV; 138 elsif($file =~ /^(-h|--help)/) { [all …]
|
/external/ltp/lib/ |
D | safe_macros.c | 20 char *safe_basename(const char *file, const int lineno, in safe_basename() argument 29 file, lineno, path); in safe_basename() 36 safe_chdir(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_chdir() argument 45 file, lineno, path); in safe_chdir() 52 safe_close(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_close() argument 61 file, lineno, fildes); in safe_close() 68 safe_creat(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_creat() argument 77 file, lineno, pathname, mode); in safe_creat() 83 char *safe_dirname(const char *file, const int lineno, in safe_dirname() argument 92 file, lineno, path); in safe_dirname() [all …]
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
D | InjectConstructorFactoryGeneratorTest.java | 76 JavaFileObject file = JavaFileObjects.forSourceLines("test.PrivateConstructor", in injectOnPrivateConstructor() local 84 assertAbout(javaSource()).that(file) in injectOnPrivateConstructor() 87 .withErrorContaining(INJECT_ON_PRIVATE_CONSTRUCTOR).in(file).onLine(6); in injectOnPrivateConstructor() 91 JavaFileObject file = JavaFileObjects.forSourceLines("test.OuterClass", in injectConstructorOnInnerClass() local 101 assertAbout(javaSource()).that(file) in injectConstructorOnInnerClass() 104 .withErrorContaining(INJECT_CONSTRUCTOR_ON_INNER_CLASS).in(file).onLine(7); in injectConstructorOnInnerClass() 108 JavaFileObject file = JavaFileObjects.forSourceLines("test.AbstractClass", in injectConstructorOnAbstractClass() local 116 assertAbout(javaSource()).that(file) in injectConstructorOnAbstractClass() 119 .withErrorContaining(INJECT_CONSTRUCTOR_ON_ABSTRACT_CLASS).in(file).onLine(6); in injectConstructorOnAbstractClass() 123 JavaFileObject file = JavaFileObjects.forSourceLines("test.GenericClass", in injectConstructorOnGenericClass() local [all …]
|