Home
last modified time | relevance | path

Searched refs:descr (Results 1 – 25 of 127) sorted by relevance

123456

/third_party/python/Objects/
Ddescrobject.c19 descr_dealloc(PyDescrObject *descr) in descr_dealloc() argument
21 _PyObject_GC_UNTRACK(descr); in descr_dealloc()
22 Py_XDECREF(descr->d_type); in descr_dealloc()
23 Py_XDECREF(descr->d_name); in descr_dealloc()
24 Py_XDECREF(descr->d_qualname); in descr_dealloc()
25 PyObject_GC_Del(descr); in descr_dealloc()
29 descr_name(PyDescrObject *descr) in descr_name() argument
31 if (descr->d_name != NULL && PyUnicode_Check(descr->d_name)) in descr_name()
32 return descr->d_name; in descr_name()
37 descr_repr(PyDescrObject *descr, const char *format) in descr_repr() argument
[all …]
Dclassobject.c181 PyObject *descr = NULL; in method_getattro() local
188 descr = _PyType_Lookup(tp, name); in method_getattro()
191 if (descr != NULL) { in method_getattro()
192 descrgetfunc f = TP_DESCR_GET(Py_TYPE(descr)); in method_getattro()
194 return f(descr, obj, (PyObject *)Py_TYPE(obj)); in method_getattro()
196 Py_INCREF(descr); in method_getattro()
197 return descr; in method_getattro()
428 PyObject *descr = NULL; in instancemethod_getattro() local
434 descr = _PyType_Lookup(tp, name); in instancemethod_getattro()
436 if (descr != NULL) { in instancemethod_getattro()
[all …]
Dobject.c1128 PyObject *descr; in _PyObject_GetMethod() local
1145 descr = _PyType_Lookup(tp, name); in _PyObject_GetMethod()
1146 if (descr != NULL) { in _PyObject_GetMethod()
1147 Py_INCREF(descr); in _PyObject_GetMethod()
1148 if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) { in _PyObject_GetMethod()
1151 f = Py_TYPE(descr)->tp_descr_get; in _PyObject_GetMethod()
1152 if (f != NULL && PyDescr_IsData(descr)) { in _PyObject_GetMethod()
1153 *method = f(descr, obj, (PyObject *)Py_TYPE(obj)); in _PyObject_GetMethod()
1154 Py_DECREF(descr); in _PyObject_GetMethod()
1168 Py_XDECREF(descr); in _PyObject_GetMethod()
[all …]
/third_party/parse5/test/utils/
Dparse-dat-file.ts56 return testDescrs.map((descr) => {
57 const fragmentContextTagName = (descr['#document-fragment'] as string[] | undefined)?.[0];
60 input: (descr['#data'] as string[]).join('\n'),
61 expected: (descr['#document'] as string[]).join('\n'),
62 expectedErrors: descr['#new-errors'] || [],
63 disableEntitiesDecoding: !!descr['#disable-html-entities-decoding'],
64 lineNum: descr['#line'],
65 scriptingEnabled: !descr['#script-off'],
Dgenerate-tokenization-tests.ts187 for (const descr of testDescrs) { constant
188 if (!descr.initialStates) {
189 descr.initialStates = ['Data state'];
192 if (descr.doubleEscaped) {
193 unescapeDescrIO(descr);
196 const expected = descr.output;
198 for (const initialStateName of descr.initialStates) {
202 name: descr.description,
203 input: descr.input,
207 lastStartTag: descr.lastStartTag,
[all …]
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_function.c101 struct func_descr descr; member
114 const struct func_descr *descr = (const struct func_descr *)data; in func_compare_to_name_and_overload() local
116 if (f->descr.overload < descr->overload) in func_compare_to_name_and_overload()
118 if (f->descr.overload > descr->overload) in func_compare_to_name_and_overload()
121 return strcmp(f->descr.name, descr->name); in func_compare_to_name_and_overload()
144 struct func_descr descr = { name, overload }; in dxil_get_function() local
145 const struct rb_node *node = rb_tree_search(mod->functions, &descr, in dxil_get_function()
156 return func_compare_to_name_and_overload(lhs, &node->descr); in func_compare_name()
165 f->descr.name = name; in dxil_add_function()
166 f->descr.overload = overload; in dxil_add_function()
/third_party/ffmpeg/tools/
Dmake_chlayout_test88 my ($name, $descr) = split " ", $_, 2;
89 next unless $descr;
90 if ($descr =~ /^[[:upper:]]+(?:\+[[:upper:]]+)*$/) {
91 $layout_to_channels{$name} = [ split /\+/, $descr ];
93 $channel_label_to_descr{$name} = $descr;
105 my $descr = $channel_label_to_descr{$label}
107 $graph .= "flite=text='${descr}', aformat=channel_layouts=mono, " .
/third_party/lzma/C/
D7zVersion.rc22 #define MY_VERSION_INFO(fileType, descr, intName, origName) \
38 VALUE "FileDescription", descr \
53 #define MY_VERSION_INFO_APP(descr, intName) MY_VERSION_INFO(MY_VFT_APP, descr, intName, intName ".e…
55 #define MY_VERSION_INFO_DLL(descr, intName) MY_VERSION_INFO(MY_VFT_DLL, descr, intName, intName ".d…
/third_party/gstreamer/gstplugins_base/tests/check/pipelines/
Dsimple-launch-lines.c49 run_pipeline (GstElement * pipe, const gchar * descr, in run_pipeline() argument
62 GST_STATE_CHANGE_FAILURE, "Could not set pipeline %s to playing", descr); in run_pipeline()
65 g_critical ("Pipeline '%s' failed to go to PLAYING fast enough", descr); in run_pipeline()
68 g_critical ("Pipeline '%s' failed to go into PLAYING state", descr); in run_pipeline()
88 tevent, descr); in run_pipeline()
95 revent, gst_message_type_get_name (revent), tevent, descr); in run_pipeline()
100 GST_STATE_CHANGE_FAILURE, "Could not set pipeline %s to NULL", descr); in run_pipeline()
Dgl-launch-lines.c48 run_pipeline (GstElement * pipe, const gchar * descr, in run_pipeline() argument
61 GST_STATE_CHANGE_FAILURE, "Could not set pipeline %s to playing", descr); in run_pipeline()
64 g_critical ("Pipeline '%s' failed to go to PAUSED fast enough", descr); in run_pipeline()
68 g_critical ("Pipeline '%s' failed to go into PAUSED state (%s)", descr, in run_pipeline()
88 tevent, descr); in run_pipeline()
95 revent, gst_message_type_get_name (revent), tevent, descr); in run_pipeline()
100 GST_STATE_CHANGE_FAILURE, "Could not set pipeline %s to NULL", descr); in run_pipeline()
/third_party/ffmpeg/libavfilter/
Dasrc_sine.c53 #define OPT_GENERIC(name, field, def, min, max, descr, type, deffield, ...) \ argument
54 { name, descr, offsetof(CONTEXT, field), AV_OPT_TYPE_ ## type, \
57 #define OPT_INT(name, field, def, min, max, descr, ...) \ argument
58 OPT_GENERIC(name, field, def, min, max, descr, INT, i64, __VA_ARGS__)
60 #define OPT_DBL(name, field, def, min, max, descr, ...) \ argument
61 OPT_GENERIC(name, field, def, min, max, descr, DOUBLE, dbl, __VA_ARGS__)
63 #define OPT_DUR(name, field, def, min, max, descr, ...) \ argument
64 OPT_GENERIC(name, field, def, min, max, descr, DURATION, str, __VA_ARGS__)
66 #define OPT_STR(name, field, def, min, max, descr, ...) \ argument
67 OPT_GENERIC(name, field, def, min, max, descr, STRING, str, __VA_ARGS__)
Daf_asetrate.c34 #define OPT_GENERIC(name, field, def, min, max, descr, type, deffield, ...) \ argument
35 { name, descr, offsetof(CONTEXT, field), AV_OPT_TYPE_ ## type, \
38 #define OPT_INT(name, field, def, min, max, descr, ...) \ argument
39 OPT_GENERIC(name, field, def, min, max, descr, INT, i64, __VA_ARGS__)
/third_party/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi.c58 char descr[4096], sysfs_path[4096]; in tc_acpi_str() local
73 if (read_sysfs_file(dev_str, descr, 4096)) { in tc_acpi_str()
77 tst_resm(TINFO, "read description %s", descr); in tc_acpi_str()
117 int res = strncmp(descr, sysfs_descr, strlen(descr)); in tc_acpi_str()
/third_party/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create02.c27 char *descr; member
76 tc->descr); in verify_memfd_create_errno()
82 tst_brk(TFAIL, "test '%s'", tc->descr); in verify_memfd_create_errno()
84 tst_res(TPASS, "test '%s'", tc->descr); in verify_memfd_create_errno()
/third_party/typescript/tests/baselines/reference/
DdecoratorWithUnderscoreMethod.types10 return function (target: any, propKey: string, descr: PropertyDescriptor): void {
11descr: PropertyDescriptor): void { console.log(target[propKey]); //logs undefined …
14 >descr : PropertyDescriptor
/third_party/gstreamer/gstplugins_good/tests/check/pipelines/
Dsimple-launch-lines.c46 run_pipeline (GstElement * pipe, const gchar * descr, in run_pipeline() argument
59 GST_STATE_CHANGE_FAILURE, "Could not set pipeline %s to playing", descr); in run_pipeline()
62 g_critical ("Pipeline '%s' failed to go to PAUSED fast enough", descr); in run_pipeline()
66 g_critical ("Pipeline '%s' failed to go into PAUSED state (%s)", descr, in run_pipeline()
86 tevent, descr); in run_pipeline()
93 revent, gst_message_type_get_name (revent), tevent, descr); in run_pipeline()
98 GST_STATE_CHANGE_FAILURE, "Could not set pipeline %s to NULL", descr); in run_pipeline()
/third_party/python/Modules/_ctypes/
Dstgdict.c204 MakeFields(PyObject *type, CFieldObject *descr, in MakeFields() argument
211 fields = PyObject_GetAttrString(descr->proto, "_fields_"); in MakeFields()
229 fdescr = (CFieldObject *)PyObject_GetAttr(descr->proto, fname); in MakeFields()
302 CFieldObject *descr = (CFieldObject *)PyObject_GetAttr(type, fname); in MakeAnonFields() local
303 if (descr == NULL) { in MakeAnonFields()
307 if (!Py_IS_TYPE(descr, &PyCField_Type)) { in MakeAnonFields()
313 Py_DECREF(descr); in MakeAnonFields()
316 descr->anonymous = 1; in MakeAnonFields()
319 if (-1 == MakeFields(type, (CFieldObject *)descr, in MakeAnonFields()
320 ((CFieldObject *)descr)->index, in MakeAnonFields()
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDrawTests.cpp114 …AttributeGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMeth…
126 AttributeGroup::AttributeGroup (Context& context, const char* name, const char* descr, gls::DrawTes… in AttributeGroup() argument
127 : TestCaseGroup (context, name, descr) in AttributeGroup()
288 …IndexGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod …
297 IndexGroup::IndexGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::D… in IndexGroup() argument
298 : TestCaseGroup (context, name, descr) in IndexGroup()
371 …FirstGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod …
380 FirstGroup::FirstGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::D… in FirstGroup() argument
381 : TestCaseGroup (context, name, descr) in FirstGroup()
417 …MethodGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMetho…
[all …]
/third_party/vk-gl-cts/modules/gles2/stress/
Des2sDrawTests.cpp86 …IndexGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod …
95 IndexGroup::IndexGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::D… in IndexGroup() argument
96 : TestCaseGroup (context, name, descr) in IndexGroup()
159 …MethodGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMetho…
168 MethodGroup::MethodGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec:… in MethodGroup() argument
169 : TestCaseGroup (context, name, descr) in MethodGroup()
191 RandomGroup (Context& context, const char* name, const char* descr);
209 RandomGroup::RandomGroup (Context& context, const char* name, const char* descr) in RandomGroup() argument
210 : TestCaseGroup (context, name, descr) in RandomGroup()
/third_party/python/Doc/c-api/
Ddescriptor.rst33 .. c:function:: int PyDescr_IsData(PyObject *descr)
35 Return non-zero if the descriptor objects *descr* describes a data attribute, or
36 ``0`` if it describes a method. *descr* must be a descriptor object; there is
/third_party/gstreamer/gstreamer/tests/check/pipelines/
Dcleanup.c40 run_pipeline (GstElement * pipeline, const gchar * descr, in run_pipeline() argument
64 tevent, descr); in run_pipeline()
71 revent, gst_message_type_get_name (revent), tevent, descr); in run_pipeline()
/third_party/elfio/examples/writer/
Dwriter.cpp118 char descr[6] = { 0x31, 0x32, 0x33, 0x34, 0x35, 0x36 }; in main() local
119 note_writer.add_note( 0x01, "Never easier!", descr, sizeof( descr ) ); in main()
/third_party/gstreamer/gstplugins_base/tests/examples/snapshot/
Dsnapshot.c33 gchar *descr; in main() local
50 descr = in main()
53 pipeline = gst_parse_launch (descr, &error); in main()
/third_party/elfio/examples/write_obj/
Dwrite_obj.cpp126 char descr[6] = { 0x31, 0x32, 0x33, 0x34, 0x35, 0x36 }; in main() local
127 note_writer.add_note( 0x01, "Never easier!", descr, sizeof( descr ) ); in main()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDrawElementsBaseVertexTests.cpp452 …BuiltInVariableGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::D…
461 BuiltInVariableGroup::BuiltInVariableGroup (Context& context, const char* name, const char* descr, … in BuiltInVariableGroup() argument
462 : TestCaseGroup (context, name, descr) in BuiltInVariableGroup()
479 …IndexGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMethod …
488 IndexGroup::IndexGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::D… in IndexGroup() argument
489 : TestCaseGroup (context, name, descr) in IndexGroup()
543 …BaseVertexGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMe…
552 BaseVertexGroup::BaseVertexGroup (Context& context, const char* name, const char* descr, gls::DrawT… in BaseVertexGroup() argument
553 : TestCaseGroup (context, name, descr) in BaseVertexGroup()
617 …AttributeGroup (Context& context, const char* name, const char* descr, gls::DrawTestSpec::DrawMeth…
[all …]

123456