Home
last modified time | relevance | path

Searched refs:GetValue (Results 1 – 25 of 171) sorted by relevance

1234567

/llvm-project-15.0.7/lldb/test/API/commands/expression/macros/
H A DTestMacros.py41 result.IsValid() and result.GetValue() == "100",
46 result.IsValid() and result.GetValue() == "200",
51 result.IsValid() and result.GetValue() == "1",
56 result.IsValid() and result.GetValue() == "2",
61 result.IsValid() and result.GetValue() == "3",
66 result.IsValid() and result.GetValue() == "4",
71 result.IsValid() and result.GetValue() == "100",
85 result.IsValid() and result.GetValue() == "2",
90 result.IsValid() and result.GetValue() == "3",
116 result.IsValid() and result.GetValue() == "1",
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/format-propagation/
H A DTestFormatPropagation.py55 self.assertEquals(X.GetValue(), "1", "X has an invalid value")
56 self.assertEquals(Y.GetValue(), "2", "Y has an invalid value")
60 X.GetValue(), "0x00000001",
63 Y.GetValue(), "0x00000002",
67 self.assertEquals(X.GetValue(), "0x00000004", "X has not become 4")
68 self.assertEquals(Y.GetValue(), "0x00000002", "Y has not stuck as hex")
71 self.assertEquals(X.GetValue(), "0x00000004", "X is still hex")
72 self.assertEquals(Y.GetValue(), "2", "Y has not been reset")
78 X.GetValue(), "0x00000004",
80 self.assertEquals(Y.GetValue(), "2", "Y is not defaulted")
/llvm-project-15.0.7/lldb/examples/scripting/
H A Dtree_utils.py63 if left_child_ptr.GetValue() is None:
72 if right_child_ptr.GetValue() is None:
88 if (root.GetValue is None):
91 if (int(root.GetValue(), 16) == 0):
111 if (root.GetChildAtIndex(1).GetValue() is not None) and (
112 int(root.GetChildAtIndex(1).GetValue(), 16) != 0):
117 if (root.GetChildAtIndex(2).GetValue() is not None) and (
118 int(root.GetChildAtIndex(2).GetValue(), 16) != 0):
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptionValueProperties.cpp34 property.GetValue()->SetParent(shared_from_this()); in Initialize()
190 return setting->GetValue(); in GetPropertyValueAtIndex()
216 return property->GetValue()->GetAsArch(); in GetPropertyAtIndexAsOptionValueArch()
225 return property->GetValue()->GetAsLanguage(); in GetPropertyAtIndexAsOptionValueLanguage()
233 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsLanguage()
246 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsArgs()
271 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexFromArgs()
319 return property->GetValue()->GetAsDictionary(); in GetPropertyAtIndexAsOptionValueDictionary()
504 m_properties[i].GetValue()->Clear(); in Clear()
617 property->GetValue()->GetAsProperties(); in GetPropertyAtPath()
[all …]
/llvm-project-15.0.7/lldb/test/API/lang/cpp/template/
H A DTestTemplateArgs.py61 self.assertEquals(expr_result.GetValue(), "1", "testpos.getArg() == 1")
77 expr_result.GetValue(), "-1",
94 self.assertEquals(f1.GetValue(), '1.5')
103 self.assertEquals(f2.GetValue(), '1.5')
106 self.assertEquals(f3.GetValue(), '2.5')
109 self.assertEquals(f4.GetValue(), '42')
132 expr_result.GetValue(), "123",
152 expr_result.GetValue(), "246",
/llvm-project-15.0.7/lldb/test/API/lang/cpp/dynamic-value/
H A DTestDynamicValue.py139 anotherA_static_addr = int(anotherA_static.GetValue(), 16)
143 anotherA_dynamic_addr = int(anotherA_dynamic.GetValue(), 16)
152 anotherA_m_b_val = int(anotherA_m_b_value_dynamic.GetValue(), 10)
181 anotherA_loc = int(anotherA_value.GetValue(), 16)
189 this_static_loc = int(this_static.GetValue(), 16)
196 this_dynamic_loc = int(this_dynamic.GetValue(), 16)
215 m_b_value = int(this_dynamic_m_b_value.GetValue(), 0)
244 contained_b_addr = int(contained_b.GetValue(), 16)
245 contained_b_static_addr = int(contained_b_static.GetValue(), 16)
/llvm-project-15.0.7/lldb/test/API/lang/cpp/template-specialization-type/
H A DTestTemplateSpecializationType.py19 self.assertEquals("42", v.GetChildAtIndex(0).GetValue())
20 self.assertEquals("21", v.GetChildAtIndex(1).GetValue())
27 self.assertEquals("42", v.GetChildAtIndex(0).GetValue())
28 self.assertEquals("21", v.GetChildAtIndex(1).GetValue())
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DStructuredData.h116 return ((f != nullptr) ? f->GetValue() : fail_value);
139 return s->GetValue();
220 result = string_value->GetValue(); in GetItemAtIndexAsString()
239 result = ConstString(string_value->GetValue()); in GetItemAtIndexAsString()
294 uint64_t GetValue() { return m_value; } in GetValue() function
311 double GetValue() { return m_value; } in GetValue() function
328 bool GetValue() { return m_value; } in GetValue() function
344 llvm::StringRef GetValue() { return m_value; } in GetValue() function
406 result = result_ptr->GetValue(); in GetValueForKeyAsBoolean()
438 result = string_value->GetValue(); in GetValueForKeyAsString()
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/pointer_num_children/
H A DTestPointerNumChildren.py20 self.assertEqual("42", result.GetChildAtIndex(0).GetChildAtIndex(0).GetValue())
21 self.assertEqual("56", result.GetChildAtIndex(0).GetChildAtIndex(1).GetValue())
26 self.assertEqual("42", result.GetChildAtIndex(0).GetChildAtIndex(0).GetValue())
27 self.assertEqual("56", result.GetChildAtIndex(0).GetChildAtIndex(1).GetValue())
/llvm-project-15.0.7/lldb/test/API/python_api/value/linked_list/
H A DTestValueAPILinkedList.py75 list.append(int(t.GetChildMemberWithName("id").GetValue()))
88 if not val or int(val.GetValue(), 16) == 0:
92 if int(val.GetChildMemberWithName("id").GetValue(), 0) <= 0:
106 list.append(int(t.GetChildMemberWithName("id").GetValue()))
123 list.append(int(t.GetChildMemberWithName("id").GetValue()))
137 list.append(int(t.GetChildMemberWithName("id").GetValue()))
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderDarwin.cpp389 image->GetValueForKey("pathname")->GetAsString()->GetValue(), in JSONImageInformationIntoImageInfo()
395 mh->GetValueForKey("magic")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
397 mh->GetValueForKey("cputype")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
401 mh->GetValueForKey("filetype")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
407 ->GetValue()); in JSONImageInformationIntoImageInfo()
436 ->GetValue()); in JSONImageInformationIntoImageInfo()
444 mh->GetValueForKey("flags")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
450 mh->GetValueForKey("ncmds")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
470 seg->GetValueForKey("vmaddr")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
472 seg->GetValueForKey("vmsize")->GetAsInteger()->GetValue(); in JSONImageInformationIntoImageInfo()
[all …]
/llvm-project-15.0.7/lldb/test/API/commands/expression/test/
H A DTestExprs.py128 self.expect(val.GetValue(), "2.345 evaluated correctly", exe=False,
135 self.expect(val.GetValue(), "Argc evaluated correctly", exe=False,
140 self.expect(val.GetValue(), "Argv[1] evaluated correctly", exe=False,
145 self.expect(val.GetValue(), "Argv[2] evaluated correctly", exe=False,
150 self.expect(val.GetValue(), "Argv[3] evaluated correctly", exe=False,
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/vector-types/
H A DTestVectorTypesFormatting.py76 oldValue = v.GetChildAtIndex(0).GetValue()
78 newValue = v.GetChildAtIndex(0).GetValue()
83 oldValueAgain = v.GetChildAtIndex(0).GetValue()
/llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp493 ->GetValue()); in FormatDescription()
617 ->GetValue()); in GenerateSummary()
669 ->GetValue(); in GenerateSummary()
674 ->GetValue(); in GenerateSummary()
687 ->GetValue(); in GenerateSummary()
734 ->GetValue(); in GetLocationDescription()
753 ->GetValue(); in GetLocationDescription()
757 ->GetValue(); in GetLocationDescription()
773 ->GetValue(); in GetLocationDescription()
779 ->GetValue(); in GetLocationDescription()
[all …]
/llvm-project-15.0.7/flang/runtime/
H A Dtype-info.cpp15 std::optional<TypeParameterValue> Value::GetValue( in GetValue() function in Fortran::runtime::typeInfo::Value
41 if (auto value{characterLen_.GetValue(&instance)}) { in GetElementByteSize()
60 boundValues[2 * j].GetValue(&instance).value_or(0)}; in GetElements()
62 boundValues[2 * j + 1].GetValue(&instance).value_or(0)}; in GetElements()
93 if (auto length{characterLen_.GetValue(&container)}) { in EstablishDescriptor()
112 auto lb{boundValues++->GetValue(&container)}; in EstablishDescriptor()
113 auto ub{boundValues++->GetValue(&container)}; in EstablishDescriptor()
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Durem-opt-size.ll21 %call = tail call i32 bitcast (i32 (...)* @GetValue to i32 ()*)()
31 %call = tail call i32 bitcast (i32 (...)* @GetValue to i32 ()*)()
46 %call = tail call i32 bitcast (i32 (...)* @GetValue to i32 ()*)()
62 %call = tail call i32 bitcast (i32 (...)* @GetValue to i32 ()*)()
79 %call = tail call i32 bitcast (i32 (...)* @GetValue to i32 ()*)()
113 declare i32 @GetValue(...) local_unnamed_addr
/llvm-project-15.0.7/lldb/test/API/python_api/lldbutil/iter/
H A DTestRegistersIterator.py59 print("%s => %s" % (reg.GetName(), reg.GetValue()))
68 print("%s => %s" % (reg.GetName(), reg.GetValue()))
83 (reg.GetName(), reg.GetValue()))
/llvm-project-15.0.7/lldb/test/API/lang/cpp/global_operators/
H A DTestCppGlobalOperators.py55 test_result.IsValid() and test_result.GetValue() == "false",
60 test_result.IsValid() and test_result.GetValue() == "true",
65 test_result.IsValid() and test_result.GetValue() == "false",
/llvm-project-15.0.7/lldb/test/API/commands/expression/expr_inside_lambda/
H A DTestExprInsideLambdas.py62 self.expect_expr("this", result_value=outer_class_addr.GetValue())
71 self.expect_expr("this", result_value=outer_class_addr.GetValue())
102 self.expect_expr("this", result_value=local_class_addr.GetValue())
/llvm-project-15.0.7/lldb/test/API/functionalities/value_md5_crash/
H A DTestValueMD5Crash.py40 v = value.GetValue()
48 v = value.GetValue()
/llvm-project-15.0.7/lldb/test/API/lang/c/complex_int/
H A DTestComplexInt.py25 if long_size_eq_int.GetValue() == "true":
41 if long_size_eq_long_long.GetValue() == "true":
/llvm-project-15.0.7/lldb/source/Expression/
H A DExpressionVariable.cpp23 m_frozen_sp->GetValue().ResizeData(*byte_size); in GetValueBytes()
24 m_frozen_sp->GetValue().GetData(m_frozen_sp->GetDataExtractor()); in GetValueBytes()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-tautological-compare.cpp30 #define GetValue(ptr) ((ptr != 0) ? ptr[0] : 0) macro
40 (void)GetValue(b); in ignore()
/llvm-project-15.0.7/lldb/test/API/functionalities/return-value/
H A DTestReturnValue.py121 in_float = float(in_value.GetValue())
260 in_child_str = in_child.GetValue()
286 in_child_str = in_child.GetValue()
287 ret_child_str = ret_child.GetValue()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-case.cpp74 std::optional<Value> GetValue(const parser::CaseValue &caseValue) { in GetValue() function in Fortran::semantics::CaseValues
123 auto value{GetValue(x)}; in ComputeBounds()
129 lo = GetValue(*x.lower); in ComputeBounds()
132 hi = GetValue(*x.upper); in ComputeBounds()

1234567