Home
last modified time | relevance | path

Searched refs:JSONNumber (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/lldb/unittests/debugserver/
DJSONTest.cpp38 ParseAndTestJSON<JSONNumber>("3", [](JSONNumber &number_val) { in TEST()
43 ParseAndTestJSON<JSONNumber>("-5", [](JSONNumber &number_val) { in TEST()
47 ParseAndTestJSON<JSONNumber>("-6.4", [](JSONNumber &number_val) { in TEST()
57 TestJSON<JSONNumber>(obj_val.GetObject("key1").get(), in TEST()
58 [](JSONNumber &number_val) { in TEST()
70 TestJSON<JSONNumber>(array_val.GetObject(0).get(), in TEST()
71 [](JSONNumber &number_val) { in TEST()
79 TestJSON<JSONNumber>(array_val.GetObject(2).get(), in TEST()
80 [](JSONNumber &number_val) { in TEST()
/external/llvm-project/lldb/tools/debugserver/source/
DJSON.h70 class JSONNumber : public JSONValue {
72 typedef std::shared_ptr<JSONNumber> SP;
86 explicit JSONNumber(T u) in JSONNumber() function
94 explicit JSONNumber(T s) in JSONNumber() function
101 explicit JSONNumber(T d) in JSONNumber() function
106 ~JSONNumber() override = default;
108 JSONNumber(const JSONNumber &s) = delete;
109 JSONNumber &operator=(const JSONNumber &s) = delete;
DJSON.cpp51 uint64_t JSONNumber::GetAsUnsigned() const { in GetAsUnsigned()
62 int64_t JSONNumber::GetAsSigned() const { in GetAsSigned()
73 double JSONNumber::GetAsDouble() const { in GetAsDouble()
84 void JSONNumber::Write(std::ostream &s) { in Write()
560 return JSONValue::SP(new JSONNumber(sval)); in ParseJSONValue()
565 return JSONValue::SP(new JSONNumber(uval)); in ParseJSONValue()
573 return JSONValue::SP(new JSONNumber(val)); in ParseJSONValue()
/external/autotest/frontend/client/src/autotest/common/table/
DDynamicTableSelectionManager.java8 import com.google.gwt.json.client.JSONNumber;
77 JSONArrayList<JSONNumber> idList = new JSONArrayList<JSONNumber>(); in selectedIdList()
79 JSONNumber id = object.get("id").isNumber(); in selectedIdList()
DRpcDataSource.java9 import com.google.gwt.json.client.JSONNumber;
30 pageParams.put("query_start", new JSONNumber(start.intValue())); in getPage()
33 pageParams.put("query_limit", new JSONNumber(maxCount.intValue())); in getPage()
/external/autotest/frontend/client/src/autotest/afe/
DJobDetailView.java28 import com.google.gwt.json.client.JSONNumber;
140 params.put("id", new JSONNumber(jobId)); in fetchData()
225 jobFilter.setParameter("job", new JSONNumber(jobId)); in fetchData()
228 parentJobIdFliter.setParameter("parent_job", new JSONNumber(jobId)); in fetchData()
379 params.put("job__id", new JSONNumber(jobId)); in abortJob()
441 params.put("id", new JSONNumber(jobId)); in cloneJob()
587 params.put("job_id", new JSONNumber(jobId)); in getJobHistory()
604 params.put("afe_job_id", new JSONNumber(jobId)); in getSpongeUrl()
DHostSelector.java18 import com.google.gwt.json.client.JSONNumber;
250 metaObject.put("locked", new JSONNumber(0)); in addMetaHosts()
DHostDetailView.java34 import com.google.gwt.json.client.JSONNumber;
116 new JSONNumber(Double.parseDouble(hostId))); in updateFilter()
/external/autotest/frontend/client/src/autotest/common/
DJsonRpcProxy.java7 import com.google.gwt.json.client.JSONNumber;
71 request.put("id", new JSONNumber(0)); in buildRequestObject()
DUtils.java8 import com.google.gwt.json.client.JSONNumber;
53 result.set(result.size(), new JSONNumber(i)); in integersToJSON()
217 JSONNumber number; in jsonToString()
/external/autotest/frontend/client/src/autotest/tko/embedded_spreadsheet/
DEmbeddedSpreadsheetPresenter.java16 import com.google.gwt.json.client.JSONNumber;
97 condition.put("afe_job_id", new JSONNumber(afeJobId)); in getFilterCondition()
/external/autotest/frontend/client/src/autotest/tko/
DSavedQueriesControl.java17 import com.google.gwt.json.client.JSONNumber;
165 ids.set(0, new JSONNumber(Integer.parseInt(idString))); in onClick()
184 args.put("id", new JSONNumber(Integer.parseInt(idString))); in onHistoryChanged()
DTestDetailView.java15 import com.google.gwt.json.client.JSONNumber;
200 params.put("test_idx", new JSONNumber(testId)); in fetchData()
/external/autotest/frontend/client/src/autotest/afe/create/
DCreateJobViewPresenter.java45 import com.google.gwt.json.client.JSONNumber;
692 synchCount = new JSONNumber(parsePositiveIntegerInput( in submitJob()
708 args.put("priority", new JSONNumber(Double.parseDouble(priority))); in submitJob()
713 args.put("timeout_mins", new JSONNumber(timeoutValue)); in submitJob()
714 args.put("max_runtime_mins", new JSONNumber(maxRuntimeValue)); in submitJob()
715 args.put("test_retry", new JSONNumber(testRetryValue)); in submitJob()
/external/autotest/frontend/client/src/autotest/moblab/rpc/
DMoblabRpcHelper.java4 import com.google.gwt.json.client.JSONNumber;