/external/skia/tools/json/ |
D | SkJSONCanvas.cpp | 24 , fRoot(Json::objectValue) in SkJSONCanvas() 25 , fCommands(Json::arrayValue) in SkJSONCanvas() 27 fRoot[SKJSONCANVAS_VERSION] = Json::Value(1); in SkJSONCanvas() 32 fOut.writeText(Json::FastWriter().write(fRoot).c_str()); in finish() 35 Json::Value SkJSONCanvas::makePoint(const SkPoint& point) { in makePoint() 36 Json::Value result(Json::arrayValue); in makePoint() 37 result.append(Json::Value(point.x())); in makePoint() 38 result.append(Json::Value(point.y())); in makePoint() 42 Json::Value SkJSONCanvas::makePoint(SkScalar x, SkScalar y) { in makePoint() 43 Json::Value result(Json::arrayValue); in makePoint() [all …]
|
D | SkJSONRenderer.cpp | 23 void getPaint(Json::Value& paint, SkPaint* result); 25 void getRect(Json::Value& rect, SkRect* result); 27 void getRRect(Json::Value& rrect, SkRRect* result); 29 void getPath(Json::Value& path, SkPath* result); 31 void getMatrix(Json::Value& matrix, SkMatrix* result); 33 SkRegion::Op getRegionOp(Json::Value& op); 35 void processCommand(Json::Value& command, SkCanvas* target); 37 void processTranslate(Json::Value& command, SkCanvas* target); 39 void processScale(Json::Value& command, SkCanvas* target); 41 void processMatrix(Json::Value& command, SkCanvas* target); [all …]
|
D | SkJSONCanvas.h | 176 static Json::Value MakeMatrix(const SkMatrix& matrix); 178 static Json::Value MakeIRect(const SkIRect& irect); 262 Json::Value makePoint(const SkPoint& point); 264 Json::Value makePoint(SkScalar x, SkScalar y); 266 Json::Value makeRect(const SkRect& rect); 268 Json::Value makeRRect(const SkRRect& rrect); 270 Json::Value makePath(const SkPath& path); 272 Json::Value makeRegion(const SkRegion& region); 274 Json::Value makePaint(const SkPaint& paint); 276 Json::Value makeRegionOp(SkRegion::Op op); [all …]
|
/external/jsoncpp/src/test_lib_json/ |
D | main.cpp | 13 #define kint32max Json::Value::maxInt 14 #define kint32min Json::Value::minInt 15 #define kuint32max Json::Value::maxUInt 16 #define kint64max Json::Value::maxInt64 17 #define kint64min Json::Value::minInt64 18 #define kuint64max Json::Value::maxUInt64 32 static inline double uint64ToDouble(Json::UInt64 value) { in uint64ToDouble() 36 static inline double uint64ToDouble(Json::UInt64 value) { in uint64ToDouble() 37 return static_cast<double>(Json::Int64(value / 2)) * 2.0 + in uint64ToDouble() 38 Json::Int64(value & 1); in uint64ToDouble() [all …]
|
/external/webrtc/webrtc/base/ |
D | json.h | 30 bool GetIntFromJson(const Json::Value& in, int* out); 31 bool GetUIntFromJson(const Json::Value& in, unsigned int* out); 32 bool GetStringFromJson(const Json::Value& in, std::string* out); 33 bool GetBoolFromJson(const Json::Value& in, bool* out); 34 bool GetDoubleFromJson(const Json::Value& in, double* out); 37 bool GetValueFromJsonArray(const Json::Value& in, size_t n, 38 Json::Value* out); 39 bool GetIntFromJsonArray(const Json::Value& in, size_t n, 41 bool GetUIntFromJsonArray(const Json::Value& in, size_t n, 43 bool GetStringFromJsonArray(const Json::Value& in, size_t n, [all …]
|
D | json.cc | 21 bool GetStringFromJson(const Json::Value& in, std::string* out) { in GetStringFromJson() 42 bool GetIntFromJson(const Json::Value& in, int* out) { in GetIntFromJson() 45 ret = in.isConvertibleTo(Json::intValue); in GetIntFromJson() 62 bool GetUIntFromJson(const Json::Value& in, unsigned int* out) { in GetUIntFromJson() 65 ret = in.isConvertibleTo(Json::uintValue); in GetUIntFromJson() 82 bool GetBoolFromJson(const Json::Value& in, bool* out) { in GetBoolFromJson() 85 ret = in.isConvertibleTo(Json::booleanValue); in GetBoolFromJson() 103 bool GetDoubleFromJson(const Json::Value& in, double* out) { in GetDoubleFromJson() 106 ret = in.isConvertibleTo(Json::realValue); in GetDoubleFromJson() 124 bool JsonArrayToVector(const Json::Value& value, in JsonArrayToVector() [all …]
|
D | json_unittest.cc | 19 static Json::Value in_s("foo"); 20 static Json::Value in_sn("99"); 21 static Json::Value in_si("-99"); 22 static Json::Value in_sb("true"); 23 static Json::Value in_sd("1.2"); 24 static Json::Value in_n(12); 25 static Json::Value in_i(-12); 26 static Json::Value in_u(34U); 27 static Json::Value in_b(true); 28 static Json::Value in_d(1.2); [all …]
|
/external/skia/tools/debugger/ |
D | SkDrawCommand.cpp | 164 typedef SkDrawCommand* (*FROM_JSON)(Json::Value&, UrlDataManager&); 223 Json::Value SkDrawCommand::toJSON(UrlDataManager& urlDataManager) const { in toJSON() 224 Json::Value result; in toJSON() 226 result[SKDEBUGCANVAS_ATTRIBUTE_VISIBLE] = Json::Value(this->isVisible()); in toJSON() 230 Json::Value SkDrawCommand::drawToAndCollectJSON(SkCanvas* canvas, in drawToAndCollectJSON() 232 Json::Value result = this->toJSON(urlDataManager); in drawToAndCollectJSON() 247 Json::Value parsedFromString; in drawToAndCollectJSON() 248 Json::Reader reader; in drawToAndCollectJSON() 263 SkDrawCommand* SkDrawCommand::fromJSON(Json::Value& command, UrlDataManager& urlDataManager) { in fromJSON() 426 static Json::Value make_json_color(const SkColor color) { in make_json_color() [all …]
|
D | SkDrawCommand.h | 103 virtual Json::Value toJSON(UrlDataManager& urlDataManager) const; 105 Json::Value drawToAndCollectJSON(SkCanvas*, UrlDataManager& urlDataManager) const; 111 static SkDrawCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 128 static SkRestoreCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 138 Json::Value toJSON(UrlDataManager& urlDataManager) const override; 139 static SkClearCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 152 Json::Value toJSON(UrlDataManager& urlDataManager) const override; 153 static SkClipPathCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); 167 Json::Value toJSON(UrlDataManager& urlDataManager) const override; 168 static SkClipRegionCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager); [all …]
|
/external/jsoncpp/src/jsontestrunner/ |
D | main.cpp | 63 printValueTree(FILE* fout, Json::Value& value, const std::string& path = ".") { in printValueTree() 64 if (value.hasComment(Json::commentBefore)) { in printValueTree() 65 fprintf(fout, "%s\n", value.getComment(Json::commentBefore).c_str()); in printValueTree() 68 case Json::nullValue: in printValueTree() 71 case Json::intValue: in printValueTree() 75 Json::valueToString(value.asLargestInt()).c_str()); in printValueTree() 77 case Json::uintValue: in printValueTree() 81 Json::valueToString(value.asLargestUInt()).c_str()); in printValueTree() 83 case Json::realValue: in printValueTree() 89 case Json::stringValue: in printValueTree() [all …]
|
/external/skia/tools/skiaserve/urlhandlers/ |
D | BreakHandler.cpp | 63 Json::Value response(Json::objectValue); in handle() 64 Json::Value startColor(Json::arrayValue); in handle() 65 startColor.append(Json::Value(SkColorGetR(target))); in handle() 66 startColor.append(Json::Value(SkColorGetG(target))); in handle() 67 startColor.append(Json::Value(SkColorGetB(target))); in handle() 68 startColor.append(Json::Value(SkColorGetA(target))); in handle() 71 response["endOp"] = Json::Value(n); in handle() 83 Json::Value endColor(Json::arrayValue); in handle() 84 endColor.append(Json::Value(SkColorGetR(current))); in handle() 85 endColor.append(Json::Value(SkColorGetG(current))); in handle() [all …]
|
D | InfoHandler.cpp | 51 Json::Value info(Json::objectValue); in handle() 55 std::string json = Json::FastWriter().write(info); in handle()
|
/external/skia/gm/ |
D | gm_expectations.h | 24 Json::Value CreateJsonTree(Json::Value expectedResults, 25 Json::Value actualResultsFailed, 26 Json::Value actualResultsFailureIgnored, 27 Json::Value actualResultsNoComparison, 28 Json::Value actualResultsSucceeded); 47 explicit GmResultDigest(const Json::Value &jsonTypeValuePair); 65 Json::Value asJsonTypeValuePair() const; 121 explicit Expectations(Json::Value jsonElement); 158 Json::Value asJsonValue() const; 221 static bool Parse(const char *jsonPath, Json::Value *jsonRoot); [all …]
|
/external/jsoncpp/ |
D | NEWS.txt | 35 - Patch #10: BOOST_FOREACH compatibility. Made Json::iterator more 62 - Patch #16: Missing field copy in Json::Value::iterator causing infinite 94 Types Json::Int64 and Json::UInt64 have been added. They are aliased 98 Types Json::LargestInt and Json::LargestUInt have been added. They are 100 either Json::Int/Json::UInt or Json::Int64/Json::UInt64 respectively. 102 Json::Value::asInt() and Json::Value::asUInt() still returns plain 106 Json::Value::asInt64() and Json::Value::asUInt64() have been added 109 Json::Value::asLargestInt() and Json::Value::asLargestUInt() returns 117 Warning: Json::Value::asInt() and Json::Value::asUInt() now returns 125 - The type Json::ArrayIndex is used for indexes of a JSON value array. It [all …]
|
/external/skia/bench/ |
D | ResultsWriter.h | 98 fResults[id.c_str()] = Json::Value(Json::objectValue); in bench() 126 stream.writeText(Json::StyledWriter().write(fRoot).c_str()); in flush() 132 Json::Value fRoot; 133 Json::Value& fResults; 134 Json::Value* fBench; 135 Json::Value* fConfig;
|
/external/skia/dm/ |
D | DMJsonWriter.cpp | 42 Json::Value root; in DumpJson() 54 Json::Value result; in DumpJson() 74 Json::Value result; in DumpJson() 92 stream.writeText(Json::StyledWriter().write(root).c_str()); in DumpJson() 102 Json::Reader reader; in ReadJson() 103 Json::Value root; in ReadJson() 109 const Json::Value& results = root["results"]; in ReadJson() 112 const Json::Value& r = results[i]; in ReadJson()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/ |
D | ResourceData.java | 8 import com.badlogic.gdx.utils.Json; 26 public class ResourceData<T> implements Json.Serializable{ 38 public static class SaveData implements Json.Serializable{ 81 public void write (Json json) { in write() 87 public void read (Json json, JsonValue jsonData) { in read() 94 public static class AssetData<T> implements Json.Serializable{ 103 public void write (Json json) { in write() 108 public void read (Json json, JsonValue jsonData) { in read() 193 public void write (Json json) { in write() 201 public void read (Json json, JsonValue jsonData) { in read()
|
D | ParticleControllerComponent.java | 9 import com.badlogic.gdx.utils.Json; 17 public abstract class ParticleControllerComponent implements Disposable, Json.Serializable, Resourc… 53 public void write (Json json) {} in write() 55 public void read (Json json, JsonValue jsonData) {} in read()
|
D | ParticleEffectLoader.java | 20 import com.badlogic.gdx.utils.Json; 45 Json json = new Json(); in getDependencies() 97 Json json = new Json(); in save()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/ |
D | ParticleValue.java | 3 import com.badlogic.gdx.utils.Json; 10 public class ParticleValue implements Json.Serializable { 32 public void write (Json json) { in write() 37 public void read (Json json, JsonValue jsonData) { in read()
|
D | SpawnShapeValue.java | 6 import com.badlogic.gdx.utils.Json; 11 …ass SpawnShapeValue extends ParticleValue implements ResourceData.Configurable, Json.Serializable{ 50 public void write (Json json) { in write() 58 public void read (Json json, JsonValue jsonData) { in read()
|
D | NumericValue.java | 3 import com.badlogic.gdx.utils.Json; 25 public void write (Json json) { in write() 31 public void read (Json json, JsonValue jsonData) { in read()
|
D | RangedNumericValue.java | 4 import com.badlogic.gdx.utils.Json; 49 public void write (Json json) { in write() 56 public void read (Json json, JsonValue jsonData) { in read()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/emitters/ |
D | Emitter.java | 4 import com.badlogic.gdx.utils.Json; 12 public abstract class Emitter extends ParticleControllerComponent implements Json.Serializable{ 67 public void write (Json json) { in write() 73 public void read (Json json, JsonValue jsonData) { in read()
|
/external/webrtc/talk/app/webrtc/ |
D | androidvideocapturer.cc | 140 Json::Value json_values; in AndroidVideoCapturer() 141 Json::Reader reader(Json::Features::strictMode()); in AndroidVideoCapturer() 147 for (Json::ArrayIndex i = 0; i < json_values.size(); ++i) { in AndroidVideoCapturer() 148 const Json::Value& json_value = json_values[i]; in AndroidVideoCapturer()
|