Lines Matching defs:obj_sp
1296 static Status ParseUsageMaskFromArray(StructuredData::ObjectSP obj_sp,
1305 if (!obj_sp) {
1313 obj_sp->GetAsUnsignedInteger();
1325 StructuredData::Array *array_val = obj_sp->GetAsArray();
1430 StructuredData::ObjectSP obj_sp = opt_dict->GetValueForKey("groups");
1431 if (obj_sp) {
1432 error = ParseUsageMaskFromArray(obj_sp, counter,
1440 obj_sp = opt_dict->GetValueForKey("required");
1441 if (obj_sp) {
1442 StructuredData::Boolean *boolean_val = obj_sp->GetAsBoolean();
1455 obj_sp = opt_dict->GetValueForKey("short_option");
1456 if (obj_sp) {
1458 llvm::StringRef short_str = obj_sp->GetStringValue();
1490 obj_sp = opt_dict->GetValueForKey("value_type");
1491 if (obj_sp) {
1493 = obj_sp->GetAsUnsignedInteger();
1516 obj_sp = opt_dict->GetValueForKey("completion_type");
1517 if (obj_sp) {
1518 StructuredData::UnsignedInteger *uint_val = obj_sp->GetAsUnsignedInteger();
1540 obj_sp = opt_dict->GetValueForKey("help");
1541 if (!obj_sp) {
1549 usage_stref = obj_sp->GetStringValue();
1560 obj_sp = opt_dict->GetValueForKey("enum_values");
1561 if (obj_sp) {
1562 StructuredData::Array *array = obj_sp->GetAsArray();
1598 StructuredData::ObjectSP obj_sp = enum_arr->GetItemAtIndex(0);
1599 llvm::StringRef val_stref = obj_sp->GetStringValue();
1603 obj_sp = enum_arr->GetItemAtIndex(1);
1604 if (!obj_sp) {
1611 llvm::StringRef usage_stref = obj_sp->GetStringValue();
1929 StructuredData::ObjectSP obj_sp
1931 if (obj_sp) {
1933 = obj_sp->GetAsUnsignedInteger();
1946 obj_sp = arg_dict->GetValueForKey("repeat");
1948 if (obj_sp) {
1949 llvm::StringRef repeat_str = obj_sp->GetStringValue();
1963 obj_sp = arg_dict->GetValueForKey("groups");
1964 m_args_error = CommandOptions::ParseUsageMaskFromArray(obj_sp,