Home
last modified time | relevance | path

Searched refs:annotations (Results 1 – 25 of 482) sorted by relevance

12345678910>>...20

/third_party/typescript/tests/baselines/reference/
DjsDeclarationsClassesErr.errors.txt2 tests/cases/conformance/jsdoc/declarations/index.js(5,12): error TS8010: Type annotations can only …
5 tests/cases/conformance/jsdoc/declarations/index.js(9,12): error TS8010: Type annotations can only …
6 tests/cases/conformance/jsdoc/declarations/index.js(13,11): error TS8010: Type annotations can only…
7 tests/cases/conformance/jsdoc/declarations/index.js(19,11): error TS8010: Type annotations can only…
8 tests/cases/conformance/jsdoc/declarations/index.js(23,11): error TS8010: Type annotations can only…
9 tests/cases/conformance/jsdoc/declarations/index.js(27,11): error TS8010: Type annotations can only…
10 tests/cases/conformance/jsdoc/declarations/index.js(28,11): error TS8010: Type annotations can only…
11 tests/cases/conformance/jsdoc/declarations/index.js(32,11): error TS8010: Type annotations can only…
12 tests/cases/conformance/jsdoc/declarations/index.js(39,11): error TS8010: Type annotations can only…
13 tests/cases/conformance/jsdoc/declarations/index.js(43,11): error TS8010: Type annotations can only…
[all …]
DgetJavaScriptSyntacticDiagnostics02.baseline2 /tests/cases/fourslash/server/b.js(2,8): error TS8010: Type annotations can only be used in TypeScr…
3 /tests/cases/fourslash/server/b.js(3,17): error TS8010: Type annotations can only be used in TypeSc…
13 !!! error TS8010: Type annotations can only be used in TypeScript files.
16 !!! error TS8010: Type annotations can only be used in TypeScript files.
DAPISample_jsdoc.js67 …const annotations: Annotations = jsDocTags.reduce((result: Annotations, jsDocTag: ts.JSDocTagInfo)… constant
75 return Object.keys(annotations).length ? annotations : undefined;
169 var annotations = jsDocTags.reduce(function (result, jsDocTag) {
176 return Object.keys(annotations).length ? annotations : undefined;
DfillInMissingTypeArgsOnJSConstructCalls.errors.txt4 tests/cases/compiler/BaseB.js(3,14): error TS8010: Type annotations can only be used in TypeScript …
6 tests/cases/compiler/BaseB.js(4,25): error TS8010: Type annotations can only be used in TypeScript …
29 !!! error TS8010: Type annotations can only be used in TypeScript files.
34 !!! error TS8010: Type annotations can only be used in TypeScript files.
/third_party/glib/gio/gdbus-2.0/codegen/
Ddbustypes.py30 self.annotations = []
36 self.annotations, "org.gtk.GDBus.C.Name"
51 self.since = utils.lookup_since(self.annotations)
55 for a in self.annotations:
63 self.annotations = []
69 self.doc_string = utils.lookup_docs(self.annotations)
71 self.since = utils.lookup_since(self.annotations)
89 self.annotations, "org.gtk.GDBus.C.ForceGVariant"
262 for a in self.annotations:
272 self.annotations = []
[all …]
Dutils.py123 def lookup_annotation(annotations, key): argument
124 if annotations:
125 for a in annotations:
131 def lookup_docs(annotations): argument
132 s = lookup_annotation(annotations, "org.gtk.GDBus.DocString")
139 def lookup_since(annotations): argument
140 s = lookup_annotation(annotations, "org.gtk.GDBus.Since")
147 def lookup_brief_docs(annotations): argument
148 s = lookup_annotation(annotations, "org.gtk.GDBus.DocString.Short")
Dparser.py151 self._cur_object.annotations.append(anno)
186 self._cur_object.annotations.append(anno)
215 self._cur_object.annotations.append(anno)
243 self._cur_object.annotations.append(anno)
263 self._cur_object.annotations.append(anno)
272 self._cur_object.annotations.append(anno)
281 self._cur_object.annotations.append(anno)
/third_party/glib/gio/
Dgdbusintrospection.c71 GPtrArray *annotations; member
267 free_null_terminated_array (info->annotations, (GDestroyNotify) g_dbus_annotation_info_unref); in g_dbus_annotation_info_unref()
291 free_null_terminated_array (info->annotations, (GDestroyNotify) g_dbus_annotation_info_unref); in g_dbus_arg_info_unref()
316 free_null_terminated_array (info->annotations, (GDestroyNotify) g_dbus_annotation_info_unref); in g_dbus_method_info_unref()
340 free_null_terminated_array (info->annotations, (GDestroyNotify) g_dbus_annotation_info_unref); in g_dbus_signal_info_unref()
364 free_null_terminated_array (info->annotations, (GDestroyNotify) g_dbus_annotation_info_unref); in g_dbus_property_info_unref()
390 free_null_terminated_array (info->annotations, (GDestroyNotify) g_dbus_annotation_info_unref); in g_dbus_interface_info_unref()
415 free_null_terminated_array (info->annotations, (GDestroyNotify) g_dbus_annotation_info_unref); in g_dbus_node_info_unref()
438 info->annotations = embedded_annotations; in g_dbus_annotation_info_set()
446 GDBusAnnotationInfo **annotations) in g_dbus_arg_info_set() argument
[all …]
Dgdbusintrospection.h49 GDBusAnnotationInfo **annotations; member
69 GDBusAnnotationInfo **annotations; member
91 GDBusAnnotationInfo **annotations; member
111 GDBusAnnotationInfo **annotations; member
133 GDBusAnnotationInfo **annotations; member
157 GDBusAnnotationInfo **annotations; member
179 GDBusAnnotationInfo **annotations; member
183 const gchar *g_dbus_annotation_info_lookup (GDBusAnnotationInfo **annotations,
/third_party/protobuf/src/google/protobuf/compiler/
Dannotation_test_util.cc105 std::vector<const GeneratedCodeInfo::Annotation*>* annotations) { in FindAnnotationsOnPath() argument
119 annotations->push_back(annotation); in FindAnnotationsOnPath()
127 std::vector<const GeneratedCodeInfo::Annotation*> annotations; in FindAnnotationOnPath() local
128 FindAnnotationsOnPath(info, source_file, path, &annotations); in FindAnnotationOnPath()
129 if (annotations.empty()) { in FindAnnotationOnPath()
132 return annotations[0]; in FindAnnotationOnPath()
137 const std::vector<const GeneratedCodeInfo::Annotation*>& annotations, in AtLeastOneAnnotationMatchesSubstring() argument
140 i = annotations.begin(), in AtLeastOneAnnotationMatchesSubstring()
141 e = annotations.end(); in AtLeastOneAnnotationMatchesSubstring()
159 std::vector<const GeneratedCodeInfo::Annotation*> annotations; in AnnotationMatchesSubstring() local
[all …]
Dmock_code_generator.cc171 GeneratedCodeInfo annotations; in CheckGeneratedAnnotations() local
172 GOOGLE_CHECK(TextFormat::ParseFromString(meta_content, &annotations)); in CheckGeneratedAnnotations()
173 ASSERT_EQ(3, annotations.annotation_size()); in CheckGeneratedAnnotations()
175 annotations.annotation(0)); in CheckGeneratedAnnotations()
177 annotations.annotation(1)); in CheckGeneratedAnnotations()
179 annotations.annotation(2)); in CheckGeneratedAnnotations()
267 GeneratedCodeInfo annotations; in Generate() local
269 &annotations); in Generate()
296 if (!TextFormat::Print(annotations, meta_output.get())) { in Generate()
/third_party/python/Doc/howto/
Dannotations.rst12 for working with annotations dicts. If you write Python code
17 best practices for accessing the annotations of an object
19 best practices for accessing the annotations of an object
27 ``__annotations__``, not uses *for* annotations.
38 accessing the annotations dict of any object that supports
39 annotations. This function can also "un-stringize"
40 stringized annotations for you.
50 to get at the object's annotations dict.
64 In Python 3.9 and older, accessing the annotations dict
67 specifically to do with class annotations.
[all …]
/third_party/ffmpeg/libavformat/
Dau.c249 static int au_get_annotations(AVFormatContext *s, AVBPrint *annotations) in au_get_annotations() argument
266 av_bprint_chars(annotations, '\n', 1); in au_get_annotations()
267 av_bprintf(annotations, "%s=%s", keys[i], t->value); in au_get_annotations()
272 av_bprint_chars(annotations, '\0', 8); in au_get_annotations()
273 return av_bprint_is_complete(annotations) ? 0 : AVERROR(ENOMEM); in au_get_annotations()
282 AVBPrint annotations; in au_write_header() local
295 av_bprint_init(&annotations, 0, INT_MAX - 24); in au_write_header()
296 ret = au_get_annotations(s, &annotations); in au_write_header()
299 au->header_size = 24 + annotations.len & ~7; in au_write_header()
307 avio_write(pb, annotations.str, annotations.len & ~7); in au_write_header()
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/
Dtypedef.md1 # Requires type annotations to exist (`typedef`)
4 Some locations require type annotations for their types to be inferred.
19 **_Note:_** requiring type annotations unnecessarily can be cumbersome to maintain and generally re…
20 TypeScript is often better at inferring types than easily written type annotations would allow.
22 … and `--strictPropertyInitialization` compiler options to enforce type annotations only when usefu…
26 This rule can enforce type annotations in locations regardless of whether they're required.
73 - Type annotations on arrow function parameters are required
74 - Type annotations on variables are required
78 Whether to enforce type annotations on variables declared using array destructuring.
100 Whether to enforce type annotations for parameters of arrow functions.
[all …]
/third_party/flatbuffers/kotlin/benchmark/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/benchmark/
DJsonBenchmark.kt29 import org.openjdk.jmh.annotations.Benchmark
30 import org.openjdk.jmh.annotations.BenchmarkMode
31 import org.openjdk.jmh.annotations.Measurement
32 import org.openjdk.jmh.annotations.Mode
33 import org.openjdk.jmh.annotations.OutputTimeUnit
34 import org.openjdk.jmh.annotations.Scope
35 import org.openjdk.jmh.annotations.State
DUTF8Benchmark.kt22 import org.openjdk.jmh.annotations.Benchmark
23 import org.openjdk.jmh.annotations.BenchmarkMode
24 import org.openjdk.jmh.annotations.Measurement
25 import org.openjdk.jmh.annotations.Mode
26 import org.openjdk.jmh.annotations.OutputTimeUnit
27 import org.openjdk.jmh.annotations.Scope
28 import org.openjdk.jmh.annotations.Setup
29 import org.openjdk.jmh.annotations.State
DFlexBuffersBenchmark.kt24 import org.openjdk.jmh.annotations.Benchmark
25 import org.openjdk.jmh.annotations.BenchmarkMode
26 import org.openjdk.jmh.annotations.Measurement
27 import org.openjdk.jmh.annotations.Mode
28 import org.openjdk.jmh.annotations.OutputTimeUnit
29 import org.openjdk.jmh.annotations.Scope
30 import org.openjdk.jmh.annotations.Setup
31 import org.openjdk.jmh.annotations.State
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_generator.cc141 GeneratedCodeInfo annotations; in Generate() local
143 &annotations); in Generate()
153 annotations.SerializeToZeroCopyStream(info_output.get()); in Generate()
160 GeneratedCodeInfo annotations; in Generate() local
162 &annotations); in Generate()
172 annotations.SerializeToZeroCopyStream(info_output.get()); in Generate()
/third_party/protobuf/src/google/protobuf/io/
Dprinter.cc282 std::vector<AnnotationCollector::Annotation> annotations; in FormatInternal() local
287 format = WriteVariable(args, vars, format, &arg_index, &annotations); in FormatInternal()
302 if (!annotations.empty()) { in FormatInternal()
310 int* arg_index, std::vector<AnnotationCollector::Annotation>* annotations) { in WriteVariable() argument
337 annotations->push_back({{offset_, 0}, args[idx]}); in WriteVariable()
340 GOOGLE_CHECK(annotations); in WriteVariable()
341 if (annotations->empty()) { in WriteVariable()
344 auto& a = annotations->back(); in WriteVariable()
347 annotations->pop_back(); in WriteVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dflatten_decoration_pass.cpp46 auto annotations = context()->annotations(); in Process() local
50 for (const auto& inst : annotations) { in Process()
74 auto inst_iter = annotations.begin(); in Process()
76 while (inst_iter != context()->annotations().end()) { in Process()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dflatten_decoration_pass.cpp46 auto annotations = context()->annotations(); in Process() local
50 for (const auto& inst : annotations) { in Process()
74 auto inst_iter = annotations.begin(); in Process()
76 while (inst_iter != context()->annotations().end()) { in Process()
/third_party/spirv-tools/source/opt/
Dflatten_decoration_pass.cpp46 auto annotations = context()->annotations(); in Process() local
50 for (const auto& inst : annotations) { in Process()
74 auto inst_iter = annotations.begin(); in Process()
76 while (inst_iter != context()->annotations().end()) { in Process()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dflatten_decoration_pass.cpp45 auto annotations = module->annotations(); in Process() local
49 for (const auto& inst : annotations) { in Process()
73 auto inst_iter = annotations.begin(); in Process()
75 while (inst_iter != module->annotations().end()) { in Process()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dsemantics_debugger.dart234 final List<String> annotations = <String>[];
238 annotations.add(data.hasFlag(SemanticsFlag.isChecked) ? 'checked' : 'unchecked');
242 annotations.add('textfield');
248 annotations.add('button');
251 annotations.add('disabled');
255 annotations.add('long-pressable');
266 annotations.add('scrollable');
269 annotations.add('adjustable');
274 message = annotations.join('; ');
279 annotations.insert(0, 'MISSING TEXT DIRECTION');
[all …]
/third_party/mindspore/tests/ut/cpp/mindrecord/
Dut_common.cc190 std::vector<json> annotations; in ShardWriterImageNet() local
191 LoadDataFromImageNet("./data/mindrecord/testImageNetData/annotation.txt", annotations, 10); in ShardWriterImageNet()
195 rawdatas.insert(pair<uint64_t, vector<json>>(anno_schema_id, annotations)); in ShardWriterImageNet()
270 std::vector<json> annotations; in ShardWriterImageNetOneSample() local
271 LoadDataFromImageNet("./data/mindrecord/testImageNetData/annotation.txt", annotations, 1); in ShardWriterImageNetOneSample()
275 rawdatas.insert(pair<uint64_t, vector<json>>(anno_schema_id, annotations)); in ShardWriterImageNetOneSample()
358 std::vector<json> annotations; in ShardWriterImageNetOpenForAppend() local
359 LoadDataFromImageNet("./data/mindrecord/testImageNetData/annotation.txt", annotations, 1); in ShardWriterImageNetOpenForAppend()
363 rawdatas.insert(pair<uint64_t, vector<json>>(anno_schema_id, annotations)); in ShardWriterImageNetOpenForAppend()

12345678910>>...20