Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 233) sorted by relevance

12345678910

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dreflection_test.py76 def __init__(self, bytes): argument
80 def ReadVarint(self): argument
89 def ReadSInt64(self): argument
94 def ReadFieldNumberAndWireType(self): argument
97 def ReadFloat(self): argument
102 def ReadDouble(self): argument
107 def EndOfStream(self): argument
113 def assertListsEqual(self, values, others): argument
118 def testScalarConstructor(self): argument
131 def testRepeatedScalarConstructor(self): argument
[all …]
Dtext_format_test.py68 def testQuoteMarksAreSingleChars(self): argument
76 def ReadGolden(self, golden_filename): argument
81 def CompareToGoldenFile(self, text, golden_filename): argument
85 def CompareToGoldenText(self, text, golden_text): argument
88 def RemoveRedundantZeros(self, text): argument
102 def testPrintExotic(self, message_module): argument
122 def testPrintExoticUnicodeSubclass(self, message_module): argument
133 def testPrintNestedMessageAsOneLine(self, message_module): argument
141 def testPrintRepeatedFieldsAsOneLine(self, message_module): argument
153 def testPrintNestedNewLineInStringAsOneLine(self, message_module): argument
[all …]
Djson_format_test.py59 def FillAllFields(self, message): argument
96 def CheckParseBack(self, message, parsed_message): argument
101 def CheckError(self, text, error_message): argument
111 def testEmptyMessageToJson(self): argument
118 def testPartialMessageToJson(self): argument
128 def testAllFieldsToJson(self): argument
161 def testJsonEscapeString(self): argument
178 def testAlwaysSeriliaze(self): argument
208 def testMapFields(self): argument
235 def testOneofFields(self): argument
[all …]
Dmessage_test.py96 def testBadUtf8String(self, message_module): argument
106 def testGoldenMessage(self, message_module): argument
124 def testGoldenPackedMessage(self, message_module): argument
135 def testPickleSupport(self, message_module): argument
144 def testPositiveInfinity(self, message_module): argument
164 def testNegativeInfinity(self, message_module): argument
184 def testNotANumber(self, message_module): argument
208 def testPositiveInfinityPacked(self, message_module): argument
217 def testNegativeInfinityPacked(self, message_module): argument
226 def testNotANumberPacked(self, message_module): argument
[all …]
Ddescriptor_test.py63 def setUp(self): argument
99 def GetDescriptorPool(self): argument
102 def testEnumValueName(self): argument
111 def testEnumFixups(self): argument
114 def testContainingTypeFixups(self): argument
118 def testContainingServiceFixups(self): argument
121 def testGetOptions(self): argument
135 def testSimpleCustomOptions(self): argument
182 def testDifferentCustomOptionTypes(self): argument
276 def testComplexExtensionOptions(self): argument
[all …]
Dunknown_fields_test.py61 def setUp(self): argument
69 def testSerialize(self): argument
76 def testSerializeProto3(self): argument
82 def testByteSize(self): argument
85 def testListFields(self): argument
89 def testSerializeMessageSetWireFormatUnknownExtension(self): argument
113 def testEquals(self): argument
122 def testDiscardUnknownFields(self): argument
145 def setUp(self): argument
161 def GetField(self, name): argument
[all …]
Dgenerator_test.py65 def testNestedMessageDescriptor(self): argument
72 def testEnums(self): argument
88 def testExtremeDefaultValues(self): argument
113 def testHasDefaultValues(self): argument
129 def testContainingTypeBehaviorForExtensions(self): argument
135 def testExtensionScope(self): argument
141 def testIsExtension(self): argument
149 def testOptions(self): argument
153 def testMessageWithCustomOptions(self): argument
160 def testNestedTypes(self): argument
[all …]
Dcontainers.py71 def get(self, key, default=None): argument
77 def __contains__(self, key): argument
85 def iterkeys(self): argument
88 def itervalues(self): argument
92 def iteritems(self): argument
96 def keys(self): argument
99 def items(self): argument
102 def values(self): argument
108 def __eq__(self, other): argument
113 def __ne__(self, other): argument
[all …]
Dwell_known_types_test.py59 def CheckTimestampConversion(self, message, text): argument
65 def CheckDurationConversion(self, message, text): argument
74 def testTimestampSerializeAndParse(self): argument
108 def testDurationSerializeAndParse(self): argument
136 def testTimestampIntegerConversion(self): argument
187 def testDurationIntegerConversion(self): argument
236 def testDatetimeConverison(self): argument
246 def testTimedeltaConversion(self): argument
268 def testInvalidTimestamp(self): argument
296 def testInvalidDuration(self): argument
[all …]
Dwell_known_types.py69 def Pack(self, msg, type_url_prefix='type.googleapis.com/'): argument
77 def Unpack(self, msg): argument
85 def TypeName(self): argument
90 def Is(self, descriptor): argument
98 def ToJsonString(self): argument
126 def FromJsonString(self, value): argument
184 def GetCurrentTime(self): argument
188 def ToNanoseconds(self): argument
192 def ToMicroseconds(self): argument
197 def ToMilliseconds(self): argument
[all …]
Ddescriptor_pool_test.py65 def setUp(self): argument
74 def testFindFileByName(self): argument
89 def testFindFileByNameFailure(self): argument
93 def testFindFileContainingSymbol(self): argument
110 def testFindFileContainingSymbolFailure(self): argument
114 def testFindMessageTypeByName(self): argument
195 def testFindMessageTypeByNameFailure(self): argument
199 def testFindEnumTypeByName(self): argument
228 def testFindEnumTypeByNameFailure(self): argument
232 def testFindFieldByName(self): argument
[all …]
/frameworks/base/tools/apilint/
Dapilint_test.py33 def test_retry_iterator(self): argument
44 def test_retry_iterator_one(self): argument
52 def test_retry_iterator_one(self): argument
60 def test_skip_to_matching_class_found(self): argument
66 def test_skip_to_matching_class_not_found(self): argument
72 def test_yield_until_matching_class_found(self): argument
78 def test_yield_until_matching_class_not_found(self): argument
84 def test_yield_until_matching_class_None(self): argument
132 def test_base_file_avoids_errors(self): argument
136 def test_class_with_base_finds_same_errors(self): argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dmox.py79 def __init__(self, expected_methods): argument
96 def __str__(self): argument
109 def __init__(self, unexpected_method, expected): argument
125 def __str__(self): argument
133 def __init__(self, unknown_method_name): argument
145 def __str__(self): argument
158 def __init__(self): argument
164 def CreateMock(self, class_to_mock): argument
179 def CreateMockAnything(self): argument
189 def ReplayAll(self): argument
[all …]
/frameworks/rs/tests/lldb/tests/testcases/
Dtest_allocation_dump_1.py39 def test_setup(self): argument
49 def test_dump_to_file1(self): argument
61 def test_dump_to_file2(self): argument
72 def test_dump_char(self): argument
99 def test_dump_char2(self): argument
114 def test_dump_char3(self): argument
123 def test_dump_char4(self): argument
132 def test_dump_short(self): argument
159 def test_dump_short2(self): argument
174 def test_dump_short3(self): argument
[all …]
Dtest_read_local.py37 def _try_inspecting_local(self, local_name, expected_output, argument
64 def test_setup(self): argument
77 def test_list_rs_kernel_frame_variables(self): argument
147 def test_inspect_primitive_types(self): argument
182 def test_inspect_uchar2(self): argument
186 def test_inspect_vec2_types(self): argument
223 def test_inspect_short3(self): argument
228 def test_inspect_vec3_types(self): argument
270 def test_inspect_ushort4(self): argument
275 def test_inspect_vec4_types(self): argument
[all …]
Dtest_read_global.py36 def _try_inspecting_global(self, global_name, expected_output, argument
63 def test_setup(self): argument
76 def test_list_script_globals(self): argument
147 def test_read_char_global(self): argument
153 def test_read_primitive_global(self): argument
186 def test_write_global2(self): argument
190 def test_write_global3(self): argument
224 def test_global_write_short3(self): argument
229 def test_read_vec3(self): argument
271 def test_read_ushort4(self): argument
[all …]
/frameworks/ml/nn/tools/systrace_parser/parser/test/
Dtest_stats.py7 def setUp(self): argument
16 def from_spectime(self, spectime): argument
19 def feed_spec_text(self, text): argument
35 def check_overall_time(self, tag, spec_interval, app_phase=None): argument
47 def check_self_time(self, tag, spec_interval): argument
54 def test_baseline(self): argument
62 def test_local_call_to_other_layer(self): argument
74 def test_local_call_to_other_layer_wrong_nesting(self): argument
84 def test_switch_phase_during_execution(self): argument
95 def test_subphases(self): argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Dmessage.py69 def __deepcopy__(self, memo=None): argument
74 def __eq__(self, other_msg): argument
78 def __ne__(self, other_msg): argument
82 def __hash__(self): argument
85 def __str__(self): argument
89 def __unicode__(self): argument
93 def MergeFrom(self, other_msg): argument
106 def CopyFrom(self, other_msg): argument
120 def Clear(self): argument
124 def SetInParent(self): argument
[all …]
/frameworks/rs/tests/lldb/
Dconfig.py33 def adb_path(self): argument
38 def host_port(self): argument
47 def device_port(self): argument
55 def lldb_server_path_device(self): argument
60 def lldb_server_path_host(self): argument
65 def aosp_product_path(self): argument
70 def log_file_path(self): argument
75 def results_file_path(self): argument
80 def lldb_path(self): argument
85 def blacklist(self): argument
[all …]
/frameworks/compile/libbcc/gdb_plugin/
Dandroid-commands.py70 def __init__(self): argument
74 def get_name(self): argument
77 def get_intent(self): argument
80 def get_data_directory(self): argument
83 def get_gdbserver_path(self): argument
86 def set_info(self, name, intent, data_directory): argument
102 def __init__(self, device=None, verbose=False): argument
131 def _prepare_adb_args(self, args): argument
143 def _background_adb(self, *args): argument
158 def _call_adb(self, *args): argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/DevTools/
Dpddm_tests.py43 def testParseEmpty(self): argument
48 def testParseOne(self): argument
59 def testParseGeneral(self): argument
103 def testParseDirectiveIssues(self): argument
127 def testParseBeginIssues(self): argument
185 def testExpandBasics(self): argument
229 def testExpandArgOptions(self): argument
242 def testExpandSimpleMacroErrors(self): argument
275 def testExpandReferences(self): argument
303 def testCatchRecursion(self): argument
[all …]
Dpddm.py142 def __init__(self, a_file=None): argument
158 def __init__(self, name, arg_names): argument
164 def AppendLine(self, line): argument
171 def name(self): argument
175 def args(self): argument
179 def body(self): argument
182 def ParseInput(self, a_file): argument
194 def ParseLines(self, input_lines): argument
234 def _ParseDefineLine(self, input_line): argument
259 def Expand(self, macro_ref_str): argument
[all …]
/frameworks/rs/tests/lldb/tests/harness/
Dutil_android.py40 def __init__(self, adb_path, lldb_server_path_device, device): argument
60 def adb(self, args, async=False, device=True, timeout=None): argument
115 def adb_retry(self, args, max_num_attempts, timeout): argument
156 def _adb_log_output(self, cmd, output, return_code): argument
189 def check_adb_alive(self): argument
233 def shell(self, cmd, async=False, timeout=None): argument
250 def find_app_pid(self, process_name): argument
287 def adb_root(self): argument
291 def _adb_remount(self): argument
295 def validate_adb(self): argument
[all …]
Dutil_bundle.py65 def __init__(self, android, aosp_product_path): argument
71 def is_apk(self, name): argument
92 def uninstall_all(self): argument
102 def uninstall_all_apk(self): argument
130 def _uninstall_all_jni(self): argument
142 def _delete_all_ndk(self): argument
154 def push_all(self): argument
166 def _install_apk(self, app, package): argument
201 def _push_all_java(self): argument
212 def _push_all_ndk(self): argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor.cc363 static void Dealloc(PyBaseDescriptor* self) { in Dealloc()
420 static const Descriptor* _GetDescriptor(PyBaseDescriptor* self) { in _GetDescriptor()
424 static PyObject* GetName(PyBaseDescriptor* self, void *closure) { in GetName()
428 static PyObject* GetFullName(PyBaseDescriptor* self, void *closure) { in GetFullName()
432 static PyObject* GetFile(PyBaseDescriptor *self, void *closure) { in GetFile()
436 static PyObject* GetConcreteClass(PyBaseDescriptor* self, void *closure) { in GetConcreteClass()
449 static PyObject* GetFieldsByName(PyBaseDescriptor* self, void *closure) { in GetFieldsByName()
453 static PyObject* GetFieldsByCamelcaseName(PyBaseDescriptor* self, in GetFieldsByCamelcaseName()
458 static PyObject* GetFieldsByNumber(PyBaseDescriptor* self, void *closure) { in GetFieldsByNumber()
462 static PyObject* GetFieldsSeq(PyBaseDescriptor* self, void *closure) { in GetFieldsSeq()
[all …]

12345678910