| /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-2023 Xiph.Org Foundation 17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 31 static void usage_header(FILE *out) in usage_header() argument 33 fprintf(out, "==============================================================================\n"); in usage_header() 34 fprintf(out, "metaflac - Command-line FLAC metadata editor version %s\n", FLAC__VERSION_STRING); in usage_header() 35 fprintf(out, "Copyright (C) 2001-2009 Josh Coalson\n"); in usage_header() 36 fprintf(out, "Copyright (C) 2011-2023 Xiph.Org Foundation\n"); in usage_header() 37 fprintf(out, "\n"); in usage_header() [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/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 42 // This scheme could technically cause problems if a file includes any 2 of: in ModuleAlias() 50 basename = grpc_generator::StringReplace(basename, "-", "$"); in ModuleAlias() 57 // message file foo/bar/baz.js 68 // Well-known types (.proto files in the google/protobuf directory) are in GetRootPath() 69 // assumed to come from the 'google-protobuf' npm package. We may want to in GetRootPath() 72 return "google-protobuf/"; in GetRootPath() 92 /* Finds all message types used in all services in the file, and returns them 94 map<std::string, const Descriptor*> GetAllMessages(const FileDescriptor* file) { in GetAllMessages() argument [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 69 // // destructor called at end of scope, un-indenting my_py_printer 74 // NOTE(rbellevi): Two-space tabs are hard-coded in the protocol compiler. in IndentScope() 76 printer_->Indent(); in IndentScope() 77 printer_->Indent(); in IndentScope() 81 printer_->Outdent(); in ~IndentScope() 82 printer_->Outdent(); in ~IndentScope() 90 const grpc_generator::File* file) in PrivateGenerator() argument 91 : config(config), file(file) {} in PrivateGenerator() [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 26 #include "src/compiler/ruby_generator_helpers-inl.h" 27 #include "src/compiler/ruby_generator_map-inl.h" 28 #include "src/compiler/ruby_generator_string-inl.h" 41 // Prints out the method using the ruby gRPC DSL. 42 void PrintMethod(const MethodDescriptor* method, Printer* out) { in PrintMethod() argument 43 std::string input_type = RubyTypeOf(method->input_type()); in PrintMethod() 44 if (method->client_streaming()) { in PrintMethod() 47 std::string output_type = RubyTypeOf(method->output_type()); 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 49 std::string PackageName(const FileDescriptor* file) { in PackageName() argument 50 if (file->options().has_php_namespace()) { in PackageName() 51 return file->options().php_namespace(); in PackageName() 53 return ConvertToPhpNamespace(file->package()); in PackageName() 58 const FileDescriptor* file) { in MessageIdentifierName() argument 61 if (PackageName(file) != "") { in MessageIdentifierName() 62 oss << PackageName(file) << "\\"; in MessageIdentifierName() 64 oss << grpc_generator::CapitalizeFirstLetter(tokens[tokens.size() - 1]); in MessageIdentifierName() [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 42 // This scheme could technically cause problems if a file includes any 2 of: in ModuleAlias() 50 basename = grpc_generator::StringReplace(basename, "-", "$"); in ModuleAlias() 57 // message file foo/bar/baz.js 68 // Well-known types (.proto files in the google/protobuf directory) are in GetRootPath() 69 // assumed to come from the 'google-protobuf' npm package. We may want to in GetRootPath() 72 return "google-protobuf/"; in GetRootPath() 92 /* Finds all message types used in all services in the file, and returns them 94 map<std::string, const Descriptor*> GetAllMessages(const FileDescriptor* file) { in GetAllMessages() argument [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 69 // // destructor called at end of scope, un-indenting my_py_printer 74 // NOTE(rbellevi): Two-space tabs are hard-coded in the protocol compiler. in IndentScope() 76 printer_->Indent(); in IndentScope() 77 printer_->Indent(); in IndentScope() 81 printer_->Outdent(); in ~IndentScope() 82 printer_->Outdent(); in ~IndentScope() 90 const grpc_generator::File* file) in PrivateGenerator() argument 91 : config(config), file(file) {} in PrivateGenerator() [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 26 #include "src/compiler/ruby_generator_helpers-inl.h" 27 #include "src/compiler/ruby_generator_map-inl.h" 28 #include "src/compiler/ruby_generator_string-inl.h" 41 // Prints out the method using the ruby gRPC DSL. 42 void PrintMethod(const MethodDescriptor* method, Printer* out) { in PrintMethod() argument 43 std::string input_type = RubyTypeOf(method->input_type()); in PrintMethod() 44 if (method->client_streaming()) { in PrintMethod() 47 std::string output_type = RubyTypeOf(method->output_type()); 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 49 std::string PackageName(const FileDescriptor* file) { in PackageName() argument 50 if (file->options().has_php_namespace()) { in PackageName() 51 return file->options().php_namespace(); in PackageName() 53 return ConvertToPhpNamespace(file->package()); in PackageName() 58 const FileDescriptor* file) { in MessageIdentifierName() argument 61 if (PackageName(file) != "") { in MessageIdentifierName() 62 oss << PackageName(file) << "\\"; in MessageIdentifierName() 64 oss << grpc_generator::CapitalizeFirstLetter(tokens[tokens.size() - 1]); in MessageIdentifierName() [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/ltp/testcases/commands/ar/ |
| D | ar01.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 19 $AR --help | grep "use zero for timestamps and uids/gids (default)" >/dev/null 20 [ $? -eq 0 ] && MOD="U" 25 ROD $AR -cr"$MOD" lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in 26 ROD $AR -ra"$MOD" file1.in lib.a $TST_DATAROOT/file2.in 27 ROD $AR -t lib.a \> ar.out 31 if diff ar.out ar.exp >/dev/null; then 32 tst_res TPASS "$AR added new file after another (-a)" 34 tst_res TFAIL "$AR failed to add new file after another (-a)" 35 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/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/wayland-protocols/ |
| D | wayland_protocol_codegen_test.go | 4 // you may not use this file except in compliance with the License. 7 // http://www.apache.org/licenses/LICENSE-2.0 108 cmd: "$(location host_tool) gen < $(in) > $(out)", 111 …"bash -c '__SBOX_SANDBOX_DIR__/tools/src/out/host_tool gen < src_file > __SBOX_SANDBOX_DIR__/out/p… 114 "out/soong/.intermediates/codegen/gen/wayland_protocol_codegen/prefix_src_file_suffix", 123 cmd: "$(location host_tool) gen < $(in) > $(out)", 126 …-c '__SBOX_SANDBOX_DIR__/tools/src/out/host_tool gen < src_file_1 > __SBOX_SANDBOX_DIR__/out/prefi… 129 "out/soong/.intermediates/codegen/gen/wayland_protocol_codegen/prefix_src_file_1_suffix", 130 "out/soong/.intermediates/codegen/gen/wayland_protocol_codegen/prefix_src_file_2_suffix", 139 cmd: "$(location host_tool) gen < $(in) > $(out)", [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/cronet/third_party/icu/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/cronet/third_party/apache-portable-runtime/src/file_io/win32/ |
| D | pipe.c | 2 * contributor license agreements. See the NOTICE file distributed with 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 8 * http://www.apache.org/licenses/LICENSE-2.0 42 if (timeout == -1) { in apr_file_pipe_timeout_set() 43 thepipe->timeout = timeout; in apr_file_pipe_timeout_set() 46 if (!thepipe->pipe) { in apr_file_pipe_timeout_set() 49 if (timeout && !(thepipe->pOverlapped)) { in apr_file_pipe_timeout_set() 54 thepipe->timeout = timeout; in apr_file_pipe_timeout_set() 61 /* Always OK to get the timeout (even if it's unset ... -1) */ in apr_file_pipe_timeout_get() [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 27 import java.nio.file.Files 44 private val out = ByteArrayOutputStream() constant 60 * Scenario: someone _really_ wants to format this file, regardless of its extension. When a 61 * single argument file is given, it is used as is without filtering by extension. 64 fun `expandArgsToFileNames - single file arg is used as is`() { in expandArgsToFileNames - single file arg is used as is() 71 fun `expandArgsToFileNames - single arg which is not a file is not returned`() { in expandArgsToFileNames - single arg which is not a file is not returned() 77 …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 …]
|
| /external/guava/guava-tests/test/com/google/common/io/ |
| D | FileBackedOutputStreamTest.java | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 22 import static java.nio.file.attribute.PosixFilePermission.OWNER_READ; 23 import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE; 26 import java.io.File; 29 import java.nio.file.attribute.PosixFileAttributeView; 30 import java.nio.file.attribute.PosixFileAttributes; 58 FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize); in testThreshold() local 59 ByteSource source = out.asByteSource(); in testThreshold() 61 int chunk2 = dataSize - chunk1; in testThreshold() [all …]
|
| /external/guava/android/guava-tests/test/com/google/common/io/ |
| D | FileBackedOutputStreamTest.java | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 22 import static java.nio.file.attribute.PosixFilePermission.OWNER_READ; 23 import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE; 26 import java.io.File; 29 import java.nio.file.attribute.PosixFileAttributeView; 30 import java.nio.file.attribute.PosixFileAttributes; 58 FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize); in testThreshold() local 59 ByteSource source = out.asByteSource(); in testThreshold() 61 int chunk2 = dataSize - chunk1; in testThreshold() [all …]
|
| /external/mesa3d/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 217 if (tokens->tokens && tokens->tokens != error_tokens) in tokens_error() 218 FREE(tokens->tokens); in tokens_error() 220 tokens->tokens = error_tokens; in tokens_error() 221 tokens->size = ARRAY_SIZE(error_tokens); in tokens_error() 222 tokens->count = 0; in tokens_error() 229 unsigned old_size = tokens->size * sizeof(unsigned); in tokens_expand() 231 if (tokens->tokens == error_tokens) { in tokens_expand() [all …]
|
| /external/cronet/third_party/apache-portable-runtime/src/file_io/netware/ |
| D | pipe.c | 2 * contributor license agreements. See the NOTICE file distributed with 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 8 * http://www.apache.org/licenses/LICENSE-2.0 31 if (fcntl(thepipe->filedes, F_GETFL, &flags) != -1) in pipeblock() 34 fcntl(thepipe->filedes, F_SETFL, flags); in pipeblock() 38 fcntl(thepipe->filedes, F_SETFL, 0); in pipeblock() 44 thepipe->blocking = BLK_ON; in pipeblock() 54 if (fcntl(thepipe->filedes, F_GETFL, &flags) != -1) in pipenonblock() 57 fcntl(thepipe->filedes, F_SETFL, flags); in pipenonblock() [all …]
|