Home
last modified time | relevance | path

Searched refs:JSONValue (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm-project/lldb/tools/debugserver/source/
DJSON.h25 class JSONValue {
29 typedef std::shared_ptr<JSONValue> SP;
33 JSONValue(Kind k) : m_kind(k) {} in JSONValue() function
37 virtual ~JSONValue() = default;
43 class JSONString : public JSONValue {
58 static bool classof(const JSONValue *V) { in classof()
59 return V->GetKind() == JSONValue::Kind::String; in classof()
70 class JSONNumber : public JSONValue {
87 : JSONValue(JSONValue::Kind::Number), m_data_type(DataType::Unsigned) { in JSONNumber()
95 : JSONValue(JSONValue::Kind::Number), m_data_type(DataType::Signed) { in JSONNumber()
[all …]
DJSON.cpp39 JSONString::JSONString() : JSONValue(JSONValue::Kind::String), m_data() {} in JSONString()
42 : JSONValue(JSONValue::Kind::String), m_data(s ? s : "") {} in JSONString()
45 : JSONValue(JSONValue::Kind::String), m_data(s) {} in JSONString()
100 JSONTrue::JSONTrue() : JSONValue(JSONValue::Kind::True) {} in JSONTrue()
104 JSONFalse::JSONFalse() : JSONValue(JSONValue::Kind::False) {} in JSONFalse()
108 JSONNull::JSONNull() : JSONValue(JSONValue::Kind::Null) {} in JSONNull()
112 JSONObject::JSONObject() : JSONValue(JSONValue::Kind::Object) {} in JSONObject()
124 JSONValue::SP value(iter->second); in Write()
132 bool JSONObject::SetObject(const std::string &key, JSONValue::SP value) { in SetObject()
139 JSONValue::SP JSONObject::GetObject(const std::string &key) const { in GetObject()
[all …]
/external/autotest/frontend/client/src/autotest/moblab/rpc/
DMoblabRpcHelper.java7 import com.google.gwt.json.client.JSONValue;
33 public void onSuccess(JSONValue result) { in fetchConfigData()
82 public void onSuccess(JSONValue result) { in fetchNetworkInfo()
98 public void onSuccess(JSONValue result) { in fetchCloudStorageInfo()
116 public void onSuccess(JSONValue result) { in validateCloudStorageInfo()
143 public void onSuccess(JSONValue result) { in submitWizardConfigData()
159 public void onSuccess(JSONValue result) { in fetchMoblabBuildVersionInfo()
183 public void onSuccess(JSONValue result) { in fetchDutInformation()
203 public void onSuccess(JSONValue result) { in addMoblabDut()
223 public void onSuccess(JSONValue result) { in removeMoblabDut()
[all …]
DJsonRpcEntity.java4 import com.google.gwt.json.client.JSONValue;
16 JSONValue value = object.get(field); in getStringFieldOrDefault()
25 JSONValue value = object.get(field); in getBooleanFieldOrDefault()
DNetworkInfo.java7 import com.google.gwt.json.client.JSONValue;
47 JSONValue serverIpsObject = object.get(JSON_FIELD_SERVER_IPS); in fromJson()
57 JSONValue connectedObject = object.get(JSON_FIELD_IS_CONNECTED); in fromJson()
DOperationStatus.java6 import com.google.gwt.json.client.JSONValue;
41 JSONValue value = object.get(OperationStatus.JSON_FIELD_STATUS_OK); in fromJson()
/external/autotest/frontend/client/src/autotest/afe/
DAfeUtils.java18 import com.google.gwt.json.client.JSONValue;
123 JSONValue idListValue = entry.get("id_list"); in abortHostQueueEntries()
128 JSONValue id = entry.get("id"); in abortHostQueueEntries()
171 for (JSONValue value : new JSONArrayList<JSONValue>(newValues)) { in extendJsonArray()
181 public void onSuccess(JSONValue result) { in callAbort()
201 public void onSuccess(JSONValue result) { in callAbortSpecialTasks()
221 public void onSuccess(JSONValue result) { in callReverify()
238 public void onSuccess(JSONValue result) { in callRepair()
254 public void onSuccess(JSONValue result) { in callModifyHosts()
356 JSONValue dateValue = row.get(sourceFieldName); in removeSecondsFromDateField()
[all …]
DHostTableDecorator.java16 import com.google.gwt.json.client.JSONValue;
30 private JSONValue username;
38 public JSONValue getMatchValue() { in getMatchValue()
DLabelFilter.java9 import com.google.gwt.json.client.JSONValue;
47 public JSONValue getMatchValue() { in getMatchValue()
DHostDataSource.java11 import com.google.gwt.json.client.JSONValue;
29 protected List<JSONObject> handleJsonResult(JSONValue result) { in handleJsonResult()
/external/autotest/frontend/client/src/autotest/common/
DStaticDataRepository.java5 import com.google.gwt.json.client.JSONValue;
40 public void onSuccess(JSONValue result) { in refresh()
61 public JSONValue getData(String key) { in getData()
68 public void setData(String key, JSONValue data) { in setData()
DJSONArrayList.java4 import com.google.gwt.json.client.JSONValue;
11 public class JSONArrayList<T extends JSONValue> extends AbstractList<T> {
DCommonClassFactory.java3 import com.google.gwt.json.client.JSONValue;
32 public void onSuccess(JSONValue result) { in refreshMOTD()
DJsonRpcProxy.java10 import com.google.gwt.json.client.JSONValue;
91 JSONValue error = responseObject.get("error"); in handleResponseObject()
102 JSONValue result = responseObject.get("result"); in handleResponseObject()
DJsonRpcCallback.java7 import com.google.gwt.json.client.JSONValue;
17 public abstract void onSuccess(JSONValue result); in onSuccess()
/external/autotest/frontend/client/src/autotest/common/table/
DSimpleFilter.java4 import com.google.gwt.json.client.JSONValue;
13 public void setParameter(String key, JSONValue value) { in setParameter()
19 JSONValue value = from.get(key); in updateObject()
DRpcDataSource.java12 import com.google.gwt.json.client.JSONValue;
47 public void onSuccess(JSONValue result) { in getPage()
65 public void onSuccess(JSONValue result) { in getTotalResultCount()
91 protected List<JSONObject> handleJsonResult(JSONValue result) { in handleJsonResult()
DFieldFilter.java4 import com.google.gwt.json.client.JSONValue;
18 public abstract JSONValue getMatchValue(); in getMatchValue()
DMultipleListFilter.java5 import com.google.gwt.json.client.JSONValue;
21 public JSONValue getMatchValue() { in getMatchValue()
/external/autotest/frontend/client/src/autotest/moblab/
DConfigSettingsView.java15 import com.google.gwt.json.client.JSONValue;
54 loadData((JSONValue) source); in refresh()
137 private void loadData(JSONValue result) { in loadData()
183 public void onSuccess(JSONValue result) { in rpcCallSubmit()
192 public void onSuccess(JSONValue result) { in rpcCallReset()
/external/autotest/frontend/client/src/autotest/tko/
DTestLabelManager.java14 import com.google.gwt.json.client.JSONValue;
119 public void onSuccess(JSONValue result) { in handleRemoveLabels()
180 public void onSuccess(JSONValue result) { in addLabel()
199 public void onSuccess(JSONValue result) { in addOrRemoveLabel()
208 public void onSuccess(JSONValue result) { in updateLabels()
DTestViewDataSource.java6 import com.google.gwt.json.client.JSONValue;
19 protected List<JSONObject> handleJsonResult(JSONValue result) { in handleJsonResult()
DSavedQueriesControl.java20 import com.google.gwt.json.client.JSONValue;
108 public void onSuccess(JSONValue result) { in fillQueryList()
153 public void onSuccess(JSONValue result) { in onClick()
169 public void onSuccess(JSONValue result) { in onClick()
187 public void onSuccess(JSONValue result) { in onHistoryChanged()
/external/autotest/frontend/client/src/autotest/afe/create/
DCreateJobViewTab.java6 import com.google.gwt.json.client.JSONValue;
46 public void cloneJob(JSONValue cloneInfo) { in cloneJob()
/external/autotest/frontend/client/test/autotest/moblab/rpc/
DNetworkInfoTest.java4 import com.google.gwt.json.client.JSONValue;
14 JSONValue ips = jsonInfo.get(NetworkInfo.JSON_FIELD_SERVER_IPS); in testSerialization()

12