| /external/flac/src/metaflac/ |
| D | usage.c | 1 /* metaflac - Command-line FLAC metadata editor 2 * Copyright (C) 2001-2009 Josh Coalson 3 * Copyright (C) 2011-2016 Xiph.Org Foundation 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 30 static void usage_header(FILE *out) in usage_header() argument 32 fprintf(out, "==============================================================================\n"); in usage_header() 33 fprintf(out, "metaflac - Command-line FLAC metadata editor version %s\n", FLAC__VERSION_STRING); in usage_header() 34 fprintf(out, "Copyright (C) 2001-2009 Josh Coalson\n"); in usage_header() 35 fprintf(out, "Copyright (C) 2011-2016 Xiph.Org Foundation\n"); in usage_header() 36 fprintf(out, "\n"); in usage_header() [all …]
|
| /external/grpc-grpc/src/compiler/ |
| D | node_generator.cc | 6 * you may not use this file except in compliance with the License. 9 * http://www.apache.org/licenses/LICENSE-2.0 41 // This scheme could technically cause problems if a file includes any 2 of: in ModuleAlias() 49 basename = grpc_generator::StringReplace(basename, "-", "$"); in ModuleAlias() 56 // message file foo/bar/baz.js 67 // Well-known types (.proto files in the google/protobuf directory) are in GetRootPath() 68 // assumed to come from the 'google-protobuf' npm package. We may want to in GetRootPath() 71 return "google-protobuf/"; in GetRootPath() 91 /* Finds all message types used in all services in the file, and returns them 94 const FileDescriptor* file) { in GetAllMessages() argument [all …]
|
| D | ruby_generator.cc | 6 * you may not use this file except in compliance with the License. 9 * http://www.apache.org/licenses/LICENSE-2.0 25 #include "src/compiler/ruby_generator_helpers-inl.h" 26 #include "src/compiler/ruby_generator_map-inl.h" 27 #include "src/compiler/ruby_generator_string-inl.h" 40 // Prints out the method using the ruby gRPC DSL. 42 Printer* out) { in PrintMethod() argument 44 RubyTypeOf(method->input_type()->full_name(), package); in PrintMethod() 45 if (method->client_streaming()) { in PrintMethod() 49 RubyTypeOf(method->output_type()->full_name(), package); in PrintMethod() [all …]
|
| D | php_generator.cc | 6 * you may not use this file except in compliance with the License. 9 * http://www.apache.org/licenses/LICENSE-2.0 48 grpc::string PackageName(const FileDescriptor* file) { in PackageName() argument 49 if (file->options().has_php_namespace()) { in PackageName() 50 return file->options().php_namespace(); in PackageName() 52 return ConvertToPhpNamespace(file->package()); in PackageName() 57 const FileDescriptor* file) { in MessageIdentifierName() argument 60 if (PackageName(file) != "") { in MessageIdentifierName() 61 oss << PackageName(file) << "\\"; in MessageIdentifierName() 63 oss << grpc_generator::CapitalizeFirstLetter(tokens[tokens.size() - 1]); in MessageIdentifierName() [all …]
|
| D | python_generator.cc | 6 * you may not use this file except in compliance with the License. 9 * http://www.apache.org/licenses/LICENSE-2.0 68 // // destructor called at end of scope, un-indenting my_py_printer 73 printer_->Indent(); in IndentScope() 76 ~IndentScope() { printer_->Outdent(); } in ~IndentScope() 83 const grpc_generator::File* file) in PrivateGenerator() argument 84 : config(config), file(file) {} in PrivateGenerator() 87 grpc_generator::Printer* out) { in PrintAllComments() argument 95 out->Print("# missing associated documentation comment in .proto file\n"); in PrintAllComments() 96 out->Print("pass\n"); in PrintAllComments() [all …]
|
| /external/rust/crates/grpcio-sys/grpc/src/compiler/ |
| D | node_generator.cc | 6 * you may not use this file except in compliance with the License. 9 * http://www.apache.org/licenses/LICENSE-2.0 41 // This scheme could technically cause problems if a file includes any 2 of: in ModuleAlias() 49 basename = grpc_generator::StringReplace(basename, "-", "$"); in ModuleAlias() 56 // message file foo/bar/baz.js 67 // Well-known types (.proto files in the google/protobuf directory) are in GetRootPath() 68 // assumed to come from the 'google-protobuf' npm package. We may want to in GetRootPath() 71 return "google-protobuf/"; in GetRootPath() 91 /* Finds all message types used in all services in the file, and returns them 93 map<std::string, const Descriptor*> GetAllMessages(const FileDescriptor* file) { in GetAllMessages() argument [all …]
|
| D | ruby_generator.cc | 6 * you may not use this file except in compliance with the License. 9 * http://www.apache.org/licenses/LICENSE-2.0 25 #include "src/compiler/ruby_generator_helpers-inl.h" 26 #include "src/compiler/ruby_generator_map-inl.h" 27 #include "src/compiler/ruby_generator_string-inl.h" 40 // Prints out the method using the ruby gRPC DSL. 41 void PrintMethod(const MethodDescriptor* method, Printer* out) { in PrintMethod() argument 42 std::string input_type = RubyTypeOf(method->input_type()); in PrintMethod() 43 if (method->client_streaming()) { in PrintMethod() 46 std::string output_type = RubyTypeOf(method->output_type()); in PrintMethod() [all …]
|
| D | python_generator.cc | 6 * you may not use this file except in compliance with the License. 9 * http://www.apache.org/licenses/LICENSE-2.0 68 // // destructor called at end of scope, un-indenting my_py_printer 73 // NOTE(rbellevi): Two-space tabs are hard-coded in the protocol compiler. in IndentScope() 75 printer_->Indent(); in IndentScope() 76 printer_->Indent(); in IndentScope() 80 printer_->Outdent(); in ~IndentScope() 81 printer_->Outdent(); in ~IndentScope() 89 const grpc_generator::File* file) in PrivateGenerator() argument 90 : config(config), file(file) {} in PrivateGenerator() [all …]
|
| D | php_generator.cc | 6 * you may not use this file except in compliance with the License. 9 * http://www.apache.org/licenses/LICENSE-2.0 48 std::string PackageName(const FileDescriptor* file) { in PackageName() argument 49 if (file->options().has_php_namespace()) { in PackageName() 50 return file->options().php_namespace(); in PackageName() 52 return ConvertToPhpNamespace(file->package()); in PackageName() 57 const FileDescriptor* file) { in MessageIdentifierName() argument 60 if (PackageName(file) != "") { in MessageIdentifierName() 61 oss << PackageName(file) << "\\"; in MessageIdentifierName() 63 oss << grpc_generator::CapitalizeFirstLetter(tokens[tokens.size() - 1]); in MessageIdentifierName() [all …]
|
| /external/vogar/src/vogar/ |
| D | Vogar.java | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 23 import java.io.File; 46 private final List<File> actionFiles = new ArrayList<File>(); 50 private File configFile = Vogar.dotFile(".vogarconfig"); 54 public static File dotFile (String name) { in dotFile() 55 return new File(System.getProperty("user.home", "."), name); in dotFile() 74 @Option(names = { "--expectations" }) 75 Set<File> expectationFiles = new LinkedHashSet<File>(); 80 @Option(names = { "--mode" }) [all …]
|
| /external/grpc-grpc/templates/ |
| D | gRPC-C++.podspec.template | 2 --- | 3 # This file has been automatically generated from a template file. 4 # Please make modifications to `templates/gRPC-C++.podspec.template` 5 # instead. This file can be regenerated from the template by running 13 # you may not use this file except in compliance with the License. 16 # http://www.apache.org/licenses/LICENSE-2.0 26 out = [] 30 out += lib.get(group, []) 31 return out 34 return [file for file in files if not file.startswith("include/grpc++")] [all …]
|
| /external/ltp/testcases/commands/ar/ |
| D | ar01.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 21 ar --help | grep "use zero for timestamps and uids/gids (default)" >/dev/null 22 [ $? -eq 0 ] && MOD="U" 27 ROD ar -cr"$MOD" lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in 28 ROD ar -ra"$MOD" file1.in lib.a $TST_DATAROOT/file2.in 29 ROD ar -t lib.a \> ar.out 33 if diff ar.out ar.exp >/dev/null; then 34 tst_res TPASS "ar added new file after another (-a)" 36 tst_res TFAIL "ar failed to add new file after another (-a)" 37 cat ar.out [all …]
|
| /external/toybox/tests/ |
| D | chgrp.test | 3 [ -f testing.sh ] && . testing.sh 5 if [ "$(id -u)" -ne 0 ] 13 GRP="$(sed -n '$s/:.*//p' /etc/group)" 14 # Or if that fails, assume we're on Android and pick a well-known group. 19 rm -rf testdir && 20 mkdir -p testdir/dir/dir/dir testdir/dir2 && 21 touch testdir/dir/file && 22 ln -s ../dir/dir testdir/dir2/dir && 23 ln -s ../dir/file testdir/dir2/file || exit 1 27 IN="cd testdir && chgrp -R $GRP dir dir2 &&" [all …]
|
| /external/elfutils/tests/ |
| D | run-strip-g.sh | 3 # This file is part of elfutils. 5 # This file is free software; you can redistribute it and/or modify 18 . $srcdir/test-subr.sh 21 # in the main ELF file. There should be no symbols pointing into the 22 # debug sections and so there should not be a copy in the debug file 25 tempfiles a.out strip.out debug.out readelf.out 27 echo Create debug a.out. 28 echo "int main() { return 1; }" | ${CC} -g -xc - 30 echo strip -g to file with debug file 31 testrun ${abs_top_builddir}/src/strip -g -o strip.out -f debug.out || [all …]
|
| D | run-strip-nothing.sh | 3 # This file is part of elfutils. 5 # This file is free software; you can redistribute it and/or modify 18 . $srcdir/test-subr.sh 20 # If there is nothing to strip then -o output should be identical to input. 21 # And there should not be an (empty) -f debug file. 23 tempfiles a.out strip.out debug.out 25 # Create no-debug a.out. 26 echo "int main() { return 1; }" | ${CC} -s -xc - 28 # strip to file 29 testrun ${abs_top_builddir}/src/strip -g -o strip.out || [all …]
|
| /external/selinux/libsepol/cil/src/ |
| D | cil_policy.c | 22 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 82 switch (node->flavor) { in __cil_gather_statements_helper() 84 struct cil_block *blk = node->data; in __cil_gather_statements_helper() 85 if (blk->is_abstract == CIL_TRUE) { in __cil_gather_statements_helper() 127 struct cil_typeattribute *attr = node->data; in __cil_gather_statements_helper() 128 if (strcmp(attr->datum.fqn, "cil_gen_require") != 0) { in __cil_gather_statements_helper() 134 struct cil_roleattribute *attr = node->data; in __cil_gather_statements_helper() 135 if (strcmp(attr->datum.fqn, "cil_gen_require") != 0) { in __cil_gather_statements_helper() 150 struct cil_role *role = node->data; in __cil_gather_statements_helper() 151 if (strcmp(role->datum.fqn, "object_r") != 0) { in __cil_gather_statements_helper() [all …]
|
| /external/apache-commons-bcel/src/examples/ |
| D | ClassDumper.java | 3 * contributor license agreements. See the NOTICE file distributed with 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 9 * http://www.apache.org/licenses/LICENSE-2.0 19 import java.io.File; 34 * Display Java .class file data. 43 private FileImageInputStream file; field in ClassDumper 60 * @param file Input stream 61 * @param file_name File name 63 public ClassDumper (FileImageInputStream file, String file_name) { in ClassDumper() argument [all …]
|
| /external/icu/icu4c/source/tools/gentest/ |
| D | gentest.c | 6 * Copyright (C) 1999-2016, International Business Machines 10 * file name: gentest.c 11 * encoding: UTF-8 18 * This program writes a little data file for testing the udata API. 76 argv[-argc]); in main() 80 "usage: %s [-options]\n" in main() 81 "\tcreate the test file " DATA_NAME "." DATA_TYPE " unless the -r option is given.\n" in main() 83 "\t\t-h or -? or --help this usage text\n" in main() 84 "\t\t-d or --destdir destination directory, followed by the path\n" in main() 85 … "\t\t-r or --genres generate resource file testtable32.txt instead of UData test \n" in main() [all …]
|
| /external/freetype/ |
| D | vms_make.com | 3 $! Copyright (C) 2003-2021 by 6 $! This file is part of the FreeType project, and may only be used, modified, 8 $! LICENSE.TXT. By continuing to use, modify, or distribute this file you 14 $! config file VMSLIB.DAT. Please check the sample file, which is part of this 20 $! * DEBUG - Compile modules with /noopt/debug and link shareable image 22 $! * LOPTS - Options to be passed to the link command 23 $! * CCOPT - Options to be passed to the C compiler 26 $! zinser@zinser.no-ip.info (preferred) or 27 $! zinser@sysdev.deutsche-boerse.com (work) 31 $!------------------------------------------------------------------------------ [all …]
|
| /external/ktfmt/core/src/test/java/com/facebook/ktfmt/cli/ |
| D | MainTest.kt | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 21 import java.io.File 24 import java.nio.file.Files 40 private val out = ByteArrayOutputStream() constant in com.facebook.ktfmt.cli.MainTest 49 * Scenario: someone _really_ wants to format this file, regardless of its extension. When a 50 * single argument file is given, it is used as is without filtering by extension. 53 fun `expandArgsToFileNames - single file arg is used as is`() { in expandArgsToFileNames - single file arg is used as is() 60 fun `expandArgsToFileNames - single arg which is not a file is not returned`() { in expandArgsToFileNames - single arg which is not a file is not returned() 66 …fun `expandArgsToFileNames - single arg which is a directory is resolved to its recursively contai… in expandArgsToFileNames - single arg which is a directory is resolved to its recursively contained kt files() [all …]
|
| D | ParsedArgsTest.kt | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 45 val out = ByteArrayOutputStream() in files to format are returned and unknown flags are reported() constant 47 val (fileNames, _) = ParsedArgs.parseOptions(PrintStream(out), arrayOf("foo.kt", "--unknown")) in files to format are returned and unknown flags are reported() 50 assertThat(out.toString()).isEqualTo("Unexpected option: --unknown\n") in files to format are returned and unknown flags are reported() 55 val out = ByteArrayOutputStream() in files to format are returned and flags starting with @ are reported() constant 57 val (fileNames, _) = ParsedArgs.parseOptions(PrintStream(out), arrayOf("foo.kt", "@unknown")) in files to format are returned and flags starting with @ are reported() 60 assertThat(out.toString()).isEqualTo("Unexpected option: @unknown\n") in files to format are returned and flags starting with @ are reported() 65 val out = ByteArrayOutputStream() in parseOptions uses default values when args are empty() constant 67 val parsed = ParsedArgs.parseOptions(PrintStream(out), arrayOf("foo.kt")) in parseOptions uses default values when args are empty() [all …]
|
| /external/virglrenderer/src/gallium/auxiliary/tgsi/ |
| D | tgsi_ureg.c | 3 * Copyright 2009-2010 VMware, Inc. 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 23 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 192 if (tokens->tokens && tokens->tokens != error_tokens) in tokens_error() 193 FREE(tokens->tokens); in tokens_error() 195 tokens->tokens = error_tokens; in tokens_error() 196 tokens->size = ARRAY_SIZE(error_tokens); in tokens_error() 197 tokens->count = 0; in tokens_error() 204 unsigned old_size = tokens->size * sizeof(unsigned); in tokens_expand() 206 if (tokens->tokens == error_tokens) { in tokens_expand() [all …]
|
| /external/flatbuffers/grpc/src/compiler/ |
| D | python_generator.cc | 6 * you may not use this file except in compliance with the License. 9 * http://www.apache.org/licenses/LICENSE-2.0 59 // // destructor called at end of scope, un-indenting my_py_printer 64 printer_->Indent(); in IndentScope() 67 ~IndentScope() { printer_->Outdent(); } in ~IndentScope() 97 basename = StringReplace(basename, "-", "_"); in ModuleName() 114 const grpc_generator::File* file_) in PrivateGenerator() 115 : config(config_), file(file_) {} in PrivateGenerator() 118 grpc_generator::Printer* out) { in PrintBetaServicer() argument 120 service_dict["Service"] = service->name(); in PrintBetaServicer() [all …]
|
| /external/toybox/toys/other/ |
| D | stat.c | 1 /* stat.c : display file or file system status 11 usage: stat [-tfL] [-c FORMAT] FILE... 15 -c Output specified FORMAT string instead of default 16 -f Display filesystem status instead of file status 17 -L Follow symlinks 18 -t terse (-c "%n %s %b %f %u %g %D %i %h %t %T %X %Y %Z %o") 19 (with -f = -c "%n %i %l %t %s %S %b %f %a %c %d") 24 %D Device ID (hex) |%f All mode bits (hex)|%F File type 35 %d Free inodes |%f Free blocks |%i File system ID 36 %l Max filename length |%n File name |%s Best transfer size [all …]
|
| /external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/ |
| D | minigzip_fuzzer.c | 1 /* minigzip.c -- simulate gzip using the zlib compression library 2 * Copyright (C) 1995-2006, 2010, 2011, 2016 Jean-loup Gailly 9 * full-featured gzip. No attempt is made to deal with file systems 15 #define _POSIX_SOURCE 1 /* This file needs POSIX for fileno(). */ 22 # include "zlib-ng.h" 38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) argument 40 # define SET_BINARY_MODE(file) argument 56 #define SUFFIX_LEN (sizeof(GZ_SUFFIX)-1) 65 void gz_compress (FILE *in, gzFile out); 67 int gz_compress_mmap (FILE *in, gzFile out); [all …]
|