Home
last modified time | relevance | path

Searched refs:toJSON (Results 1 – 25 of 176) sorted by relevance

12345678

/third_party/node/deps/npm/test/lib/utils/
Dqueryable.js204 q.toJSON(),
215 q.toJSON(),
227 q.toJSON(),
244 q.toJSON(),
266 q.toJSON(),
293 q.toJSON(),
321 q.toJSON(),
369 q.toJSON().foo,
383 qq.toJSON(),
395 qq.toJSON(),
[all …]
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/
Dsigstore_verification.js19 toJSON(message) { method
22 …ned && (obj.san = message.san ? sigstore_common_1.SubjectAlternativeName.toJSON(message.san) : und…
24 …s = message.oids.map((e) => e ? sigstore_common_1.ObjectIdentifierValuePair.toJSON(e) : undefined);
43 toJSON(message) { method
46 …obj.identities = message.identities.map((e) => e ? exports.CertificateIdentity.toJSON(e) : undefin…
63 toJSON(message) { method
66 …obj.publicKeys = message.publicKeys.map((e) => e ? sigstore_common_1.PublicKey.toJSON(e) : undefin…
112 toJSON(message) { method
116 ? exports.CertificateIdentities.toJSON(message.signers?.certificateIdentities)
119 ? exports.PublicKeyIdentities.toJSON(message.signers?.publicKeys)
[all …]
Dsigstore_bundle.js19 toJSON(message) { method
22 …e.rfc3161Timestamps.map((e) => e ? sigstore_common_1.RFC3161SignedTimestamp.toJSON(e) : undefined);
54 toJSON(message) { method
57 …Key = message.content?.publicKey ? sigstore_common_1.PublicKeyIdentifier.toJSON(message.content?.p…
60 … ? sigstore_common_1.X509CertificateChain.toJSON(message.content?.x509CertificateChain)
64 ? sigstore_common_1.X509Certificate.toJSON(message.content?.certificate)
67 … = message.tlogEntries.map((e) => e ? sigstore_rekor_1.TransparencyLogEntry.toJSON(e) : undefined);
74 ? exports.TimestampVerificationData.toJSON(message.timestampVerificationData)
96 toJSON(message) { method
100 ? exports.VerificationMaterial.toJSON(message.verificationMaterial)
[all …]
Dsigstore_trustroot.js18 toJSON(message) { method
23 …(obj.publicKey = message.publicKey ? sigstore_common_1.PublicKey.toJSON(message.publicKey) : undef…
24 …message.logId !== undefined && (obj.logId = message.logId ? sigstore_common_1.LogId.toJSON(message…
40 toJSON(message) { method
43 …(obj.subject = message.subject ? sigstore_common_1.DistinguishedName.toJSON(message.subject) : und…
46 …(obj.certChain = message.certChain ? sigstore_common_1.X509CertificateChain.toJSON(message.certCha…
48 …(obj.validFor = message.validFor ? sigstore_common_1.TimeRange.toJSON(message.validFor) : undefine…
71 toJSON(message) { method
75 … obj.tlogs = message.tlogs.map((e) => e ? exports.TransparencyLogInstance.toJSON(e) : undefined);
81 … message.certificateAuthorities.map((e) => e ? exports.CertificateAuthority.toJSON(e) : undefined);
[all …]
Dsigstore_common.js309 toJSON(message) { method
327 toJSON(message) { method
330 …(obj.messageDigest = message.messageDigest ? exports.HashOutput.toJSON(message.messageDigest) : un…
343 toJSON(message) { method
361 toJSON(message) { method
379 toJSON(message) { method
385 … (obj.validFor = message.validFor ? exports.TimeRange.toJSON(message.validFor) : undefined);
396 toJSON(message) { method
409 toJSON(message) { method
430 toJSON(message) { method
[all …]
Dsigstore_rekor.js16 toJSON(message) { method
30 toJSON(message) { method
49 toJSON(message) { method
62 … (obj.checkpoint = message.checkpoint ? exports.Checkpoint.toJSON(message.checkpoint) : undefined);
77 toJSON(message) { method
109 toJSON(message) { method
112 …message.logId !== undefined && (obj.logId = message.logId ? sigstore_common_1.LogId.toJSON(message…
114 …(obj.kindVersion = message.kindVersion ? exports.KindVersion.toJSON(message.kindVersion) : undefin…
117 …(obj.inclusionPromise = message.inclusionPromise ? exports.InclusionPromise.toJSON(message.inclusi…
119 …(obj.inclusionProof = message.inclusionProof ? exports.InclusionProof.toJSON(message.inclusionProo…
Devents.js32 toJSON(message) { method
41 obj.attributes[k] = exports.CloudEvent_CloudEventAttributeValue.toJSON(v);
48 … (obj.protoData = message.data?.protoData ? any_1.Any.toJSON(message.data?.protoData) : undefined);
62 toJSON(message) { method
66 …(obj.value = message.value ? exports.CloudEvent_CloudEventAttributeValue.toJSON(message.value) : u…
93 toJSON(message) { method
113 toJSON(message) { method
116 obj.events = message.events.map((e) => e ? exports.CloudEvent.toJSON(e) : undefined);
Denvelope.js16 toJSON(message) { method
22 … obj.signatures = message.signatures.map((e) => e ? exports.Signature.toJSON(e) : undefined);
40 toJSON(message) { method
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/
Ddescriptor.js350 toJSON(message) { method
353 … obj.file = message.file.map((e) => e ? exports.FileDescriptorProto.toJSON(e) : undefined);
400 toJSON(message) { method
423 …obj.messageType = message.messageType.map((e) => e ? exports.DescriptorProto.toJSON(e) : undefined…
429 … obj.enumType = message.enumType.map((e) => e ? exports.EnumDescriptorProto.toJSON(e) : undefined);
435 …obj.service = message.service.map((e) => e ? exports.ServiceDescriptorProto.toJSON(e) : undefined);
441 …obj.extension = message.extension.map((e) => e ? exports.FieldDescriptorProto.toJSON(e) : undefine…
446 …ns !== undefined && (obj.options = message.options ? exports.FileOptions.toJSON(message.options) :…
448 …(obj.sourceCodeInfo = message.sourceCodeInfo ? exports.SourceCodeInfo.toJSON(message.sourceCodeInf…
492 toJSON(message) { method
[all …]
/third_party/skia/tools/debugger/
DDrawCommand.h91 virtual void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const;
137 void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const override;
150 void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const override;
164 void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const override;
177 void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const override;
192 void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const override;
207 void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const override;
229 void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const override;
241 void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const override;
253 void toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const override;
[all …]
DDrawCommand.cpp258 void DrawCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON() function in DrawCommand
983 void ClearCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON() function in ClearCommand
984 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1003 void ClipPathCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON() function in ClipPathCommand
1004 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1019 void ClipRegionCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON() function in ClipRegionCommand
1020 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1035 void ClipRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON() function in ClipRectCommand
1036 INHERITED::toJSON(writer, urlDataManager); in toJSON()
1060 void ClipRRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON() function in ClipRRectCommand
[all …]
/third_party/typescript/tests/baselines/reference/
DjsFunctionWithPrototypeNoErrorTruncationNoCrash.types15toJSON: function () {return this.rgb();},} : { negate: () => this; lighten: (ratio: any) => this; …
16 …n: (ratio: any) => this; greyscale: () => this; clearer: (ratio: any) => this; toJSON: () => any; }
18 …n: (ratio: any) => this; greyscale: () => this; clearer: (ratio: any) => this; toJSON: () => any; }
19toJSON: function () {return this.rgb();},} : { negate: () => this; lighten: (ratio: any) => this; …
73 toJSON: function () {return this.rgb();},
74 >toJSON : () => any
DjsDeclarationsClassAccessor.js15 toJSON() {
43 toJSON() { method in Base
69 toJSON(): {
DjsDeclarationsClassAccessor.symbols22 toJSON() {
23 >toJSON : Symbol(Base.toJSON, Decl(base.js, 1, 21))
/third_party/jerryscript/tests/jerry/
Ddate-tostring.js121 assert (new Date (NaN).toJSON () == null);
122 assert (new Date ("2015-07-16").toJSON () == "2015-07-16T00:00:00.000Z");
123 assert (new Date ("2015-07-16T11:29:05.023").toJSON () == "2015-07-16T11:29:05.023Z");
127 Date.prototype.toJSON.call(-1); method in Date
135 date_time = new Date ("2015-07-08T11:29:05.023").toJSON ();
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/grammar/interfaces/
Dinterfaces.ts36 toJSON(): string; method
42 toJSON() {
47 Assert.equal(pa.toJSON(), "[3,4,5]");
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/
Ddelegations.js54 toJSON() { method in Delegations
63 json.succinct_roles = this.succinctRoles.toJSON();
85 [keyId]: key.toJSON(),
89 return Object.values(roles).map((role) => role.toJSON());
Drole.js45 toJSON() { method in Role
115 toJSON() { method in DelegatedRole
117 ...super.toJSON(),
268 toJSON() { method in SuccinctRoles
270 ...super.toJSON(),
Dmetadata.js48 const bytes = Buffer.from((0, canonical_json_1.canonicalize)(this.signed.toJSON()));
110 toJSON() { method in Metadata
112 return signature.toJSON();
116 signed: this.signed.toJSON(),
Dtargets.js34 toJSON() { method in Targets
44 json.delegations = this.delegations.toJSON();
63 [path]: target.toJSON(),
/third_party/node/test/parallel/
Dtest-buffer-alloc.js945 assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]);
950 assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]);
955 assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]);
960 assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]);
965 assert.deepStrictEqual(buf.toJSON().data, [0xaa, 0xcb, 0xed]);
970 assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcb, 0xaa]);
975 assert.deepStrictEqual(buf.toJSON().data, [0x00, 0xcc, 0xed]);
980 assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcc, 0x00]);
985 assert.deepStrictEqual(buf.toJSON().data, [0x00, 0x00, 0xee]);
990 assert.deepStrictEqual(buf.toJSON().data, [0xee, 0x00, 0x00]);
[all …]
Dtest-tojson-perf_hooks.js9 assert.strictEqual(typeof performance.toJSON, 'function');
10 const jsonObject = performance.toJSON();
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.3/generic_parameter_defaults/
Dgeneric_parameter_defaults_2.ts38 toJSON() { method in CA
44 Assert.equal(cca1.toJSON(), "{\"a\":0,\"b\":[0,0],\"c\":\"[0]\"}");
46 Assert.equal(cca2.toJSON(), "{\"a\":\"A\",\"b\":[\"A\"],\"c\":[[\"A\"],[\"B\"]]}");
/third_party/jsframework/runtime/main/manage/instance/
Dmisc.ts37 result = body.toJSON ? body.toJSON() : {};
/third_party/node/test/fixtures/wpt/performance-timeline/
Dperformanceentry-tojson.any.js13 assert_equals(typeof(entries[i].toJSON), 'function');
14 const json = entries[i].toJSON();

12345678