Home
last modified time | relevance | path

Searched refs:docstring (Results 1 – 25 of 214) sorted by relevance

123456789

/external/python/cpython2/Mac/Modules/res/
Dresedit.py52 f.docstring = lambda: """Convert a string to a Handle object.
70 docstring = "Return this resource/handle as a %s"%longname
71 f.docstring = lambda docstring=docstring: docstring
101 f.docstring = lambda: "(int)->int. Automatically DisposeHandle the object on Python object cleanup"
/external/tensorflow/tensorflow/python/data/experimental/ops/
Doptimization_options.py44 docstring=
51 docstring="Whether to use ChooseFastestBranchDataset with this "
107 docstring=
114 docstring=
121 docstring=
129 docstring=
138 docstring=
146 docstring=
152 docstring=
159 docstring=
[all …]
Dstats_options.py50 docstring=
56 docstring=
63 docstring="Prefix for the statistics recorded as counter.",
69 docstring=
Dthreading_options.py44 docstring=
50 docstring=
/external/python/cpython2/Mac/Modules/ctl/
Dctlsupport.py545 f.docstring = lambda: "(Point startPoint [,trackercallback]) -> (ControlPartCode _rv)"
581 f.docstring = lambda: "(Point startPoint, Integer modifiers, [,trackercallback]) -> (ControlPartCod…
611 f.docstring = lambda: "(stuff) -> None"
656 f.docstring = lambda: "(part, type) -> String"
685 f.docstring = lambda: "(ResObj) -> None"
728 f.docstring = lambda: "(part, type) -> ResObj"
760 f.docstring = lambda: "(callbackfunc) -> None"
821 f.docstring = lambda: "(WindowPtr window, Rect boundsRect, UInt16 size, UInt16 direction, ControlTa…
/external/tensorflow/tensorflow/python/tools/api/generator/
Ddoc_srcs.py33 def __init__(self, docstring=None, docstring_module_name=None): argument
34 self.docstring = docstring
37 if self.docstring is not None and self.docstring_module_name is not None:
/external/tensorflow/tensorflow/python/platform/
Dflags_test.py30 flag_name='old_string', default_value='default', docstring='docstring')
34 flag_name='old_integer', default_value=1, docstring='docstring')
38 flag_name='old_float', default_value=1.5, docstring='docstring')
42 flag_name='old_bool', default_value=True, docstring='docstring')
46 flag_name='old_boolean', default_value=False, docstring='docstring')
/external/brotli/
Dconfigure-cmake137 if [ "x${docstring}" = "x" ]; then
140 printf " --enable-%-14s %s\n" "${VAR_NAME}" "$docstring"
153 if [ "x${docstring}" = "x" ]; then
156 printf " --disable-%-13s %s\n" "${VAR_NAME}" "$docstring"
170 if [ "x${docstring}" = "x" ]; then
173 printf " --with-%-16s %s\n" "$paraminfo" "$docstring"
/external/python/cpython2/Mac/Modules/qd/
Dqdsupport.py293 f.docstring = lambda: """(int start, int size) -> string. Return bytes from the bitmap"""
310 f.docstring = lambda: """(int start, string data). Store bytes into the bitmap"""
343 f.docstring = lambda: """Take (string, int, Rect) argument and create BitMap"""
371 f.docstring = lambda: """Take string BitMap and turn into BitMap object"""
/external/libtextclassifier/abseil-cpp/absl/copts/
Dgenerate_copts.py45 def docstring(self): member in CMakeStyle
64 def docstring(self): member in StarlarkStyle
93 f.write(style.docstring())
/external/webrtc/third_party/abseil-cpp/absl/copts/
Dgenerate_copts.py45 def docstring(self): member in CMakeStyle
64 def docstring(self): member in StarlarkStyle
93 f.write(style.docstring())
/external/openscreen/third_party/abseil/src/absl/copts/
Dgenerate_copts.py45 def docstring(self): member in CMakeStyle
64 def docstring(self): member in StarlarkStyle
93 f.write(style.docstring())
/external/tensorflow/tensorflow/python/util/
Ddecorator_utils.py35 def _normalize_docstring(docstring): argument
50 if not docstring:
54 lines = docstring.expandtabs().splitlines()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/copts/
Dgenerate_copts.py45 def docstring(self): member in CMakeStyle
64 def docstring(self): member in StarlarkStyle
93 f.write(style.docstring())
/external/abseil-cpp/absl/copts/
Dgenerate_copts.py45 def docstring(self): member in CMakeStyle
64 def docstring(self): member in StarlarkStyle
93 f.write(style.docstring())
/external/python/cpython2/Mac/Modules/cf/
Dcfsupport.py568 f.docstring = lambda: "() -> (string _rv)"
586 f.docstring = lambda: "() -> (unicode _rv)"
599 f.docstring = lambda: "() -> (string _rv)"
625 f.docstring = lambda: "(CFOptionFlags mutabilityOption) -> (CFTypeRefObj)"
635 f.docstring = lambda: "() -> (python_object)"
659 f.docstring = lambda: "(python_object) -> (CF_object)"
/external/python/cpython2/Mac/Modules/carbonevt/
DCarbonEvtsupport.py247 f.docstring = lambda: "() -> None"
271 f.docstring = lambda: "(EventTypeSpec inSpec, Method callback) -> (EventHandlerRef outRef)"
307 f.docstring = lambda: "(EventParamName eventName, EventParamType eventType) -> (String eventParamDa…
/external/python/cpython3/Lib/test/
Dtest_clinic.py371 """.strip(), function.docstring)
395 """.strip(), function.docstring)
404 … self.assertEqual("stat($module, /, path)\n--\n\nThis/used to break Clinic!", function.docstring)
451 self.assertEqual(function.docstring.strip(), """
512 self.assertEqual(function.docstring.strip(), """
634 self.assertEqual("bar($module, /)\n--\n\nDocstring", function.docstring)
647 self.assertEqual("Bar()\n--\n\nDocstring", function.docstring)
750 """.strip(), function.docstring)
Dtest_compileall.py927 def create_code(self, docstring=False, assertion=False): argument
929 if docstring:
937 for docstring in (False, True):
939 code = self.create_code(docstring=docstring, assertion=assertion)
940 yield (code, docstring, assertion)
944 for code, docstring, assertion in self.iter_codes():
945 with self.subTest(docstring=docstring, assertion=assertion):
954 def check_hardlinks(self, script, docstring=False, assertion=False): argument
959 not assertion and not docstring)
961 not docstring)
[all …]
/external/tensorflow/tensorflow/python/data/util/
Doptions_test.py29 docstring="the answer to everything",
32 name="y", ty=float, docstring="a tasty pie", default_factory=lambda: 3.14)
37 name="opts", ty=_TestOptions, docstring="nested options")
/external/python/cpython2/Tools/bgen/bgen/
DbgenGenerator.py67 docstring = self.docstring()
72 Output(" PyDoc_STR(%s)},", stringify(docstring))
76 def docstring(self): member in BaseFunctionGenerator
145 def docstring(self): member in FunctionGenerator
/external/python/cpython2/Mac/Modules/file/
Dfilesupport.py849 f.docstring = lambda: "() -> string"
859 f.docstring = lambda: "() -> string"
877 f.docstring = lambda: "() -> string"
888 f.docstring = lambda: "() -> (vRefNum, dirID, name)"
906 f.docstring = lambda: "(str|unicode|FSSpec|FSref) -> pathname"
/external/python/cpython2/Mac/Modules/qdoffs/
Dqdoffssupport.py109 f.docstring = lambda: """(pixmap, int start, int size) -> string. Return bytes from the pixmap"""
127 f.docstring = lambda: """(pixmap, int start, string data). Store bytes into the pixmap"""
/external/python/cpython2/Demo/parser/
DREADME13 docstring.py -- sample source file containing only a module docstring.
/external/python/cpython3/Lib/
Ddoctest.py528 def __init__(self, examples, globs, name, filename, lineno, docstring): argument
536 self.docstring = docstring
558 self.docstring == other.docstring and \
565 return hash((self.docstring, self.name, self.filename, self.lineno))
1046 docstring = obj
1050 docstring = ''
1052 docstring = obj.__doc__
1053 if not isinstance(docstring, str):
1054 docstring = str(docstring)
1056 docstring = ''
[all …]

123456789