Home
last modified time | relevance | path

Searched +full:- +full:print +full:- +full:file +full:- +full:name (Results 1 – 25 of 1133) sorted by relevance

12345678910>>...46

/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
15 // * Neither the name of Google Inc. nor the names of its
60 "new", "or", "print", "private", "protected",
86 std::string GeneratedMetadataFileName(const FileDescriptor* file,
90 std::string UnderscoresToCamelCase(const string& name, bool cap_first_letter);
94 void GenerateAddFilesToPool(const FileDescriptor* file,
118 const FileDescriptor* file) { in ReservedNamePrefix() argument
132 if (file->package() == "google.protobuf") { in ReservedNamePrefix()
145 return StringReplace(desc->full_name(), in DescriptorFullName()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dpromote.py3 # Copyright 2016-2024 The Khronos Group Inc.
5 # SPDX-License-Identifier: Apache-2.0
10 # Usage: promote.py [-overwrite] [-out dir] [-suffix str] files
11 # -overwrite updates in place (can be risky, make sure there are backups)
12 # -out specifies directory to create output file in, default 'out'
13 # -suffix specifies suffix to add to output files, default ''
16 # For error and file-loading interfaces only
25 return 'promoted-' + str(anchor)
31 print('[[' + anchorname(anchor) + ']]', file=fp)
32 print('This anchor:', anchorname(anchor), file=fp)
[all …]
DgenRef.py3 # Copyright 2016-2024 The Khronos Group Inc.
5 # SPDX-License-Identifier: Apache-2.0
7 # genRef.py - create API ref pages from spec source files
39 # Other refpage types - SPIR-V builtins, API feature blocks, etc. - which do
49 def makeExtensionInclude(name): argument
51 - name - extension name"""
55 name,
59 def makeAPIInclude(type, name): argument
61 - type - type of the API, e.g. 'flags', 'handles', etc
62 - name - name of the API"""
[all …]
/third_party/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
15 // * Neither the name of Google Inc. nor the names of its
33 // This module outputs pure-Python protocol message classes that will
42 // performance-minded Python code leverage the fast C++ implementation
73 return sp.size() >= x.size() && sp.substr(sp.size() - x.size()) == x; in StrEndsWith()
85 // Returns the Python module name expected for a given .proto filename.
88 ReplaceCharacters(&basename, "-", '_'); in ModuleName()
99 // We can't have dots in the module name, so we replace each with _dot_. in ModuleAlias()
114 "return", "try", "while", "with", "yield", "print",
[all …]
/third_party/mksh/
Dcheck.pl3 #-
10 # is granted to deal in this work without restriction, including un-
22 #-
24 # name: a-test
27 # arguments: !-x!-f!
29 # echo -n *
31 # expected-stdout: !
33 # expected-stderr:
34 # + echo -n *
36 # expected-exit: 1
[all …]
Dcheck.t2 # -*- mode: sh -*-
3 #-
23 #-
28 # http://svnweb.freebsd.org/base/head/bin/test/tests/legacy_test.sh?view=co&content-type=text%2Fpla…
31 # (2013/12/02 20:39:44) http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress/bin/ksh/?sortby=date
33 expected-stdout:
40 name: KSH_VERSION
41 ---
42 expected-stdout:
48 name: KSH_VERSION-modern
[all …]
/third_party/python/Tools/scripts/
Dparse_html5_entities.py20 """Download the json file from the url and returns a decoded object."""
22 data = f.read().decode('utf-8')
28 for name, value in entities.items():
29 new_html5[name.lstrip('&')] = value['characters']
33 """Compare the old and new dicts and print the differences."""
34 added = new.keys() - old.keys()
36 print('{} entitie(s) have been added:'.format(len(added)))
37 for name in sorted(added):
38 print(' {!r}: {!r}'.format(name, new[name]))
39 removed = old.keys() - new.keys()
[all …]
Dtexi2html.py3 # Convert GNU texinfo files into HTML, one file per node.
5 # Usage: texi2html [-d] [-d] [-c] inputfile outputdirectory
6 # The input file must be a complete texinfo file, e.g. emacs.texi.
8 # overwriting existing files of the same name. All files created have
13 # - handle @comment*** correctly
14 # - handle @xref {some words} correctly
15 # - handle @ftable correctly (items aren't indexed?)
16 # - handle @itemx properly
17 # - handle @exdent properly
18 # - add links directly to the proper line from indices
[all …]
Dobjgraph.py5 # Read "nm -o" input of a set of libraries or modules and print various
8 # - which names are used but not defined in the set (and used where),
9 # - which names are defined in the set (and where),
10 # - which modules use which other modules,
11 # - which modules are used by which other modules.
13 # Usage: objgraph [-cdu] [file] ...
14 # -c: print callers per objectfile
15 # -d: print callees per objectfile
16 # -u: print usage of undefined symbols
17 # If none of -cdu is specified, all are assumed.
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/scripts/
Dupdate.py6 # you may not use this file except in compliance with the License.
9 # http://www.apache.org/licenses/LICENSE-2.0
29 # LLVM_BRANCH must match the value of the same variable in third_party/update-llvm-10.sh
32 … must be set to the commit hash that we last updated to when running third_party/update-llvm-10.sh.
33 # Run 'git show -s origin/llvm10-clean' and look for 'llvm-10-update: <hash>' to retrieve it.
37 LLVM_STAGING_DIR = path.abspath(path.join(tempfile.gettempdir(), "llvm-10"))
51 # Per-platform arches
54 ('__x86_64__', 'x86_64-linux-android'),
55 ('__i386__', 'i686-linux-android'),
56 ('__arm__', 'armv7-linux-androideabi'),
[all …]
/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
15 // * Neither the name of Google Inc. nor the names of its
80 if (field->has_optional_keyword() && in LabelForField()
81 field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3) { in LabelForField()
84 switch (field->label()) { in LabelForField()
93 switch (field->type()) { in TypeName()
131 switch(field->cpp_type()) { in DefaultValueForField()
133 return NumberToString(field->default_value_int32()); in DefaultValueForField()
135 return NumberToString(field->default_value_int64()); in DefaultValueForField()
[all …]
/third_party/toybox/tests/
Dfind.test3 [ -f testing.sh ] && . testing.sh
7 touch file
9 # fs timestamp granularity isn't always enough for -newer to tell, so wait
11 ln -s fifo link
16 touch perm/all-read-only
17 chmod a=r perm/all-read-only
19 #testing "name" "command" "result" "infile" "stdin"
23 testing "-type l -a -type d -o -type p" \
24 "find dir -type l -a -type d -o -type p" "dir/fifo\n" "" ""
25 testing "-type l -type d -o -type p" "find dir -type l -type d -o -type p" \
[all …]
/third_party/icu/tools/scripts/
Dbldicures.py1 #!/usr/bin/python -B
6 # Copyright (C) 2013-2014 IBM Corporation and Others. All Rights Reserved.
8 print("NOTE: this tool is a TECHNOLOGY PREVIEW and not a supported ICU tool.")
10 # @author Steven R. Loomis <srl@icu-project.org>
19 ##$ rm -rf ./out
20 ##$ bldicures.py --name myapp --from ./loc -d ./out
23 # use 'bldicures.py --help' for help.
36 # for utf-8
38 #sys.setdefaultencoding("utf-8")
45 … ICU Resource Builder', epilog='ICU tool, http://icu-project.org - master copy at http://source.ic…
[all …]
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_enum.cc1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
15 // * Neither the name of Google Inc. nor the names of its
57 name_resolver_(context->GetNameResolver()) { in EnumGenerator()
58 for (int i = 0; i < descriptor_->value_count(); i++) { in EnumGenerator()
59 const EnumValueDescriptor* value = descriptor_->value(i); in EnumGenerator()
61 descriptor_->FindValueByNumber(value->number()); in EnumGenerator()
79 printer->Print( in Generate()
82 "classname", descriptor_->name()); in Generate()
83 printer->Annotate("classname", descriptor_); in Generate()
[all …]
Djava_enum_field.cc1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
15 // * Neither the name of Google Inc. nor the names of its
63 name_resolver->GetImmutableClassName(descriptor->enum_type()); in SetEnumVariables()
65 name_resolver->GetMutableClassName(descriptor->enum_type()); in SetEnumVariables()
68 StrCat(descriptor->default_value_enum()->number()); in SetEnumVariables()
72 internal::WireFormat::TagSize(descriptor->number(), GetType(descriptor))); in SetEnumVariables()
76 descriptor->options().deprecated() ? "@java.lang.Deprecated " : ""; in SetEnumVariables()
104 (*variables)["name"] + "_ != " + (*variables)["default"] + in SetEnumVariables()
125 if (SupportUnknownEnumValue(descriptor->file())) { in SetEnumVariables()
[all …]
/third_party/python/Lib/ctypes/
Dutil.py6 # find_library(name) returns the pathname of a library, or None.
7 if os.name == "nt":
18 if i == -1:
22 majorVersion = int(s[:-2]) - 6
35 """Return the name of the VC runtime dll"""
55 def find_library(name): argument
56 if name in ('c', 'm'):
60 fname = os.path.join(directory, name)
70 elif os.name == "posix" and sys.platform == "darwin":
72 def find_library(name): argument
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/
DfixupRef.py3 # Copyright 2016-2024 The Khronos Group Inc.
5 # SPDX-License-Identifier: Apache-2.0
7 # fixupRef.py - replace old // refBegin .. // refEnd syntax with new
10 # Usage: fixupRef.py [-outdir path] [-overwrite] files
30 print("[open,refpage='" + pi.name +
34 file=fp)
36 print("[open,refpage='" + pi.name +
39 file=fp)
40 print('--', file=fp)
44 print('--', file=fp)
[all …]
/third_party/vk-gl-cts/external/vulkancts/scripts/
Dgen_vulkan_header.py7 # you may not use this file except in compliance with the License.
10 # http://www.apache.org/licenses/LICENSE-2.0
47 if "_SPEC_VERSION" in y.get("name"):
62 name = x.get("name")
65 baseextensions[name] = specver
67 if name not in currentheader:
69 missing.append(name)
72 print ("!! Warning: Current header contains extension with version 0:", name)
74 print ("!! Warning: Current header contains extension with unknown version:", name)
76 print ("!! Warning: current header does not include following base extension(s)")
[all …]
/third_party/mesa3d/src/freedreno/registers/
Dgen_header.py12 def __init__(self, name): argument
13 self.name = name
19 for (name, value) in self.values:
23 print("enum %s {" % self.name)
24 for (name, value) in self.values:
26 print("\t%s = 0x%08x," % (name, value))
28 print("\t%s = %d," % (name, value))
29 print("};\n")
35 def __init__(self, name, low, high, shr, type, parser): argument
36 self.name = name
[all …]
/third_party/skia/third_party/externals/libpng/scripts/
Doptions.awk1 #!/bin/awk -f
2 # scripts/options.awk - library build configuration control
4 # last changed in libpng version 1.6.11 - June 5, 2014
6 # Copyright (c) 1998-2014 Glenn Randers-Pehrson
12 # The output of this script is written to the file given by
14 # an intermediate output file, 'options.tmp' then again on
15 # that file to produce the final output:
17 # awk -f scripts/options.awk out=options.tmp scripts/options.dfa 1>&2
18 # awk -f scripts/options.awk out=options.dfn options.tmp 1>&2
29 # These options may also be specified in the original input file (and
[all …]
/third_party/EGL/sdk/docs/man/html/
Dmakeindex.py3 # Copyright (c) 2013-2014 The Khronos Group Inc.
28 print('Usage:', sys.argv[0], ' gendir srcdir accordfilename flatfilename', file=sys.stderr)
35 …# print(' gendir = ', gendir, ' srcdir = ', srcdir, 'accordfilename = ', accordfilename, 'flatfile…
37 print('Unknown invocation mode', file=sys.stderr)
53 # Docbook source and generated HTML 5 file extensions
60 # Feature - class representing a command or function to be indexed, used
61 # as dictionary values keyed by the feature name to be indexed.
64 # file - name of file containing the feature
65 # feature - feature name for the index (basis for the dictionary key).
66 # alias - True if this is an alias of another feature in the file.
[all …]
/third_party/skia/third_party/externals/egl-registry/sdk/docs/man/html/
Dmakeindex.py3 # Copyright (c) 2013-2014 The Khronos Group Inc.
28 print('Usage:', sys.argv[0], ' gendir srcdir accordfilename flatfilename', file=sys.stderr)
35 …# print(' gendir = ', gendir, ' srcdir = ', srcdir, 'accordfilename = ', accordfilename, 'flatfile…
37 print('Unknown invocation mode', file=sys.stderr)
53 # Docbook source and generated HTML 5 file extensions
60 # Feature - class representing a command or function to be indexed, used
61 # as dictionary values keyed by the feature name to be indexed.
64 # file - name of file containing the feature
65 # feature - feature name for the index (basis for the dictionary key).
66 # alias - True if this is an alias of another feature in the file.
[all …]
/third_party/python/Lib/
Dpstats.py11 # you may not use this file except in compliance with the License.
14 # http://www.apache.org/licenses/LICENSE-2.0
42 NAME = 'name' variable in SortKey
83 method now take arbitrarily many file names as arguments.
85 All the print methods now take an argument that indicates how many lines
86 to print. If the arg is a floating point number between 0 and 1.0, then
88 (e.g., .1 means print 10% of all available lines). If it is an integer,
93 addition to the old -1, 0, 1, or 2 that are respectively interpreted as
98 For example sort_stats('time', 'name') or sort_stats(SortKey.TIME,
99 SortKey.NAME) sorts on the major key of 'internal function time', and on
[all …]
/third_party/skia/infra/bots/recipe_modules/flavor/examples/full.expected/
DPerf-Android-Clang-NVIDIA_Shield-CPU-TegraX1-arm64-Release-All-Android.json5 "-u",
8 "name": "get swarming bot id", string
11 "@@@STEP_LOG_LINE@python.inline@print(os.environ.get('SWARMING_BOT_ID', ''))@@@",
17 "/opt/infra-android/tools/adb",
19 "file.txt",
20 "file.txt"
24 "ADB_VENDOR_KEYS": "/home/chrome-bot/.android/chrome_infrastructure_adbkey",
29 "name": "push file.txt file.txt" string
33 "/opt/infra-android/tools/adb",
36 "file.txt"
[all …]
/third_party/node/deps/v8/tools/
Dv8_presubmit.py14 # * Neither the name of Google Inc. nor the names of its
49 def decode(arg, encoding="utf-8"):
60 # whitespace/braces: Doesn't handle {}-initialization for custom types
61 # well; also should be subsumed by clang-format.
64 -build/header_guard
65 -build/include_what_you_use
66 -readability/fn_size
67 -readability/multiline_comment
68 -runtime/references
69 -whitespace/braces
[all …]

12345678910>>...46