Home
last modified time | relevance | path

Searched refs:bufio (Results 1 – 25 of 64) sorted by relevance

123

/external/python/cpython2/Lib/test/
Dtest_io.py743 bufio = self.tp(rawio)
745 self.assertEqual(42, bufio.fileno())
749 bufio = self.tp(rawio)
751 self.assertRaises(ValueError, bufio.seek, 0, -1)
752 self.assertRaises(ValueError, bufio.seek, 0, 3)
773 bufio = MyBufferedIO(rawio)
774 writable = bufio.writable()
775 del bufio
785 bufio = self.tp(rawio)
787 with bufio:
[all …]
/external/python/cpython3/Lib/test/
Dtest_io.py1061 bufio = self.tp(rawio)
1063 self.assertEqual(42, bufio.fileno())
1067 bufio = self.tp(rawio)
1069 self.assertRaises(ValueError, bufio.seek, 0, -1)
1070 self.assertRaises(ValueError, bufio.seek, 0, 9)
1091 bufio = MyBufferedIO(rawio)
1092 del bufio
1099 bufio = self.tp(rawio)
1101 with bufio:
1209 bufio = self.tp(self.MockUnseekableIO(b"A" * 10))
[all …]
/external/tpm2-tss/test/integration/
Dfapi-ext-public-key.int.c47 BIO *bufio = NULL; in test_fapi_ext_public_key() local
185 bufio = BIO_new_mem_buf((void *)priv_pem, strlen(priv_pem)); in test_fapi_ext_public_key()
186 evp_key = PEM_read_bio_PrivateKey(bufio, NULL, NULL, NULL); in test_fapi_ext_public_key()
190 if (!bufio || !evp_key || !rsa_key) { in test_fapi_ext_public_key()
237 if (bufio) { in test_fapi_ext_public_key()
238 BIO_free(bufio); in test_fapi_ext_public_key()
252 if (bufio) { in test_fapi_ext_public_key()
253 BIO_free(bufio); in test_fapi_ext_public_key()
Dfapi-key-create-policy-signed.int.c123 BIO *bufio = NULL; in signatureCallback() local
132 bufio = BIO_new_mem_buf((void *)priv_pem, strlen(priv_pem)); in signatureCallback()
133 priv_key = PEM_read_bio_PrivateKey(bufio, NULL, NULL, NULL); in signatureCallback()
171 if (bufio) in signatureCallback()
172 BIO_free(bufio); in signatureCallback()
Dfapi-data-crypt.int.c109 BIO *bufio = NULL; in signatureCallback() local
118 bufio = BIO_new_mem_buf((void *)priv_pem, strlen(priv_pem)); in signatureCallback()
119 priv_key = PEM_read_bio_PrivateKey(bufio, NULL, NULL, NULL); in signatureCallback()
159 if (bufio) in signatureCallback()
160 BIO_free(bufio); in signatureCallback()
/external/tpm2-tss/src/tss2-fapi/
Dfapi_crypto.c1057 BIO *bufio = NULL; in ifapi_get_evp_from_pem() local
1060 bufio = BIO_new_mem_buf((void *)pemKey, strlen(pemKey)); in ifapi_get_evp_from_pem()
1061 goto_if_null(bufio, "BIO buffer could not be allocated.", in ifapi_get_evp_from_pem()
1065 *publicKey = PEM_read_bio_PUBKEY(bufio, NULL, NULL, NULL); in ifapi_get_evp_from_pem()
1069 BIO_free(bufio); in ifapi_get_evp_from_pem()
1202 BIO *bufio = NULL; in ifapi_verify_signature_quote() local
1221 bufio = BIO_new_mem_buf((void *)public_pem_key, in ifapi_verify_signature_quote()
1223 goto_if_null(bufio, "BIO buffer could not be allocated.", in ifapi_verify_signature_quote()
1226 publicKey = PEM_read_bio_PUBKEY(bufio, NULL, NULL, NULL); in ifapi_verify_signature_quote()
1275 BIO_free(bufio); in ifapi_verify_signature_quote()
[all …]
/external/bazelbuild-rules_android/src/common/golang/
Dflagfile.go45 fMap, err := parseFlags(bufio.NewReader(file))
56 func parseFlags(r *bufio.Reader) (map[string]string, error) {
98 func parseFlagValue(r *bufio.Reader) (string, error) {
Dflagfile_test.go112 got, err := parseFlags(bufio.NewReader(strings.NewReader(tc.in)))
/external/golang-protobuf/encoding/protodelim/
Dprotodelim_test.go43 r := bufio.NewReader(buf)
73 err := protodelim.UnmarshalOptions{MaxSize: 1}.UnmarshalFrom(bufio.NewReader(buf), out)
95 err := protodelim.UnmarshalFrom(bufio.NewReader(buf), out)
/external/skia/infra/bots/task_drivers/fm_driver/
Dfm_driver.go85 scanner := bufio.NewScanner(stdout)
172 scanner := bufio.NewScanner(resp.Body)
237 scanner := bufio.NewScanner(stdout)
266 scanner := bufio.NewScanner(stderr)
410 scanner := bufio.NewScanner(file)
/external/bazelbuild-rules_android/src/tools/ak/res/respipe/
Dres_io.go40 r := bufio.NewReaderSize(ri.In, 2<<16)
83 w := bufio.NewWriterSize(ro.Out, 2<<16)
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/jsonrpc2/
Dstream.go87 in: bufio.NewReader(in),
93 in *bufio.Reader
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/
Dstream.go87 in: bufio.NewReader(in),
93 in *bufio.Reader
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/
Dstream.go87 in: bufio.NewReader(in),
93 in *bufio.Reader
/external/bazelbuild-rules_android/src/tools/ak/finalrjar/
Dfinalrjar.go236 scanner := bufio.NewScanner(file)
288 rJavaWriter := bufio.NewWriter(outRJava)
291 rootRJavaWriter := bufio.NewWriter(outRootRJava)
/external/cronet/third_party/boringssl/src/util/
Dmake_errors.go235 scanner := bufio.NewScanner(headerFile)
353 scanner := bufio.NewScanner(file)
391 scanner := bufio.NewScanner(file)
/external/boringssl/src/util/
Dmake_errors.go235 scanner := bufio.NewScanner(headerFile)
353 scanner := bufio.NewScanner(file)
391 scanner := bufio.NewScanner(file)
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test_to_fuzzer.go39 scanner *bufio.Scanner
46 return &testScanner{scanner: bufio.NewScanner(r)}
Dcheck_bn_tests.go36 scanner *bufio.Scanner
43 return &testScanner{scanner: bufio.NewScanner(r)}
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/bn/
Dbn_test_to_fuzzer.go39 scanner *bufio.Scanner
46 return &testScanner{scanner: bufio.NewScanner(r)}
/external/bazelbuild-rules_android/src/tools/ak/rjar/
Drjar.go193 scanner := bufio.NewScanner(in)
270 scanner := bufio.NewScanner(f)
/external/libcap/cap/
Dtext.go198 scanner := bufio.NewScanner(strings.NewReader(text))
199 scanner.Split(bufio.ScanWords)
/external/python/cryptography/docs/development/custom-vectors/hkdf/
Dverify_hkdf.go43 scanner := bufio.NewScanner(vectors)
/external/skia/tools/fm/fm_bot/
Dfm_bot.go58 scanner := bufio.NewScanner(bytes.NewReader(stdout))
187 scanner := bufio.NewScanner(file)
/external/spdx-tools/docs/
Didsearcher-assumptions.md5 - The searcher uses bufio.Scanner to scan the contents of each file, line by

123