/external/llvm/tools/llvm-size/ |
llvm-size.cpp | 5 // This file is distributed under the University of Illinois Open Source 74 outs() << ToolName << ": error reading file: " << ec.message() << ".\n"; 234 /// @brief Print the section sizes for @p file. If @p file is an archive, print 236 static void PrintFileSectionSizes(StringRef file) { 237 // If file is not stdin, check that it exists. 238 if (file != "-") { 240 if (sys::fs::exists(file, exists) || !exists) { 241 errs() << ToolName << ": '" << file << "': " << "No such file\n" local 278 errs() << ToolName << ": " << file << ": " << "Unrecognized file type.\\n"; local [all...] |
/external/llvm/utils/unittest/googletest/ |
gtest-filepath.cc | 68 // noted, a file path can contain either kind of path separators, or a mixture 113 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 114 // FilePath("dir/file"). If a case-insensitive extension is not 141 // Example: FilePath("path/to/file").RemoveDirectoryName() returns 142 // FilePath("file"). If there is no directory part ("just_a_file"), it returns 143 // the FilePath unmodified. If there is no file part ("just_a_dir/") it 152 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". 155 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 178 String file; local 180 file = String::Format("%s.%s", base_name.c_str(), extension) [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-death-test-internal.h | 34 // This header file defines internal utilities needed for implementing 80 const char* file, int line, DeathTest** test); 144 const char* file, int line, DeathTest** test) = 0; 151 const char* file, int line, DeathTest** test); 235 String file() const { return file_; } function in class:testing::internal::InternalRunDeathTestFlag
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug_memory.c | 29 * @file 57 const char *file; member in struct:debug_memory_header 110 debug_malloc(const char *file, unsigned line, const char *function, 119 file, line, function, 125 hdr->file = file; 146 debug_free(const char *file, unsigned line, const char *function, 158 file, line, function, 167 hdr->file, hdr->line, hdr->function, 182 debug_calloc(const char *file, unsigned line, const char *function [all...] |
/external/mesa3d/src/gallium/winsys/i915/drm/ |
i915_drm_batchbuffer.c | 191 FILE *file = fopen(i915_drm_winsys(ibatch->iws)->dump_raw_file, "a"); local 192 if (file) { 193 fwrite(batch->base.map, used, 1, file); 194 fclose(file);
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 34 // This header file defines internal utilities needed for implementing 80 const char* file, int line, DeathTest** test); 144 const char* file, int line, DeathTest** test) = 0; 151 const char* file, int line, DeathTest** test); 237 String file() const { return file_; } function in class:testing::internal::InternalRunDeathTestFlag
|
/external/open-vcdiff/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 34 // This header file defines internal utilities needed for implementing 78 const char* file, int line, DeathTest** test); 138 const char* file, int line, DeathTest** test) = 0; 145 const char* file, int line, DeathTest** test); 192 InternalRunDeathTestFlag(const String& file, 196 : file_(file), line_(line), index_(index), write_fd_(write_fd) {} 203 String file() const { return file_; } function in class:testing::internal::InternalRunDeathTestFlag
|
/external/open-vcdiff/gtest/src/ |
gtest-filepath.cc | 100 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 101 // FilePath("dir/file"). If a case-insensitive extension is not 112 // Example: FilePath("path/to/file").RemoveDirectoryName() returns 113 // FilePath("file"). If there is no directory part ("just_a_file"), it returns 114 // the FilePath unmodified. If there is no file part ("just_a_dir/") it 123 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". 126 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 149 String file; local 151 file = String::Format("%s.%s", base_name.c_str(), extension); 153 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension) [all...] |
/external/opencv/cxcore/src/ |
cxerror.cpp | 52 const char* file; member in struct:__anon24015 151 const char *file, int line, void* ) 160 file != NULL ? file : "", line ); 174 const char *file, int line, void* ) 177 return cvStdErrReport( code, func_name, err_msg, file, line, 0 ); 190 func_name, file, line ); 208 const char* /*err_msg*/, const char* /*file*/, int /*line*/, void* ) 261 *filename = ctx->err_ctx.file; 349 context->err_ctx.file = file_name [all...] |
/external/openssh/ |
auth-rsa.c | 7 * based on RSA authentication. This file also contains functions to check 13 * incompatible with the protocol description in the RFC file, it must be 61 * The .ssh/authorized_keys file contains public keys, one per line, in the 164 rsa_key_allowed_in_file(struct passwd *pw, char *file, 170 FILE *f; 174 debug("trying public RSA key file %s", file); 175 if ((f = auth_openkeyfile(file, pw, options.strict_modes)) == NULL) 184 while (read_keyfile_line(f, file, line, sizeof(line), &linenum) != -1) { 216 file, linenum) 273 char *file; local [all...] |
auth2-pubkey.c | 201 match_principals_file(char *file, struct passwd *pw, struct KeyCert *cert) 203 FILE *f; 209 debug("trying authorized principals file %s", file); 210 if ((f = auth_openprincipals(file, pw, options.strict_modes)) == NULL) { 214 while (read_keyfile_line(f, file, line, sizeof(line), &linenum) != -1) { 241 debug3("matched principal from file \"%.100s\"", 244 file, linenum) != 1) 259 user_key_allowed2(struct passwd *pw, Key *key, char *file) 264 FILE *f 440 char *file; local [all...] |
/external/ppp/pppd/plugins/pppoatm/ |
ans.c | 198 FILE *file; local 209 if (!(file = fopen(E164_CC_FILE,"r"))) 212 while (fgets(buffer,MAX_LINE,file)) { 221 fclose(file);
|
/external/protobuf/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 34 // This header file defines internal utilities needed for implementing 78 const char* file, int line, DeathTest** test); 138 const char* file, int line, DeathTest** test) = 0; 145 const char* file, int line, DeathTest** test); 192 InternalRunDeathTestFlag(const String& file, 196 : file_(file), line_(line), index_(index), write_fd_(write_fd) {} 203 String file() const { return file_; } function in class:testing::internal::InternalRunDeathTestFlag
|
/external/protobuf/gtest/src/ |
gtest-filepath.cc | 100 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 101 // FilePath("dir/file"). If a case-insensitive extension is not 112 // Example: FilePath("path/to/file").RemoveDirectoryName() returns 113 // FilePath("file"). If there is no directory part ("just_a_file"), it returns 114 // the FilePath unmodified. If there is no file part ("just_a_dir/") it 123 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". 126 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 149 String file; local 151 file = String::Format("%s.%s", base_name.c_str(), extension); 153 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension) [all...] |
/external/protobuf/src/google/protobuf/ |
extension_set_unittest.cc | 491 unittest::TestAllExtensions::descriptor()->file()->name()); 525 // Now build the file, using the generated pool as an underlay. 527 const FileDescriptor* file = dynamic_pool.BuildFile(dynamic_proto); local 528 ASSERT_TRUE(file != NULL); 613 file->FindExtensionByName("message_extension"); 627 file->FindExtensionByName("dynamic_message_extension");
|
/external/qemu/android/avd/ |
util.c | 78 /* Return the path to the AVD's root configuration .ini file. it is located in 81 * This file contains the path to the AVD's content directory, which 164 APANIC("Could not open AVD config file: %s\n", temp); 182 * file. This is a text file that contains definitions of the format: 191 FILE* file; local 196 file = fopen(propFile, "rb"); 197 if (file == NULL) { 198 D("Could not open file: %s: %s", propFile, strerror(errno)) [all...] |
/external/qemu/android/utils/ |
filelock.c | 41 /** FILE LOCKS SUPPORT 44 ** writable file (e.g. the userdata.img disk images). 47 ** only if the corresponding file path could not be locked. 49 ** all file locks are automatically released and destroyed when the program exits. 50 ** the filelock_lock() function can also detect stale file locks that can linger 54 ** file - the data file accessed by the emulator 55 ** lock - a lock file (file + '.lock') 56 ** temp - a temporary file make unique with mkstem 75 const char* file; member in struct:FileLock [all...] |
/external/qemu/ |
buffered_file.c | 10 * the COPYING file in the top-level directory. 29 QEMUFile *file; member in struct:QEMUFileBuffered 42 do { printf("buffered-file: " fmt, ## __VA_ARGS__); } while (0) 61 fprintf(stderr, "qemu file buffer expansion failed\n"); 159 DPRINTF("file is ready\n"); 271 s->file = qemu_fopen_ops(s, buffered_put_buffer, NULL, 280 return s->file;
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/ |
SDL_syscdrom.c | 77 /* Find a file for a given start frame and length */ 112 /* Setup another file for playback, or stop playback (called from another thread) */ 120 /* Load the next file to play */ 122 FSRef *file; local 127 file = GetFileForOffset (cdrom, nextTrackFrame, 130 if (file == NULL) { 136 LoadFile (file, startFrame, stopFrame); 144 /* Release the current file */ 371 SDL_SetError ("SDL_SYS_CDPlay: No file for start=%d, length=%d", start, length);
|
/external/skia/src/effects/ |
SkEmbossMask.cpp | 6 * found in the LICENSE file. 55 FILE* file = ::fopen("SkEmbossMask_Table.h", "w"); local 56 SkASSERT(file); 57 ::fprintf(file, "#include \"SkTypes.h\"\n\n"); 58 ::fprintf(file, "static const U16 gInvSqrtTable[128 * 128] = {\n"); 62 ::fprintf(file, "\t"); 66 ::fprintf(file, "0x%04X", value); 68 ::fprintf(file, ", "); 71 ::fprintf(file, "\n") [all...] |
/external/skia/tests/ |
DataRefTest.cpp | 5 * found in the LICENSE file. 190 msg.printf("Failed to create tmp file %s\n", path.c_str()); 197 SkFILE* file = sk_fopen(path.c_str(), kRead_SkFILE_Flag); local 198 SkAutoTUnref<SkData> r1(SkData::NewFromFILE(file)); 203 int fd = sk_fileno(file);
|
/external/srec/srec/Nametag/src/ |
NametagsImpl.c | 7 * you may not use this file except in compliance with the License. * 76 PFile* file = NULL; local 105 file = pfopen ( devicePath, L("r")); 106 /* CHKLOG(rc, PFileSystemCreatePFile(devicePath, ESR_TRUE, &file)); 107 CHKLOG(rc, file->open(file, L("r")));*/ 109 if ( file == NULL ) 126 result = pfgets ( line, 256, file ); 182 pfclose (file); 185 if (file != NULL 196 PFile* file = NULL; local [all...] |
/external/tinyalsa/ |
tinycap.c | 61 unsigned int capture_sample(FILE *file, unsigned int card, unsigned int device, 73 FILE *file; local 86 fprintf(stderr, "Usage: %s file.wav [-D card] [-d device] [-c channels] " 91 file = fopen(argv[1], "wb"); 92 if (!file) { 93 fprintf(stderr, "Unable to create file '%s'\n", argv[1]); 163 fseek(file, sizeof(struct wav_header), SEEK_SET); 167 frames = capture_sample(file, card, device, header.num_channels [all...] |
/external/tinycompress/ |
cplay.c | 154 char *file; local 191 file = argv[optind]; 193 play_samples(file, card, device, buffer_size, frag); 206 FILE *file; local 213 file = fopen(name, "rb"); 214 if (!file) { 215 fprintf(stderr, "Unable to open file '%s'\n", name); 219 fread(&header, sizeof(header), 1, file); 222 fclose(file); [all...] |
/external/webrtc/test/testsupport/ |
fileutils.cc | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 38 // The file we're looking for to identify the project root dir. 50 // Check for our file that verifies the root dir. 52 FILE* file = NULL; local 57 file = fopen(root_filename.c_str(), "r"); 58 if (file != NULL) { 59 fclose(file); [all...] |