HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 801 - 825 of 2724) sorted by null

<<31323334353637383940>>

  /external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/
SampleServer.java 8 import java.io.File;
45 File file = new File(root + path); local
46 return file.isDirectory()
47 ? directoryToResponse(path, file)
48 : fileToResponse(path, file);
62 private MockResponse directoryToResponse(String basePath, File directory) {
68 for (String file : directory.list()) {
69 response.append(String.format("<div class='file'><a href='%s'>%s</a></div>"
    [all...]
  /external/openssh/
auth.c 380 char *file, ret[PATH_MAX]; local
383 file = percent_expand(filename, "h", pw->pw_dir,
390 if (*file == '/')
391 return (file);
393 i = snprintf(ret, sizeof(ret), "%s/%s", pw->pw_dir, file);
396 free(file);
446 found->host, found->file, found->line);
457 * of the path to the file must be owned by either the owner of
458 * of the file or root and no directories must be group or world writable.
462 * Takes a file name, its stat information (preferably from fstat() t
    [all...]
auth2-pubkey.c 272 match_principals_file(char *file, struct passwd *pw, struct sshkey_cert *cert)
274 FILE *f;
280 debug("trying authorized principals file %s", file);
281 if ((f = auth_openprincipals(file, pw, options.strict_modes)) == NULL) {
285 while (read_keyfile_line(f, file, line, sizeof(line), &linenum) != -1) {
313 "from file \"%s\" on line %lu",
314 cert->principals[i], file, linenum);
316 file, linenum) != 1)
330 * Checks whether key is allowed in authorized_keys-format file,
677 char *file; local
    [all...]
hostfile.h 11 * incompatible with the protocol description in the RFC file, it must be
27 char *file; member in struct:hostkey_entry
60 * Iterate through a hostkeys file, optionally parsing keys and matching
62 * streaming edits to the file to take place.
84 const char *path; /* Path of file */
104 /* Iterate over a hostkeys file */
progressmeter.c 68 static const char *file; /* name of the file being transferred */ variable
164 len = snprintf(buf, file_len + 1, "\r%s", file);
254 file = f;
  /external/pdfium/testing/
embedder_test.cpp 3 // found in the LICENSE file.
35 // Reads the entire contents of a file into a newly malloc'd buffer.
37 FILE* file = fopen(filename, "rb"); local
38 if (!file) {
42 (void) fseek(file, 0, SEEK_END);
43 size_t file_length = ftell(file);
47 (void) fseek(file, 0, SEEK_SET);
52 size_t bytes_read = fread(buffer, 1, file_length, file);
53 (void) fclose(file);
    [all...]
  /external/proguard/src/proguard/
ClassPathEntry.java 40 private File file; field in class:ClassPathEntry
54 * Creates a new ClassPathEntry with the given file and output flag.
56 public ClassPathEntry(File file, boolean isOutput)
58 this.file = file;
84 return file.getCanonicalPath();
88 return file.getPath();
94 * Returns the file
    [all...]
  /external/protobuf/gtest/src/
gtest-filepath.cc 68 // noted, a file path can contain either kind of path separators, or a mixture
115 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns
116 // FilePath("dir/file"). If a case-insensitive extension is not
143 // Example: FilePath("path/to/file").RemoveDirectoryName() returns
144 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
145 // the FilePath unmodified. If there is no file part ("just_a_dir/") it
154 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/".
157 // not have a file, like "just/a/dir/", it returns the FilePath unmodified.
180 String file; local
182 file = String::Format("%s.%s", base_name.c_str(), extension)
    [all...]
  /external/protobuf/src/google/protobuf/compiler/
importer_unittest.cc 44 #include <google/protobuf/testing/file.h>
97 return "File not found.";
129 const FileDescriptor* file = importer_.Import("foo.proto"); local
131 ASSERT_TRUE(file != NULL);
133 ASSERT_EQ(1, file->message_type_count());
134 EXPECT_EQ("Foo", file->message_type(0)->name());
137 EXPECT_EQ(file, importer_.Import("foo.proto"));
141 // Test that importing a file which imports another file works.
178 // Error: Parsing a file that doesn't exist
231 const FileDescriptor* file = importer_.Import("map.proto"); local
    [all...]
plugin.pb.cc 40 const ::google::protobuf::FileDescriptor* file = local
43 GOOGLE_CHECK(file != NULL);
44 CodeGeneratorRequest_descriptor_ = file->message_type(0);
61 CodeGeneratorResponse_descriptor_ = file->message_type(1);
139 "atorResponse\022\r\n\005error\030\001 \001(\t\022B\n\004file\030\017 \003("
141 "orResponse.File\032>\n\004File\022\014\n\004name\030\001 \001(\t\022\027\n"
508 // @@protoc_insertion_point(constructor:google.protobuf.compiler.CodeGeneratorResponse.File)
518 // @@protoc_insertion_point(copy_constructor:google.protobuf.compiler.CodeGeneratorResponse.File)
531 // @@protoc_insertion_point(destructor:google.protobuf.compiler.CodeGeneratorResponse.File)
    [all...]
  /external/protobuf/src/google/protobuf/
descriptor_database.cc 54 const FileDescriptorProto& file,
56 if (!InsertIfNotPresent(&by_name_, file.name(), value)) {
57 GOOGLE_LOG(ERROR) << "File already exists in database: " << file.name();
61 // We must be careful here -- calling file.package() if file.has_package() is
64 string path = file.has_package() ? file.package() : string();
67 for (int i = 0; i < file.message_type_size(); i++) {
68 if (!AddSymbol(path + file.message_type(i).name(), value)) return false
311 FileDescriptorProto file; local
400 const FileDescriptor* file = pool_.FindFileByName(filename); local
410 const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name); local
    [all...]
descriptor_database_unittest.cc 35 // This file makes extensive use of RFC 3092. :)
86 virtual bool AddToDatabase(const FileDescriptorProto& file) = 0;
104 virtual bool AddToDatabase(const FileDescriptorProto& file) {
105 return database_.Add(file);
124 virtual bool AddToDatabase(const FileDescriptorProto& file) {
126 file.SerializeToString(&data);
147 virtual bool AddToDatabase(const FileDescriptorProto& file) {
148 return pool_.BuildFile(file);
191 FileDescriptorProto file; local
192 EXPECT_TRUE(database_->FindFileByName("foo.proto", &file));
198 FileDescriptorProto file; local
206 FileDescriptorProto file; local
236 FileDescriptorProto file; local
243 FileDescriptorProto file; local
250 FileDescriptorProto file; local
257 FileDescriptorProto file; local
264 FileDescriptorProto file; local
271 FileDescriptorProto file; local
278 FileDescriptorProto file; local
285 FileDescriptorProto file; local
292 FileDescriptorProto file; local
299 FileDescriptorProto file; local
306 FileDescriptorProto file; local
312 FileDescriptorProto file; local
339 FileDescriptorProto file; local
345 FileDescriptorProto file; local
352 FileDescriptorProto file; local
360 FileDescriptorProto file; local
368 FileDescriptorProto file; local
374 FileDescriptorProto file; local
381 FileDescriptorProto file; local
564 FileDescriptorProto file; local
572 FileDescriptorProto file; local
580 FileDescriptorProto file; local
588 FileDescriptorProto file; local
596 FileDescriptorProto file; local
604 FileDescriptorProto file; local
612 FileDescriptorProto file; local
620 FileDescriptorProto file; local
628 FileDescriptorProto file; local
637 FileDescriptorProto file; local
644 FileDescriptorProto file; local
653 FileDescriptorProto file; local
662 FileDescriptorProto file; local
671 FileDescriptorProto file; local
680 FileDescriptorProto file; local
690 FileDescriptorProto file; local
697 FileDescriptorProto file; local
    [all...]
extension_set_unittest.cc 976 const FileDescriptor* file = dynamic_pool.BuildFile(dynamic_proto); local
    [all...]
  /external/selinux/libsemanage/src/
modules.c 22 /* This file implements only the publicly-visible module functions to libsemanage. */
522 const char *file = NULL; local
585 if (file == NULL) file = "hll";
587 if (file == NULL) file = "cil";
589 if (file == NULL) file = "lang_ext";
616 file);
619 "Unable to compose path for %s file."
    [all...]
  /external/sfntly/cpp/src/test/tinyxml/
tinyxml.cpp 34 FILE* TiXmlFOpen( const char* filename, const char* mode );
39 FILE* TiXmlFOpen( const char* filename, const char* mode )
42 FILE* fp = 0;
800 void TiXmlElement::Print( FILE* cfile, int depth ) const
971 FILE* file = TiXmlFOpen( value.c_str (), "rb" ); local
973 if ( file )
975 bool result = LoadFile( file, encoding );
976 fclose( file );
986 bool TiXmlDocument::LoadFile( FILE* file, TiXmlEncoding encoding
    [all...]
  /external/skia/src/pathops/
SkPathOpsOp.cpp 5 * found in the LICENSE file.
193 static void dump_path(FILE* file, const SkPath& path, bool force, bool dumpAsHex) {
197 fprintf(file, "%.*s\n", (int) data->size(), data->data());
204 FILE* file = fopen("/Users/caryclark/Documents/svgop.txt", "w"); local
206 FILE* file = fopen("/usr/local/google/home/caryclark/Documents/svgop.txt", "w");
208 fprintf(file,
211 fprintf(file, " SkPath path;\n")
    [all...]
  /external/skia/src/ports/
SkOSFile_win.cpp 5 * found in the LICENSE file.
34 int fileno = _fileno((FILE*)f);
39 HANDLE file = (HANDLE)_get_osfhandle(fileno); local
40 if (INVALID_HANDLE_VALUE == file) {
46 if (0 == GetFileInformationByHandle(file, &info)) {
80 HANDLE file = (HANDLE)_get_osfhandle(fileno); local
81 if (INVALID_HANDLE_VALUE == file) {
86 if (0 == GetFileSizeEx(file, &fileSize)) {
87 //TODO: use SK_TRACEHR(GetLastError(), "Could not get file size.") to report.
94 SkAutoWinMMap mmap(CreateFileMapping(file, NULL, PAGE_READONLY, 0, 0, NULL))
    [all...]
  /external/skia/tests/
DataRefTest.cpp 5 * found in the LICENSE file.
188 ERRORF(reporter, "Failed to create tmp file %s\n", path.c_str());
194 SkFILE* file = sk_fopen(path.c_str(), kRead_SkFILE_Flag); local
195 SkAutoTUnref<SkData> r1(SkData::NewFromFILE(file));
200 int fd = sk_fileno(file);
  /external/skia/tools/
win_dbghelp.cpp 5 * found in the LICENSE file.
41 // ? val - evaluate expression. Used to mark the log file.
96 FILE* file = fopen(filename, "rt"); local
101 while (fgets(line, sizeof(line), file)) {
113 fclose(file);
167 printf("MiniDump file: %s\n", szFileName);
202 * This function expects the .pdb file to be in the same directory.
  /external/sonivox/arm-fm-22k/host_src/
eas_hostmm.c 3 * File:
7 * This file contains the host wrapper functions for stdio, stdlib, etc.
10 * file system calls. The file locator (EAS_FILE_LOCATOR) handle passed
13 * using a file system, you can use the locator handle to point to
18 * Modify this file to suit the needs of your particular system.
21 * a MIDI type 1 file that can be played.
23 * EAS_HW_FILE is a structure to support the file I/O functions. It
24 * comprises the base memory pointer, the file read pointer, and
25 * the dup flag, which when sets, indicates that the file handle ha
204 EAS_HW_FILE *file; local
    [all...]
  /external/sonivox/arm-hybrid-22k/host_src/
eas_hostmm.c 3 * File:
7 * This file contains the host wrapper functions for stdio, stdlib, etc.
10 * file system calls. The file locator (EAS_FILE_LOCATOR) handle passed
13 * using a file system, you can use the locator handle to point to
18 * Modify this file to suit the needs of your particular system.
21 * a MIDI type 1 file that can be played.
23 * EAS_HW_FILE is a structure to support the file I/O functions. It
24 * comprises the base memory pointer, the file read pointer, and
25 * the dup flag, which when sets, indicates that the file handle ha
204 EAS_HW_FILE *file; local
    [all...]
  /external/sonivox/arm-wt-22k/host_src/
eas_hostmm.c 3 * File:
7 * This file contains the host wrapper functions for stdio, stdlib, etc.
9 * The file locator (EAS_FILE_LOCATOR) handle passed to
12 * Modify this file to suit the needs of your particular system.
15 * a MIDI type 1 file that can be played.
17 * EAS_HW_FILE is a structure to support the file I/O functions. It
18 * comprises the file descriptor, the file read pointer, and
19 * the dup flag, which when set, indicates that the file handle has
20 * been duplicated, and offset and length within the file
110 EAS_HW_FILE *file; local
238 EAS_HW_FILE *file; local
    [all...]
  /external/sonivox/arm-wt-22k/misc/
eas_host.c 3 * File:
7 * This file contains the host wrapper functions for stdio, stdlib, etc.
9 * Modify this file to suit the needs of your particular system.
12 * a MIDI type 1 file that can be played. To maintain efficiency, data
16 * EAS_HW_FILE is a structure to support local file buffering. It
17 * comprises the OS File handle, some data related to the local file
23 * If the file system supports duplicate file handles and buffering,
25 * native file I/O routines
233 EAS_HW_FILE *file; local
    [all...]
  /external/tinyalsa/
tinyplay.c 63 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels,
76 FILE *file; local
88 fprintf(stderr, "Usage: %s file.wav [-D card] [-d device] [-p period_size]"
94 file = fopen(filename, "rb");
95 if (!file) {
96 fprintf(stderr, "Unable to open file '%s'\n", filename);
100 fread(&riff_wave_header, sizeof(riff_wave_header), 1, file);
103 fprintf(stderr, "Error: '%s' is not a riff/wave file\n", filename)
    [all...]
  /external/v8/samples/
lineprocessor.cc 124 // Use argument as a name of file to load.
275 // Reads a file into a v8 string.
277 FILE* file = fopen(name, "rb"); local
278 if (file == NULL) return v8::Handle<v8::String>();
280 fseek(file, 0, SEEK_END);
281 int size = ftell(file);
282 rewind(file);
287 int read = static_cast<int>(fread(&chars[i], 1, size - i, file));
290 fclose(file);
    [all...]

Completed in 202 milliseconds

<<31323334353637383940>>