Home
last modified time | relevance | path

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

1234567891011

/external/python/cpython2/Objects/
Ddescrobject.c7 descr_dealloc(PyDescrObject *descr) in descr_dealloc() argument
9 _PyObject_GC_UNTRACK(descr); in descr_dealloc()
10 Py_XDECREF(descr->d_type); in descr_dealloc()
11 Py_XDECREF(descr->d_name); in descr_dealloc()
12 PyObject_GC_Del(descr); in descr_dealloc()
16 descr_name(PyDescrObject *descr) in descr_name() argument
18 if (descr->d_name != NULL && PyString_Check(descr->d_name)) in descr_name()
19 return PyString_AS_STRING(descr->d_name); in descr_name()
25 descr_repr(PyDescrObject *descr, char *format) in descr_repr() argument
27 return PyString_FromFormat(format, descr_name(descr), in descr_repr()
[all …]
/external/python/cpython3/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 …]
/external/llvm-project/compiler-rt/lib/asan/
Dasan_descriptions.cpp87 ShadowAddressDescription descr; in DescribeAddressIfShadow() local
88 if (!GetShadowAddressInformation(addr, &descr)) return false; in DescribeAddressIfShadow()
89 descr.Print(); in DescribeAddressIfShadow()
93 bool GetShadowAddressInformation(uptr addr, ShadowAddressDescription *descr) { in GetShadowAddressInformation() argument
97 if (shadow_kind != kShadowKindGap) descr->shadow_byte = *(u8 *)addr; in GetShadowAddressInformation()
98 descr->addr = addr; in GetShadowAddressInformation()
99 descr->kind = shadow_kind; in GetShadowAddressInformation()
104 static void GetAccessToHeapChunkInformation(ChunkAccess *descr, in GetAccessToHeapChunkInformation() argument
107 descr->bad_addr = addr; in GetAccessToHeapChunkInformation()
108 if (chunk.AddrIsAtLeft(addr, access_size, &descr->offset)) { in GetAccessToHeapChunkInformation()
[all …]
Dasan_scariness_score.h38 descr[0] = 0; in Clear()
42 if (descr[0]) in Scare()
43 internal_strlcat(descr, "-", sizeof(descr)); in Scare()
44 internal_strlcat(descr, reason, sizeof(descr)); in Scare()
48 const char *GetDescription() const { return descr; } in GetDescription()
51 Printf("SCARINESS: %d (%s)\n", score, descr); in Print()
53 static void PrintSimple(int score, const char *descr) { in PrintSimple()
56 SSB.Scare(score, descr); in PrintSimple()
62 char descr[1024]; member
/external/compiler-rt/lib/asan/
Dasan_debugging.cc25 void GetInfoForStackVar(uptr addr, AddressDescription *descr, AsanThread *t) { in GetInfoForStackVar() argument
26 descr->name[0] = 0; in GetInfoForStackVar()
27 descr->region_address = 0; in GetInfoForStackVar()
28 descr->region_size = 0; in GetInfoForStackVar()
29 descr->region_kind = "stack"; in GetInfoForStackVar()
41 internal_strncat(descr->name, vars[i].name_pos, in GetInfoForStackVar()
42 Min(descr->name_size, vars[i].name_len)); in GetInfoForStackVar()
43 descr->region_address = addr - (access.offset - vars[i].beg); in GetInfoForStackVar()
44 descr->region_size = vars[i].size; in GetInfoForStackVar()
50 void GetInfoForHeapAddress(uptr addr, AddressDescription *descr) { in GetInfoForHeapAddress() argument
[all …]
Dasan_scariness_score.h40 descr[0] = 0; in ScarinessScore()
43 if (descr[0]) in Scare()
44 internal_strlcat(descr, "-", sizeof(descr)); in Scare()
45 internal_strlcat(descr, reason, sizeof(descr)); in Scare()
49 const char *GetDescription() const { return descr; } in GetDescription()
52 Printf("SCARINESS: %d (%s)\n", score, descr); in Print()
54 static void PrintSimple(int score, const char *descr) { in PrintSimple() argument
56 SS.Scare(score, descr); in PrintSimple()
62 char descr[1024]; variable
/external/python/pybind11/include/pybind11/detail/
Ddescr.h25 struct descr { struct
28 constexpr descr() : text{'\0'} { } in descr() argument
29 constexpr descr(char const (&s)[N+1]) : descr(s, make_index_sequence<N>()) { } in descr() argument
32 constexpr descr(char const (&s)[N+1], index_sequence<Is...>) : text{s[Is]..., '\0'} { } in descr() argument
35 constexpr descr(char c, Chars... cs) : text{c, static_cast<char>(cs)..., '\0'} { } in descr() argument
43 constexpr descr<N1 + N2, Ts1..., Ts2...> plus_impl(const descr<N1, Ts1...> &a, const descr<N2, Ts2.… in plus_impl() argument
49 constexpr descr<N1 + N2, Ts1..., Ts2...> operator+(const descr<N1, Ts1...> &a, const descr<N2, Ts2.…
54 constexpr descr<N - 1> _(char const(&text)[N]) { return descr<N - 1>(text); } in _()
55 constexpr descr<0> _(char const(&)[1]) { return {}; } in _()
59 static constexpr auto digits = descr<sizeof...(Digits)>(('0' + Digits)...);
[all …]
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tile_op_test.py41 descr='docstring example: ragged_rank=1, repeat axes 0 and 1',
52 descr='rank=3, ragged_rank=2, repeat axis 0',
58 descr='rank=3, ragged_rank=2, repeat axis 1',
63 descr='rank=3, ragged_rank=2, repeat axis 2',
68 descr='rank=3, ragged_rank=2, repeat axes 0 and 1',
74 descr='rank=3, ragged_rank=2, repeat axes 0 and 2',
80 descr='rank=3, ragged_rank=2, repeat axes 1 and 2',
86 descr='rank=3, ragged_rank=2, repeat all axes',
94 descr='rank=3, ragged_rank=1, repeat axis 0',
101 descr='rank=3, ragged_rank=1, repeat axis 1',
[all …]
Dragged_stack_op_test.py36 descr='One rank-2 input (ragged_rank=1), axis=0',
42 descr='One rank-2 input (ragged_rank=1), axis=1',
51 descr='One rank-2 input (ragged_rank=1), axis=2',
59 descr='One rank-2 input (ragged_rank=1), axis=-3',
65 descr='One rank-2 input (ragged_rank=1), axis=-2',
74 descr='One rank-2 input (ragged_rank=1), axis=-1',
82 descr='Two rank-2 inputs (ragged_rank=1), axis=0',
90 descr='Two rank-2 inputs (ragged_rank=1), axis=1',
100 descr='Two rank-2 inputs (ragged_rank=1), axis=2',
109 descr='Two rank-2 inputs (ragged_rank=1), axis=-3',
[all …]
Dragged_batch_gather_op_test.py45 descr='Docstring example',
56 descr='params: [P1], indices: [I], result: [I]',
61 descr='params: [P1, (P2)], indices: [I], result: [I, (P2)]',
70 descr='params: [B1, P1], indices: [B1, I], result: [B1, I]',
75 descr='params: [B1, (P1)], indices: [B1, I], result: [B1, I]',
81 descr='params: [B1, P1], indices: [B1, (I)], result: [B1, (I)]',
87 descr=('params: [B1, (P1), (P2), P3], indices: [B1, I], '
101 descr=('params: [B1, B2, P1], indices: [B1, B2, I], '
107 descr=('params: [B1, (B2), P1], indices: [B1, (B2), I], '
117 descr=('params: [B1, (B2), (P1)], indices: [B1, (B2), I], '
[all …]
Dragged_boolean_mask_op_test.py47 descr='Docstring example 1',
52 descr='Docstring example 2',
57 descr='Docstring example 3',
65 descr='data.shape=[7]; mask.shape=[7]',
70 descr='data.shape=[5, 3]; mask.shape=[5]',
75 descr='data.shape=[5, 3]; mask.shape=[5, 3]',
81 descr='data.shape=[3, 2, 2]; mask.shape=[3]',
86 descr='data.shape=[3, 2, 2]; mask.shape=[3]',
91 descr='data.shape=[3, 2, 2]; mask.shape=[3, 2]',
98 descr='data.shape=[3, 2, 2]; mask.shape=[3, 2, 2]',
[all …]
Dragged_gather_nd_op_test.py47 descr='Docstring example 1',
53 descr='Docstring example 2',
59 descr='Docstring example 3',
67 descr='params: [B1, (B2)], indices: [0], result: [B1, (B2)]',
73 descr='params: [B1, (B2)], indices: [A1, 0], result: [A1, B1, (B2)]',
81 descr=('params: [B1, (B2)], indices: [A1, A2, 0], '
90 descr='params: [B1], indices: [A1, (A2), 0], result: [A1, (A2), B1]',
103 descr='params: [B1, (B2)], indices: [A1, 1], result: [A1, (B2)]',
109 descr=('params: [B1, (B2), (B3)], indices: [A1, 1], '
117 descr=('params: [B1, B2, B3], indices: [A1, (A2), 1], '
[all …]
Dragged_concat_op_test.py49 descr='Two rank-2 inputs with empty value axis=1',
54 descr='Two rank-2 inputs (ragged_rank=1), axis=0',
62 descr='Two rank-2 inputs (ragged_rank=1), axis=1',
72 descr='Two rank-2 inputs (ragged_rank=1), axis=-2',
80 descr='Two rank-2 inputs (ragged_rank=1), axis=-1',
91 descr='Three rank-2 inputs (ragged_rank=1), axis=0',
100 descr='Three rank-2 inputs (ragged_rank=1), axis=1',
111 descr='Three rank-3 inputs (ragged_rank=2), axis=0',
127 descr='Three rank-3 inputs (ragged_rank=2), axis=1',
139 descr='Three rank-3 inputs (ragged_rank=2), axis=2',
[all …]
Dragged_reverse_op_test.py35 descr='Docstring example 1',
44 descr='data.shape=[5, (D2)]; axis=[0]',
49 descr='data.shape=[5, (D2)]; axis=[1]',
54 descr='data.shape=[5, (D2), (D3)]; axis=[0, -1]',
59 descr='data.shape=[2, (D2), 2]; axis=[2]',
65 descr='data.shape=[2, (D2), (D3)]; axis=[-1]',
70 descr='data.shape=[2, (D2), (D3)]; axis=[]',
75 def testReverse(self, descr, data, axis, expected, ragged_rank=None): argument
/external/scapy/scapy/layers/tls/crypto/
Dkx_algs.py48 descr = "No key exchange" variable in KX_NULL
53 descr = "SSLv2 dummy key exchange class" variable in KX_SSLv2
58 descr = "TLS 1.3 dummy key exchange class" variable in KX_TLS13
66 descr = "RSA encryption" variable in KX_RSA
76 descr = "Ephemeral DH with RSA signature" variable in KX_DHE_RSA
86 descr = "Ephemeral ECDH with RSA signature" variable in KX_ECDHE_RSA
91 descr = "RSA encryption, export version" variable in KX_RSA_EXPORT
98 descr = "Ephemeral DH with RSA signature, export version" variable in KX_DHE_RSA_EXPORT
109 descr = "Ephemeral ECDH with ECDSA signature" variable in KX_ECDHE_ECDSA
180 descr = "Anonymous DH, no signatures" variable in KX_DH_anon
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dsockopt.c19 const char *descr; member
41 .descr = "getsockopt: no expected_attach_type",
53 .descr = "getsockopt: wrong expected_attach_type",
65 .descr = "getsockopt: bypass bpf hook",
87 .descr = "getsockopt: return EPERM from bpf hook",
102 .descr = "getsockopt: no optval bounds check, deny loading",
121 .descr = "getsockopt: read ctx->level",
150 .descr = "getsockopt: deny writing to ctx->level",
164 .descr = "getsockopt: read ctx->optname",
193 .descr = "getsockopt: read ctx->retval",
[all …]
/external/python/cpython2/Lib/plat-irix5/
Dpanel.py146 def build_actuator(descr): argument
147 namelist = getattrlist(descr, 'name')
153 type = descr[0]
158 assign_members(act, descr[1:], ['al', 'data', 'name'], '')
162 datalist = getattrlist(descr, 'data')
209 def build_panel(descr): argument
213 if (not descr) or descr[0] != 'panel':
216 if debug: show_panel('', descr)
224 assign_members(panel, descr[1:], ['al'], '')
228 al = getattrlist(descr, 'al')
[all …]
/external/python/cpython2/Lib/plat-irix6/
Dpanel.py146 def build_actuator(descr): argument
147 namelist = getattrlist(descr, 'name')
153 type = descr[0]
158 assign_members(act, descr[1:], ['al', 'data', 'name'], '')
162 datalist = getattrlist(descr, 'data')
209 def build_panel(descr): argument
213 if (not descr) or descr[0] != 'panel':
216 if debug: show_panel('', descr)
224 assign_members(panel, descr[1:], ['al'], '')
228 al = getattrlist(descr, 'al')
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_btf.c102 const char *descr; member
146 .descr = "struct test #1",
198 .descr = "struct test #2",
239 .descr = "struct test #3 Invalid member offset",
275 .descr = "global data test #1",
315 .descr = "global data test #2",
350 .descr = "global data test #3",
372 .descr = "global data test #4, unsupported linkage",
396 .descr = "global data test #5, invalid var type",
418 .descr = "global data test #6, invalid var type (fwd type)",
[all …]
/external/perfetto/src/protozero/filtering/
Dfilter_util.cc168 for (auto& descr : descriptors_) { in Dedupe() local
169 if (descr.has_nested_fields) in Dedupe()
172 for (const auto& id_and_field : descr.fields) in Dedupe()
174 auto it_and_inserted = index.emplace(identity, &descr); in Dedupe()
178 dupe_graph.emplace(&descr, dupe_against); in Dedupe()
186 for (auto& descr : descriptors_) { in Dedupe() local
187 for (auto& id_and_field : descr.fields) { in Dedupe()
227 for (const auto& descr : descriptors_) { in PrintAsText() local
228 for (const auto& id_and_field : descr.fields) { in PrintAsText()
232 auto stripped_name = StripPrefix(descr.full_name, root_prefix); in PrintAsText()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_v1_tensor_op_test.py131 descr = get_description(simple_summary)
132 self.assertEqual(descr.display_name, "")
133 self.assertEqual(descr.summary_description, "")
142 descr = get_description(with_values)
143 self.assertEqual(descr.display_name, "my name")
144 self.assertEqual(descr.summary_description, "my description")
153 descr = get_description(with_metadata)
154 self.assertEqual(descr.display_name, "my name")
155 self.assertEqual(descr.summary_description, "my description")
164 descr = get_description(overwrite)
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DTypeDescriptionTest.java26 TypeDescription descr = new TypeDescription(TypeDescriptionTest.class); in testSetTag() local
27 descr.setTag("!bla"); in testSetTag()
28 assertEquals(new Tag("!bla"), descr.getTag()); in testSetTag()
29 descr.setTag(new Tag("!foo")); in testSetTag()
30 assertEquals(new Tag("!foo"), descr.getTag()); in testSetTag()
/external/google-breakpad/src/client/windows/unittests/
Ddump_analysis.cc137 MINIDUMP_MEMORY_DESCRIPTOR& descr = memory_list->MemoryRanges[i]; in HasMemoryImpl() local
139 static_cast<uintptr_t>(descr.StartOfMemoryRange); in HasMemoryImpl()
140 uintptr_t range_end = range_start + descr.Memory.DataSize; in HasMemoryImpl()
147 *structure = RVA_TO_ADDR(dump_file_view_, descr.Memory.Rva); in HasMemoryImpl()
163 MINIDUMP_MEMORY_DESCRIPTOR64& descr = memory64_list->MemoryRanges[i]; in HasMemoryImpl() local
165 static_cast<uintptr_t>(descr.StartOfMemoryRange); in HasMemoryImpl()
166 uintptr_t range_end = range_start + static_cast<size_t>(descr.DataSize); in HasMemoryImpl()
179 curr_rva += descr.DataSize; in HasMemoryImpl()
/external/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…
/external/llvm-project/llvm/test/CodeGen/Hexagon/
Dcoalescing-hvx-across-calls.ll9 %struct.descr = type opaque
11 define inreg <64 x i32> @danny(%struct.descr* %desc, i32 %xy0, i32 %xy1) #0 {
13 %call = tail call inreg <32 x i32> @sammy(%struct.descr* %desc, i32 %xy0) #3
14 %call1 = tail call inreg <32 x i32> @kirby(%struct.descr* %desc, i32 %xy1) #3
19 declare inreg <32 x i32> @sammy(%struct.descr*, i32) #1
20 declare inreg <32 x i32> @kirby(%struct.descr*, i32) #1

1234567891011