Lines Matching refs:obj_sp
1286 static Status ParseUsageMaskFromArray(StructuredData::ObjectSP obj_sp, in ParseUsageMaskFromArray() argument
1295 if (!obj_sp) { in ParseUsageMaskFromArray()
1303 obj_sp->GetAsUnsignedInteger(); in ParseUsageMaskFromArray()
1316 StructuredData::Array *array_val = obj_sp->GetAsArray(); in ParseUsageMaskFromArray()
1415 StructuredData::ObjectSP obj_sp = opt_dict->GetValueForKey("groups"); in SetOptionsFromArray() local
1416 if (obj_sp) { in SetOptionsFromArray()
1417 error = ParseUsageMaskFromArray(obj_sp, counter, in SetOptionsFromArray()
1425 obj_sp = opt_dict->GetValueForKey("required"); in SetOptionsFromArray()
1426 if (obj_sp) { in SetOptionsFromArray()
1427 StructuredData::Boolean *boolean_val = obj_sp->GetAsBoolean(); in SetOptionsFromArray()
1438 obj_sp = opt_dict->GetValueForKey("short_option"); in SetOptionsFromArray()
1439 if (obj_sp) { in SetOptionsFromArray()
1441 llvm::StringRef short_str = obj_sp->GetStringValue(); in SetOptionsFromArray()
1469 obj_sp = opt_dict->GetValueForKey("value_type"); in SetOptionsFromArray()
1470 if (obj_sp) { in SetOptionsFromArray()
1472 = obj_sp->GetAsUnsignedInteger(); in SetOptionsFromArray()
1492 obj_sp = opt_dict->GetValueForKey("completion_type"); in SetOptionsFromArray()
1493 if (obj_sp) { in SetOptionsFromArray()
1494 StructuredData::UnsignedInteger *uint_val = obj_sp->GetAsUnsignedInteger(); in SetOptionsFromArray()
1512 obj_sp = opt_dict->GetValueForKey("help"); in SetOptionsFromArray()
1513 if (!obj_sp) { in SetOptionsFromArray()
1519 usage_stref = obj_sp->GetStringValue(); in SetOptionsFromArray()
1530 obj_sp = opt_dict->GetValueForKey("enum_values"); in SetOptionsFromArray()
1531 if (obj_sp) { in SetOptionsFromArray()
1532 StructuredData::Array *array = obj_sp->GetAsArray(); in SetOptionsFromArray()
1563 StructuredData::ObjectSP obj_sp = enum_arr->GetItemAtIndex(0); in SetOptionsFromArray() local
1564 llvm::StringRef val_stref = obj_sp->GetStringValue(); in SetOptionsFromArray()
1568 obj_sp = enum_arr->GetItemAtIndex(1); in SetOptionsFromArray()
1569 if (!obj_sp) { in SetOptionsFromArray()
1574 llvm::StringRef usage_stref = obj_sp->GetStringValue(); in SetOptionsFromArray()
1766 StructuredData::ObjectSP obj_sp in CommandObjectScriptingObjectParsed() local
1768 if (obj_sp) { in CommandObjectScriptingObjectParsed()
1770 = obj_sp->GetAsUnsignedInteger(); in CommandObjectScriptingObjectParsed()
1783 obj_sp = arg_dict->GetValueForKey("repeat"); in CommandObjectScriptingObjectParsed()
1785 if (obj_sp) { in CommandObjectScriptingObjectParsed()
1786 llvm::StringRef repeat_str = obj_sp->GetStringValue(); in CommandObjectScriptingObjectParsed()
1800 obj_sp = arg_dict->GetValueForKey("groups"); in CommandObjectScriptingObjectParsed()
1801 m_args_error = CommandOptions::ParseUsageMaskFromArray(obj_sp, in CommandObjectScriptingObjectParsed()