Home
last modified time | relevance | path

Searched refs:docBytes (Results 1 – 25 of 38) sorted by relevance

12

/dports/print/py-fonttools/fonttools-4.28.2/Lib/fontTools/ttLib/tables/
H A DS_V_G_.py97 docBytes = tobytes(doc, encoding="utf_8")
98 if getattr(self, "compressed", False) and not docBytes.startswith(b"\x1f\x8b"):
102 gzipper.write(docBytes)
104 if len(gzipped) < len(docBytes):
105 docBytes = gzipped
107 docLength = len(docBytes)
108 if docBytes in seenDocs:
109 docOffset = seenDocs[docBytes]
113 seenDocs[docBytes] = docOffset
114 docList.append(docBytes)
/dports/print/py-fonttools3/fonttools-3.44.0/Lib/fontTools/ttLib/tables/
H A DS_V_G_.py207 docBytes = tobytes(doc, encoding="utf_8")
208 if getattr(self, "compressed", False) and not docBytes.startswith(b"\x1f\x8b"):
212 gzipper.write(docBytes)
214 if len(gzipped) < len(docBytes):
215 docBytes = gzipped
217 docLength = len(docBytes)
221 docList.append(docBytes)
263 docBytes = tobytes(doc, encoding="utf_8")
264 docLength = len(docBytes)
268 docList.append(docBytes)
/dports/security/vault/vault-1.8.2/vendor/go.mongodb.org/mongo-driver/bson/
H A Dunmarshal_test.go131 docBytes := bsoncore.BuildDocumentFromElements(
144 err := Unmarshal(docBytes, &first)
149 err = UnmarshalWithRegistry(customReg, docBytes, &second)
159 err := Unmarshal(docBytes, &first)
164 err = UnmarshalWithRegistry(customReg, docBytes, &second)
/dports/print/scribus-devel/scribus-1.5.7/scribus/palettes/
H A Dpaletteloader_autocad_acb.cpp39 QByteArray docBytes; in importFile() local
40 loadRawText(fileName, docBytes); in importFile()
41 QString docText = QString::fromUtf8(docBytes); in importFile()
H A Dpaletteloader_sk1.cpp44 QByteArray docBytes; in importFile() local
45 loadRawText(fileName, docBytes); in importFile()
46 QString docText = QString::fromUtf8(docBytes); in importFile()
H A Dpaletteloader_swatchbook.cpp47 QByteArray docBytes; in importFile() local
48 if (!uz->read("swatchbook.xml", docBytes)) in importFile()
51 QString docText = QString::fromUtf8(docBytes); in importFile()
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/go.mongodb.org/mongo-driver/bson/
H A Dunmarshal_test.go131 docBytes := bsoncore.BuildDocumentFromElements(
144 err := Unmarshal(docBytes, &first)
149 err = UnmarshalWithRegistry(customReg, docBytes, &second)
159 err := Unmarshal(docBytes, &first)
164 err = UnmarshalWithRegistry(customReg, docBytes, &second)
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/go.mongodb.org/mongo-driver/x/bsonx/
H A Dreflectionfree_d_codec_test.go106 docBytes, err := bson.Marshal(docWithAllTypes)
110 err = bson.Unmarshal(docBytes, &expected)
112 err = bson.UnmarshalWithRegistry(noReflectionRegistry, docBytes, &actual)
/dports/www/grafana8/grafana-8.3.6/vendor/go.mongodb.org/mongo-driver/x/bsonx/
H A Dreflectionfree_d_codec_test.go106 docBytes, err := bson.Marshal(docWithAllTypes)
110 err = bson.Unmarshal(docBytes, &expected)
112 err = bson.UnmarshalWithRegistry(noReflectionRegistry, docBytes, &actual)
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongoreplay/
H A Dreply_op.go82 docBytes, err := ReadDocument(r)
90 if len(docBytes) == 0 {
94 err = bson.Unmarshal(docBytes, &nextDoc)
/dports/databases/mongodb42-tools/mongo-tools-r4.2.17/mongoreplay/
H A Dreply_op.go82 docBytes, err := ReadDocument(r)
90 if len(docBytes) == 0 {
94 err = bson.Unmarshal(docBytes, &nextDoc)
/dports/www/grafana8/grafana-8.3.6/vendor/go.mongodb.org/mongo-driver/bson/
H A Dunmarshal_test.go194 docBytes := bsoncore.BuildDocumentFromElements(
207 err := Unmarshal(docBytes, &first)
212 err = UnmarshalWithRegistry(customReg, docBytes, &second)
222 err := Unmarshal(docBytes, &first)
227 err = UnmarshalWithRegistry(customReg, docBytes, &second)
/dports/print/scribus-devel/scribus-1.5.7/scribus/desaxe/
H A Ddesaxe_test.cpp166 QByteArray docBytes(""); in main() local
167 loadRawText(file, docBytes); in main()
169 return docu.setContent(QString(docBytes)); in main()
/dports/print/scribus-devel/scribus-1.5.7/scribus/
H A Dcolorsetmanager.cpp64 QByteArray docBytes(""); in initialiseDefaultPrefs() local
65 loadRawText(defaultSwatch, docBytes); in initialiseDefaultPrefs()
67 docText = QString::fromUtf8(docBytes); in initialiseDefaultPrefs()
/dports/graphics/bonzomatic/Bonzomatic-2021-03-07/external/scintilla/win32/
H A DScintillaWin.cxx904 std::vector<char> docBytes(pdoc->Length(), '\0'); in GetTextLength() local
905 pdoc->GetCharRange(&docBytes[0], 0, pdoc->Length()); in GetTextLength()
907 return UTF16Length(&docBytes[0], static_cast<unsigned int>(docBytes.size())); in GetTextLength()
910 static_cast<int>(docBytes.size()), NULL, 0); in GetTextLength()
924 std::vector<char> docBytes(pdoc->Length(), '\0'); in GetText() local
925 pdoc->GetCharRange(&docBytes[0], 0, pdoc->Length()); in GetText()
927 unsigned int lengthUTF16 = UTF16Length(&docBytes[0], static_cast<unsigned int>(docBytes.size())); in GetText()
932 unsigned int uLen = UTF16FromUTF8(&docBytes[0], static_cast<unsigned int>(docBytes.size()), in GetText()
941 static_cast<int>(docBytes.size()), NULL, 0); in GetText()
944 ::MultiByteToWideChar(cpSrc, 0, &docBytes[0], in GetText()
[all …]
/dports/sysutils/istio/istio-1.6.7/security/pkg/platform/
H A Daws_test.go129 docBytes, err := awsc.getInstanceIdentityDocument()
143 decode := json.NewDecoder(bytes.NewReader(docBytes)).Decode(&doc)
/dports/net/goreplay/goreplay-1.2.0/vendor/github.com/mattbaird/elastigo/elastigo-2fe47fd29e4b/lib/
H A Dcorebulk.go248 for docBytes := range b.bulkChannel {
251 b.buf.Write(docBytes)
/dports/net/goreplay/goreplay-1.2.0/vendor/github.com/mattbaird/elastigo/lib/
H A Dcorebulk.go248 for docBytes := range b.bulkChannel {
251 b.buf.Write(docBytes)
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/go.mongodb.org/mongo-driver/mongo/gridfs/
H A Dgridfs_spec_test.go91 docBytes, err := v.MarshalJSON()
94 err = bson.UnmarshalExtJSON(docBytes, false, &doc)
110 docBytes, err := v.MarshalJSON()
113 err = bson.UnmarshalExtJSON(docBytes, false, &doc)
/dports/security/vault/vault-1.8.2/vendor/go.mongodb.org/mongo-driver/mongo/
H A Dmongo_test.go283 docBytes, _ := bson.Marshal(doc)
294 {"document", doc, nil, bsontype.EmbeddedDocument, docBytes},
/dports/www/grafana8/grafana-8.3.6/vendor/go.mongodb.org/mongo-driver/mongo/
H A Dmongo_test.go283 docBytes, _ := bson.Marshal(doc)
294 {"document", doc, nil, bsontype.EmbeddedDocument, docBytes},
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/go.mongodb.org/mongo-driver/mongo/
H A Dmongo_test.go283 docBytes, _ := bson.Marshal(doc)
294 {"document", doc, nil, bsontype.EmbeddedDocument, docBytes},
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/fileloader/scribus12format/
H A Dscribus12format.cpp135 QByteArray docBytes(""); in fileSupported() local
142 docBytes = compressor.read(1024); in fileSupported()
144 if (docBytes.isEmpty()) in fileSupported()
150 loadRawText(fileName, docBytes); in fileSupported()
152 …return docBytes.left(16) != "<SCRIBUSUTF8NEW " && (docBytes.left(12) == "<SCRIBUSUTF8" || docBytes in fileSupported()
157 QByteArray docBytes(""); in readSLA() local
164 docBytes = compressor.readAll(); in readSLA()
166 if (docBytes.isEmpty()) in readSLA()
172 loadRawText(fileName, docBytes); in readSLA()
178 docText = QString::fromUtf8(docBytes); in readSLA()
[all …]
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/shapes/
H A Dshapepalette.cpp367 QByteArray docBytes(""); in readFromPrefs() local
368 loadRawText(prFile, docBytes); in readFromPrefs()
370 docText = QString::fromUtf8(docBytes); in readFromPrefs()
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/fileloader/scribus13format/
H A Dscribus13format.cpp115 QByteArray docBytes(""); in fileSupported() local
122 docBytes = compressor.read(1024); in fileSupported()
124 if (docBytes.isEmpty()) in fileSupported()
130 loadRawText(fileName, docBytes); in fileSupported()
132 return docBytes.left(16) == "<SCRIBUSUTF8NEW " && !docBytes.left(35).contains("Version=\"1.3.4"); in fileSupported()
137 QByteArray docBytes(""); in readSLA() local
144 docBytes = compressor.readAll(); in readSLA()
146 if (docBytes.isEmpty()) in readSLA()
152 loadRawText(fileName, docBytes); in readSLA()
155 if (docBytes.left(16) == "<SCRIBUSUTF8NEW " && !docBytes.left(35).contains("Version=\"1.3.4")) in readSLA()
[all …]

12