Home
last modified time | relevance | path

Searched refs:toJSON (Results 1 - 25 of 77) sorted by relevance

1234

/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/
H A Dsigstore_verification.js19 toJSON(message) {
22 message.san !== undefined && (obj.san = message.san ? sigstore_common_1.SubjectAlternativeName.toJSON(message.san) : undefined);
24 obj.oids = message.oids.map((e) => e ? sigstore_common_1.ObjectIdentifierValuePair.toJSON(e) : undefined);
43 toJSON(message) {
46 obj.identities = message.identities.map((e) => e ? exports.CertificateIdentity.toJSON(e) : undefined);
63 toJSON(message) {
66 obj.publicKeys = message.publicKeys.map((e) => e ? sigstore_common_1.PublicKey.toJSON(e) : undefined);
112 toJSON(message) {
116 ? exports.CertificateIdentities.toJSON(message.signers?.certificateIdentities)
119 ? exports.PublicKeyIdentities.toJSON(messag
[all...]
H A Dsigstore_bundle.js19 toJSON(message) {
22 obj.rfc3161Timestamps = message.rfc3161Timestamps.map((e) => e ? sigstore_common_1.RFC3161SignedTimestamp.toJSON(e) : undefined);
54 toJSON(message) {
57 (obj.publicKey = message.content?.publicKey ? sigstore_common_1.PublicKeyIdentifier.toJSON(message.content?.publicKey) : undefined);
60 ? sigstore_common_1.X509CertificateChain.toJSON(message.content?.x509CertificateChain)
64 ? sigstore_common_1.X509Certificate.toJSON(message.content?.certificate)
67 obj.tlogEntries = message.tlogEntries.map((e) => e ? sigstore_rekor_1.TransparencyLogEntry.toJSON(e) : undefined);
74 ? exports.TimestampVerificationData.toJSON(message.timestampVerificationData)
96 toJSON(message) {
100 ? exports.VerificationMaterial.toJSON(messag
[all...]
H A Dsigstore_trustroot.js18 toJSON(message) {
23 (obj.publicKey = message.publicKey ? sigstore_common_1.PublicKey.toJSON(message.publicKey) : undefined);
24 message.logId !== undefined && (obj.logId = message.logId ? sigstore_common_1.LogId.toJSON(message.logId) : undefined);
40 toJSON(message) {
43 (obj.subject = message.subject ? sigstore_common_1.DistinguishedName.toJSON(message.subject) : undefined);
46 (obj.certChain = message.certChain ? sigstore_common_1.X509CertificateChain.toJSON(message.certChain) : undefined);
48 (obj.validFor = message.validFor ? sigstore_common_1.TimeRange.toJSON(message.validFor) : undefined);
71 toJSON(message) {
75 obj.tlogs = message.tlogs.map((e) => e ? exports.TransparencyLogInstance.toJSON(e) : undefined);
81 obj.certificateAuthorities = message.certificateAuthorities.map((e) => e ? exports.CertificateAuthority.toJSON(
[all...]
H A Dsigstore_common.js309 toJSON(message) {
327 toJSON(message) {
330 (obj.messageDigest = message.messageDigest ? exports.HashOutput.toJSON(message.messageDigest) : undefined);
343 toJSON(message) {
361 toJSON(message) {
379 toJSON(message) {
385 (obj.validFor = message.validFor ? exports.TimeRange.toJSON(message.validFor) : undefined);
396 toJSON(message) {
409 toJSON(message) {
430 toJSON(messag
[all...]
H A Dsigstore_rekor.js16 toJSON(message) {
30 toJSON(message) {
49 toJSON(message) {
62 (obj.checkpoint = message.checkpoint ? exports.Checkpoint.toJSON(message.checkpoint) : undefined);
77 toJSON(message) {
109 toJSON(message) {
112 message.logId !== undefined && (obj.logId = message.logId ? sigstore_common_1.LogId.toJSON(message.logId) : undefined);
114 (obj.kindVersion = message.kindVersion ? exports.KindVersion.toJSON(message.kindVersion) : undefined);
117 (obj.inclusionPromise = message.inclusionPromise ? exports.InclusionPromise.toJSON(message.inclusionPromise) : undefined);
119 (obj.inclusionProof = message.inclusionProof ? exports.InclusionProof.toJSON(messag
[all...]
H A Devents.js32 toJSON(message) {
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) {
66 (obj.value = message.value ? exports.CloudEvent_CloudEventAttributeValue.toJSON(message.value) : undefined);
93 toJSON(message) {
113 toJSON(message) {
116 obj.events = message.events.map((e) => e ? exports.CloudEvent.toJSON(e) : undefined);
H A Denvelope.js16 toJSON(message) {
22 obj.signatures = message.signatures.map((e) => e ? exports.Signature.toJSON(e) : undefined);
40 toJSON(message) {
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/
H A Ddescriptor.js350 toJSON(message) {
353 obj.file = message.file.map((e) => e ? exports.FileDescriptorProto.toJSON(e) : undefined);
400 toJSON(message) {
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) : undefined);
446 message.options !== undefined && (obj.options = message.options ? exports.FileOptions.toJSON(message.options) : undefined);
448 (obj.sourceCodeInfo = message.sourceCodeInfo ? exports.SourceCodeInfo.toJSON(message.sourceCodeInfo) : undefined);
492 toJSON(messag
[all...]
/third_party/skia/tools/debugger/
H A 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(SkJSONWrite
[all...]
H A 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(SkJSONWrite function in ClipRRectCommand
1083 void ClipShaderCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in ClipShaderCommand
1120 void ConcatCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in ConcatCommand
1133 void Concat44Command::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in Concat44Command
1150 void DrawAnnotationCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawAnnotationCommand
1201 void DrawImageCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawImageCommand
1260 void DrawImageLatticeCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawImageLatticeCommand
1308 void DrawImageRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawImageRectCommand
1360 void DrawImageRectLayerCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawImageRectLayerCommand
1410 void DrawOvalCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawOvalCommand
1451 void DrawArcCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawArcCommand
1474 void DrawPaintCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawPaintCommand
1494 void DrawBehindCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawBehindCommand
1513 void DrawPathCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawPathCommand
1534 void DrawRegionCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawRegionCommand
1622 void DrawPointsCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawPointsCommand
1662 void DrawTextBlobCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawTextBlobCommand
1741 void DrawPatchCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawPatchCommand
1773 void DrawRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawRectCommand
1797 void DrawRRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawRRectCommand
1823 void DrawDRRectCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawDRRectCommand
1848 void DrawShadowCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in DrawShadowCommand
2010 void SaveLayerCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in SaveLayerCommand
2037 void SetMatrixCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in SetMatrixCommand
2050 void SetM44Command::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { toJSON() function in SetM44Command
[all...]
/third_party/jerryscript/tests/jerry/
H A 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);
135 date_time = new Date ("2015-07-08T11:29:05.023").toJSON ();
/third_party/typescript/tests/baselines/reference/
H A DjsDeclarationsClassAccessor.js15 toJSON() {
43 toJSON() {
69 toJSON(): {
H A DjsFunctionWithPrototypeNoErrorTruncationNoCrash.js15 toJSON: function () {return this.rgb();},
33 toJSON: function () { return this.rgb(); }
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/
H A Ddelegations.js54 toJSON() {
63 json.succinct_roles = this.succinctRoles.toJSON();
85 [keyId]: key.toJSON(),
89 return Object.values(roles).map((role) => role.toJSON());
H A Drole.js45 toJSON() {
115 toJSON() {
117 ...super.toJSON(),
268 toJSON() {
270 ...super.toJSON(),
H A Dmetadata.js48 const bytes = Buffer.from((0, canonical_json_1.canonicalize)(this.signed.toJSON()));
110 toJSON() {
112 return signature.toJSON();
116 signed: this.signed.toJSON(),
H A Droot.js57 toJSON() {
86 return Object.entries(keys).reduce((acc, [keyID, key]) => ({ ...acc, [keyID]: key.toJSON() }), {});
89 return Object.entries(roles).reduce((acc, [roleName, role]) => ({ ...acc, [roleName]: role.toJSON() }), {});
H A Dtargets.js34 toJSON() {
44 json.delegations = this.delegations.toJSON();
63 [path]: target.toJSON(),
H A Dtimestamp.js25 toJSON() {
31 meta: { 'snapshot.json': this.snapshotMeta.toJSON() },
H A Dsnapshot.js30 toJSON() {
54 [path]: metadata.toJSON(),
/third_party/node/test/parallel/
H A 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()
[all...]
/third_party/node/deps/npm/node_modules/npm-audit-report/lib/
H A Dindex.js33 if (typeof data.toJSON === 'function') {
34 data = data.toJSON()
/third_party/node/lib/internal/perf/
H A Dperformance_entry.js53 return `${this.constructor.name} ${inspect(this.toJSON(), opts)}`;
56 toJSON() {
H A Dperformance.js68 function toJSON() { function
228 toJSON: {
232 value: toJSON,
/third_party/node/lib/internal/
H A Dsocketaddress.js111 return `SocketAddress ${inspect(this.toJSON(), opts)}`;
132 toJSON() {

Completed in 12 milliseconds

1234