/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestMultiplesFilters.java | 51 import java.io.File; 58 File file = new File("wildhouse.zip"); local 59 if (!file.exists()) {
|
/external/jmonkeyengine/engine/src/test/jme3test/water/ |
TestSceneWater.java | 49 import java.io.File; 72 File file = new File("wildhouse.zip"); local 73 if (file.exists()) {
|
/external/jsoncpp/src/jsontestrunner/ |
main.cpp | 4 // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 46 FILE *file = fopen( path, "rb" ); local 47 if ( !file ) 49 fseek( file, 0, SEEK_END ); 50 long size = ftell( file ); 51 fseek( file, 0, SEEK_SET ); 55 if ( fread( buffer, 1, size, file ) == (unsigned long)size ) 57 fclose( file ); 63 printValueTree( FILE *fout, Json::Value &value, const std::string &path = "." [all...] |
/external/libpcap/ |
savefile.c | 26 * a file, and then read them later. 27 * The first record in the file contains saved values for the machine 28 * dependent values so we can print the dump file on any architecture. 87 * This is a savefile, not a live capture file, so never say 97 * This is a savefile, not a live capture file, so reject 122 "The kernel buffer size cannot be set while reading from a file"); 130 "impossible to set mode while reading from a file"); 138 "The mintocopy parameter cannot be set while reading from a file"); 177 FILE *fp; 223 FILE *file local [all...] |
/external/libvncserver/x11vnc/ |
linuxfb.c | 5 This file is part of x11vnc. 28 modify this file, you may extend this exception to your version of the 29 file, but you are not obligated to do so. If you do not wish to do 62 char *atparms = NULL, *file = NULL; local 97 file = strdup(q+1); 100 if (! file || file[0] == '\0') { 101 file = strdup("/dev/fb"); 103 if (strstr(file, "fb") == file) { [all...] |
/external/lldb/source/Interpreter/ |
PythonDataObjects.cpp | 5 // This file is distributed under the University of Illinois Open Source 11 // the *FIRST* header file included here. 27 #include "lldb/Host/File.h" 49 FILE *file = ::tmpfile(); local 50 if (file) 52 ::PyObject_Print (m_py_obj, file, 0); 53 const long length = ftell (file); 56 ::rewind(file); 58 const size_t length_read = ::fread (file_contents.data(), 1, file_contents.size(), file); [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; 150 bool Create(const char *statement, const RE *regex, const char *file, 235 String file() const { return file_; } function in class:testing::internal::InternalRunDeathTestFlag
|
/external/llvm/utils/unittest/googletest/src/ |
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/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/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
DebuggingClassWriter.java | 5 * you may not use this file except in compliance with the License. 78 String dirs = className.replace('.', File.separatorChar); 80 new File(debugLocation + File.separatorChar + dirs).getParentFile().mkdirs(); 82 File file = new File(new File(debugLocation), dirs + ".class"); local 83 OutputStream out = new BufferedOutputStream(new FileOutputStream(file)); 91 file = new File(new File(debugLocation), dirs + ".asm") [all...] |
/external/nanopb-c/generator/google/protobuf/compiler/ |
plugin_pb2.py | 17 serialized_pb='\n%google/protobuf/compiler/plugin.proto\x12\x18google.protobuf.compiler\x1a google/protobuf/descriptor.proto\"}\n\x14\x43odeGeneratorRequest\x12\x18\n\x10\x66ile_to_generate\x18\x01 \x03(\t\x12\x11\n\tparameter\x18\x02 \x01(\t\x12\x38\n\nproto_file\x18\x0f \x03(\x0b\x32$.google.protobuf.FileDescriptorProto\"\xaa\x01\n\x15\x43odeGeneratorResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x42\n\x04\x66ile\x18\x0f \x03(\x0b\x32\x34.google.protobuf.compiler.CodeGeneratorResponse.File\x1a>\n\x04\x46ile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x0finsertion_point\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x0f \x01(\tB,\n\x1c\x63om.google.protobuf.compilerB\x0cPluginProtos') 26 file=DESCRIPTOR, variable 65 name='File', 66 full_name='google.protobuf.compiler.CodeGeneratorResponse.File', 68 file=DESCRIPTOR, variable 72 name='name', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.name', index=0, 79 name='insertion_point', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point', index=1, 86 name='content', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.content', index=2, 109 file=DESCRIPTOR, variable 120 name='file', full_name='google.protobuf.compiler.CodeGeneratorResponse.file', index=1 [all...] |
/external/nanopb-c/generator/proto/ |
plugin_pb2.py | 13 serialized_pb='\n\x0cplugin.proto\x12\x18google.protobuf.compiler\x1a google/protobuf/descriptor.proto\"}\n\x14\x43odeGeneratorRequest\x12\x18\n\x10\x66ile_to_generate\x18\x01 \x03(\t\x12\x11\n\tparameter\x18\x02 \x01(\t\x12\x38\n\nproto_file\x18\x0f \x03(\x0b\x32$.google.protobuf.FileDescriptorProto\"\xaa\x01\n\x15\x43odeGeneratorResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x42\n\x04\x66ile\x18\x0f \x03(\x0b\x32\x34.google.protobuf.compiler.CodeGeneratorResponse.File\x1a>\n\x04\x46ile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x0finsertion_point\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x0f \x01(\t') 22 file=DESCRIPTOR, variable 61 name='File', 62 full_name='google.protobuf.compiler.CodeGeneratorResponse.File', 64 file=DESCRIPTOR, variable 68 name='name', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.name', index=0, 75 name='insertion_point', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point', index=1, 82 name='content', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.content', index=2, 105 file=DESCRIPTOR, variable 116 name='file', full_name='google.protobuf.compiler.CodeGeneratorResponse.file', index=1 [all...] |
/external/opencv/cxcore/src/ |
cxerror.cpp | 52 const char* file; member in struct:__anon17266 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 64 * The .ssh/authorized_keys file contains public keys, one per line, in the 171 rsa_key_allowed_in_file(struct passwd *pw, char *file, 176 FILE *f; 180 debug("trying public RSA key file %s", file); 181 if ((f = auth_openkeyfile(file, pw, options.strict_modes)) == NULL) 190 while (read_keyfile_line(f, file, line, sizeof(line), &linenum) != -1) { 222 file, linenum) 286 char *file; local [all...] |
authfile.c | 55 /* Save a key blob to a file */ 140 * Loads the public part of the ssh v1 key file. Returns NULL if an error was 141 * encountered (the file does not exist or is not readable), and the key 177 * permissions of the file. if the key owned by a different user, 185 error("@ WARNING: UNPROTECTED PRIVATE KEY FILE! @"); 289 FILE *f; 310 strcmp(cp, "SSH PRIVATE KEY FILE") == 0) 333 /* load public key from ssh v1 private or any pubkey file */ 338 char file[PATH_MAX]; local 346 /* XXX should load file once and attempt to parse each format * 408 char *file = NULL; 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/proguard/src/proguard/ant/ |
ClassPathElement.java | 28 import java.io.File; 63 File baseDir = getProject().getBaseDir(); 68 // Get the referenced path or file set. 83 // Get the names of the existing input files in the referenced file set. 103 throw new BuildException("The <outjar> element must specify exactly one file or directory ["+fileNames.length+"]"); 110 // throw new BuildException("The <injar> element must specify at least one file or directory"); 116 // Create a new class path entry, with the proper file name and 119 File file = new File(fileName) local [all...] |
/external/protobuf/benchmarks/ |
ProtoBench.java | 35 import java.io.File; 75 public static boolean runTest(String type, String file) { 76 System.out.println("Benchmarking " + type + " with file " + file); 90 final byte[] inputData = readAllBytes(file); 191 RandomAccessFile file = new RandomAccessFile(new File(filename), "r"); local 192 byte[] content = new byte[(int) file.length()]; 193 file.readFully(content);
|
/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); 204 String file() const { return file_; } function in class:testing::internal::InternalRunDeathTestFlag
|
/external/protobuf/src/google/protobuf/ |
message_unittest.cc | 110 int file = open(filename.c_str(), O_RDONLY | O_BINARY); local 113 EXPECT_TRUE(message.ParseFromFileDescriptor(file)); 116 EXPECT_GE(close(file), 0); 123 int file = open(filename.c_str(), O_RDONLY | O_BINARY); local 126 EXPECT_TRUE(message.ParseFromFileDescriptor(file)); 129 EXPECT_GE(close(file), 0); 415 FileDescriptorProto file; local 416 file.set_name("foo.proto"); 417 file.add_message_type()->set_name("Foo"); 418 const Descriptor* descriptor = pool.BuildFile(file)->message_type(0) [all...] |
/external/selinux/policycoreutils/restorecond/ |
watch.c | 49 char *file = basename(x); local 72 strings_list_add(&ptr->files, file); 95 strings_list_add(&ptr->files, file); 102 printf("%d: Dir=%s, File=%s\n", ptr->wd, ptr->dir, file); 110 A file was in a direcroty has been created. This function checks to 114 int watch_list_find(int wd, const char *file) 119 printf("%d: File=%s\n", wd, file); 123 if (strings_list_find(ptr->files, file, &exact) == 0) [all...] |
/external/selinux/secilc/ |
secilc.c | 46 printf("Usage: %s [OPTION]... FILE...\n", prog); 49 printf(" -o, --output=<file> write binary policy to <file>\n"); 51 printf(" -f, --filecontext=<file> write file contexts to <file>\n"); 77 FILE *binary = NULL; 78 FILE *file_contexts; 79 FILE *file = NULL local [all...] |
/external/sepolicy/tools/sepolicy-analyze/ |
neverallow.c | 17 fprintf(stderr, "\tneverallow [-w|--warn] [-d|--debug] [-n|--neverallows <neverallow-rules>] | [-f|--file <neverallow-file>]\n"); 475 char *rules = 0, *file = 0; local 492 file = optarg; 506 if (!(rules || file) || (rules && file)){ 510 if (file) { 511 return check_neverallows_file(policydb, file);
|