Home
last modified time | relevance | path

Searched +full:out +full:- +full:null (Results 1 – 25 of 1359) sorted by relevance

12345678910>>...55

/external/libxml2/
Dentities.c11 #pragma convert("ISO8859-1")
37 NULL, XML_ENTITY_DECL, BAD_CAST "lt",
38 NULL, NULL, NULL, NULL, NULL, NULL,
41 NULL, NULL, NULL, NULL, 0, 0, 0
44 NULL, XML_ENTITY_DECL, BAD_CAST "gt",
45 NULL, NULL, NULL, NULL, NULL, NULL,
48 NULL, NULL, NULL, NULL, 0, 0, 0
51 NULL, XML_ENTITY_DECL, BAD_CAST "amp",
52 NULL, NULL, NULL, NULL, NULL, NULL,
55 NULL, NULL, NULL, NULL, 0, 0, 0
[all …]
DxmlIO.c298 * @u8String: uft-8 string
300 * Convert a string from utf-8 to wchar (WINDOWS ONLY!)
305 wchar_t *wString = NULL; in __xmlIOWin32UTF8ToWChar()
311 -1, NULL, 0); in __xmlIOWin32UTF8ToWChar()
316 (CP_UTF8, 0, u8String, -1, wString, wLen) == 0) { in __xmlIOWin32UTF8ToWChar()
318 wString = NULL; in __xmlIOWin32UTF8ToWChar()
375 if (path == NULL) in xmlCheckFilename()
392 if (wpath == NULL) in xmlCheckFilename()
414 xmlConvertUriToPath(const char *uri, char **out) { in xmlConvertUriToPath() argument
418 *out = NULL; in xmlConvertUriToPath()
[all …]
Dxmlwriter.c81 xmlOutputBufferPtr out; /* output buffer */ member
106 static int xmlOutputBufferWriteBase64(xmlOutputBufferPtr out, int len,
126 if (ctxt != NULL) { in xmlWriterErrMsg()
127 __xmlRaiseError(NULL, NULL, NULL, ctxt->ctxt, in xmlWriterErrMsg()
128 NULL, XML_FROM_WRITER, error, XML_ERR_FATAL, in xmlWriterErrMsg()
129 NULL, 0, NULL, NULL, NULL, 0, 0, "%s", msg); in xmlWriterErrMsg()
131 __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_WRITER, error, in xmlWriterErrMsg()
132 XML_ERR_FATAL, NULL, 0, NULL, NULL, NULL, 0, 0, "%s", msg); in xmlWriterErrMsg()
149 if (ctxt != NULL) { in xmlWriterErrMsgInt()
150 __xmlRaiseError(NULL, NULL, NULL, ctxt->ctxt, in xmlWriterErrMsgInt()
[all …]
/external/e2fsprogs/tests/r_move_itable/
Dscript1 if ! test -x $RESIZE2FS_EXE -o ! -x $DEBUGFS_EXE; then
6 FSCK_OPT=-yf
7 OUT=$test_name.log
8 if [ -f $test_dir/expect.gz ]; then
15 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1
17 echo mke2fs -q -F -o Linux -b 1024 -g 256 -O ^resize_inode test.img 1024 > $OUT.new
18 $MKE2FS -q -F -o Linux -b 1024 -g 256 -O ^resize_inode $TMPFILE 1024 >> $OUT.new 2>&1
20 echo dumpe2fs test.img >> $OUT.new
21 $DUMPE2FS $TMPFILE >> $OUT.new 2>&1
23 echo resize2fs -p test.img 10000 >> $OUT.new
[all …]
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_aes.function22 TEST_ASSERT(mbedtls_aes_setkey_enc(enc, key->x, key->len * 8) == 0);
28 TEST_ASSERT(mbedtls_aes_setkey_dec(dec, key->x, key->len * 8) == 0);
45 * in our built-in implementations, but might cause a memory leak
68 TEST_ASSERT(mbedtls_aes_setkey_enc(&ctx, key_str->x, key_str->len * 8) == setkey_result);
70 TEST_ASSERT(mbedtls_aes_crypt_ecb(&ctx, MBEDTLS_AES_ENCRYPT, src_str->x, output) == 0);
72 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 16, dst->len) == 0);
91 TEST_ASSERT(mbedtls_aes_setkey_dec(&ctx, key_str->x, key_str->len * 8) == setkey_result);
93 TEST_ASSERT(mbedtls_aes_crypt_ecb(&ctx, MBEDTLS_AES_DECRYPT, src_str->x, output) == 0);
95 TEST_ASSERT(mbedtls_test_hexcmp(output, dst->x, 16, dst->len) == 0);
115 TEST_ASSERT(mbedtls_aes_setkey_enc(&ctx, key_str->x, key_str->len * 8) == 0);
[all …]
/external/robolectric/resources/src/main/java/org/robolectric/res/android/
DConfigDescription.java15 …* https://android.googlesource.com/platform/frameworks/base/+/android-9.0.0_r12/tools/aapt2/Config…
53 private static final Pattern SMALLEST_SCREEN_WIDTH_PATTERN = Pattern.compile("^sw([0-9]+)dp");
54 private static final Pattern SCREEN_WIDTH_PATTERN = Pattern.compile("^w([0-9]+)dp");
55 private static final Pattern SCREEN_HEIGHT_PATTERN = Pattern.compile("^h([0-9]+)dp");
56 private static final Pattern DENSITY_PATTERN = Pattern.compile("^([0-9]+)dpi");
57 private static final Pattern HEIGHT_WIDTH_PATTERN = Pattern.compile("^([0-9]+)x([0-9]+)");
58 private static final Pattern VERSION_QUALIFIER_PATTERN = Pattern.compile("v([0-9]+)$");
100 // except that the separator is "+" and not "-". in initFromParts()
128 return -1; in initFromParts()
141 return -1; in initFromParts()
[all …]
/external/cronet/third_party/libxml/src/
Dentities.c11 #pragma convert("ISO8859-1")
36 NULL, XML_ENTITY_DECL, BAD_CAST "lt",
37 NULL, NULL, NULL, NULL, NULL, NULL,
40 NULL, NULL, NULL, NULL, 0, 0, 0
43 NULL, XML_ENTITY_DECL, BAD_CAST "gt",
44 NULL, NULL, NULL, NULL, NULL, NULL,
47 NULL, NULL, NULL, NULL, 0, 0, 0
50 NULL, XML_ENTITY_DECL, BAD_CAST "amp",
51 NULL, NULL, NULL, NULL, NULL, NULL,
54 NULL, NULL, NULL, NULL, 0, 0, 0
[all …]
Dxmlwriter.c94 xmlOutputBufferPtr out; /* output buffer */ member
119 static int xmlOutputBufferWriteBase64(xmlOutputBufferPtr out, int len,
139 if (ctxt != NULL) { in xmlWriterErrMsg()
140 __xmlRaiseError(NULL, NULL, NULL, ctxt->ctxt, in xmlWriterErrMsg()
141 NULL, XML_FROM_WRITER, error, XML_ERR_FATAL, in xmlWriterErrMsg()
142 NULL, 0, NULL, NULL, NULL, 0, 0, "%s", msg); in xmlWriterErrMsg()
144 __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_WRITER, error, in xmlWriterErrMsg()
145 XML_ERR_FATAL, NULL, 0, NULL, NULL, NULL, 0, 0, "%s", msg); in xmlWriterErrMsg()
162 if (ctxt != NULL) { in xmlWriterErrMsgInt()
163 __xmlRaiseError(NULL, NULL, NULL, ctxt->ctxt, in xmlWriterErrMsgInt()
[all …]
DxmlIO.c8 * 14 Nov 2000 ht - for VMS, truncated name of long functions to under 32 char
154 "Read-only file system", /* EROFS */
157 "Operation timed out", /* ETIMEDOUT */
178 * @u8String: uft-8 string
180 * Convert a string from utf-8 to wchar (WINDOWS ONLY!)
185 wchar_t *wString = NULL; in __xmlIOWin32UTF8ToWChar()
190 -1, NULL, 0); in __xmlIOWin32UTF8ToWChar()
195 (CP_UTF8, 0, u8String, -1, wString, wLen) == 0) { in __xmlIOWin32UTF8ToWChar()
197 wString = NULL; in __xmlIOWin32UTF8ToWChar()
212 * Handle an out of memory condition
[all …]
/external/e2fsprogs/tests/r_resize_inode/
Dscript1 if test -x $RESIZE2FS_EXE; then
3 FSCK_OPT=-yf
4 OUT=$test_name.log
5 if [ -f $test_dir/expect.gz ]; then
12 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1
14 echo mke2fs -q -F -O resize_inode -o Linux -b 1024 -g 1024 test.img 16384 > $OUT.new
15 $MKE2FS -q -F -O resize_inode -o Linux -b 1024 -g 1024 $TMPFILE 16384 >> $OUT.new 2>&1
17 echo dumpe2fs test.img >> $OUT.new
18 $DUMPE2FS $TMPFILE >> $OUT.new 2>&1
20 echo resize2fs -p test.img 65536 >> $OUT.new
[all …]
/external/perfetto/test/trace_processor/diff_tests/parser/profiling/
Dtests_heap_graph.py8 # http://www.apache.org/licenses/LICENSE-2.0
41 NULL,
43 NULL,
44 NULL
48 out=Path('heap_graph_flamegraph.out'))
66 out=Path('heap_graph_object.out'))
74 out=Path('heap_graph_reference.out'))
92 out=Path('heap_graph_object.out'))
157 NULL,
159 NULL,
[all …]
/external/e2fsprogs/tests/m_error_behavior/
Dscript27 trap "rm -f $TMPFILE $TMPFILE.conf" EXIT INT QUIT
28 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1
29 OUT=$test_name.log
31 rm -f $OUT
34 echo "error default" >> $OUT
35 $MKE2FS -F $TMPFILE > /dev/null 2>&1
36 $DUMPE2FS $TMPFILE 2>&1 | grep 'Errors behavior' >> $OUT
38 echo "error continue" >> $OUT
39 $MKE2FS -e continue -F $TMPFILE > /dev/null 2>&1
40 $DUMPE2FS $TMPFILE 2>&1 | grep 'Errors behavior' >> $OUT
[all …]
/external/cronet/third_party/boringssl/src/crypto/pkcs7/
Dpkcs7_x509.c12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
37 if (raw == NULL || in PKCS7_get_certificates()
38 !PKCS7_get_raw_certificates(raw, cbs, NULL)) { in PKCS7_get_certificates()
45 if (x509 == NULL || in PKCS7_get_certificates()
68 uint8_t *der_bytes = NULL; in PKCS7_get_CRLs()
72 // See https://tools.ietf.org/html/rfc2315#section-9.1 in PKCS7_get_CRLs()
77 &signed_data, NULL, NULL, in PKCS7_get_CRLs()
86 CBS_init(&crls, NULL, 0); in PKCS7_get_CRLs()
102 crl = d2i_X509_CRL(NULL, &inp, (long)CBS_len(&crl_data)); in PKCS7_get_CRLs()
137 if (!PEM_bytes_read_bio(&data, &len, NULL /* PEM type output */, in PKCS7_get_PEM_certificates()
[all …]
/external/boringssl/src/crypto/pkcs7/
Dpkcs7_x509.c12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
37 if (raw == NULL || in PKCS7_get_certificates()
38 !PKCS7_get_raw_certificates(raw, cbs, NULL)) { in PKCS7_get_certificates()
45 if (x509 == NULL || in PKCS7_get_certificates()
68 uint8_t *der_bytes = NULL; in PKCS7_get_CRLs()
72 // See https://tools.ietf.org/html/rfc2315#section-9.1 in PKCS7_get_CRLs()
77 &signed_data, NULL, NULL, in PKCS7_get_CRLs()
86 CBS_init(&crls, NULL, 0); in PKCS7_get_CRLs()
102 crl = d2i_X509_CRL(NULL, &inp, (long)CBS_len(&crl_data)); in PKCS7_get_CRLs()
137 if (!PEM_bytes_read_bio(&data, &len, NULL /* PEM type output */, in PKCS7_get_PEM_certificates()
[all …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dec.c3 * Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved.
25 * openssl-core@openssl.org.
46 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
91 bn_set_static_words(&mont->N, modulus, num_words); in ec_group_init_static_mont()
92 bn_set_static_words(&mont->RR, rr, num_words); in ec_group_init_static_mont()
94 mont->n0[0] = n0; in ec_group_init_static_mont()
96 mont->n0[0] = (uint32_t)n0; in ec_group_init_static_mont()
97 mont->n0[1] = (uint32_t)(n0 >> 32); in ec_group_init_static_mont()
105 group->a_is_minus3 = 1; in ec_group_set_a_minus3()
106 ec_felem_neg(group, &group->a, one); in ec_group_set_a_minus3()
[all …]
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/ec/
Dec.c3 * Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved.
25 * openssl-core@openssl.org.
46 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
91 bn_set_static_words(&mont->N, modulus, num_words); in ec_group_init_static_mont()
92 bn_set_static_words(&mont->RR, rr, num_words); in ec_group_init_static_mont()
94 mont->n0[0] = n0; in ec_group_init_static_mont()
96 mont->n0[0] = (uint32_t)n0; in ec_group_init_static_mont()
97 mont->n0[1] = (uint32_t)(n0 >> 32); in ec_group_init_static_mont()
105 group->a_is_minus3 = 1; in ec_group_set_a_minus3()
106 ec_felem_neg(group, &group->a, one); in ec_group_set_a_minus3()
[all …]
/external/boringssl/src/crypto/evp/
Devp_asn1.c1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
8 * This library is free for commercial and non-commercial use as long as
34 * The word 'cryptographic' can be left out if the rouines from the library
35 * being used are not cryptographic related :-).
49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
84 return NULL; in parse_key_type()
89 if (CBS_len(&oid) == method->oid_len && in parse_key_type()
90 OPENSSL_memcmp(CBS_data(&oid), method->oid, method->oid_len) == 0) { in parse_key_type()
95 return NULL; in parse_key_type()
107 return NULL; in EVP_parse_public_key()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Devp_asn1.c1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
8 * This library is free for commercial and non-commercial use as long as
34 * The word 'cryptographic' can be left out if the rouines from the library
35 * being used are not cryptographic related :-).
49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
88 if (CBS_len(&oid) == method->oid_len && in parse_key_type()
89 OPENSSL_memcmp(CBS_data(&oid), method->oid, method->oid_len) == 0) { in parse_key_type()
90 *out_type = method->pkey_id; in parse_key_type()
108 return NULL; in EVP_parse_public_key()
112 return NULL; in EVP_parse_public_key()
[all …]
/external/cronet/third_party/boringssl/src/crypto/evp/
Devp_asn1.c1 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
8 * This library is free for commercial and non-commercial use as long as
34 * The word 'cryptographic' can be left out if the rouines from the library
35 * being used are not cryptographic related :-).
49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
88 if (CBS_len(&oid) == method->oid_len && in parse_key_type()
89 OPENSSL_memcmp(CBS_data(&oid), method->oid, method->oid_len) == 0) { in parse_key_type()
90 *out_type = method->pkey_id; in parse_key_type()
108 return NULL; in EVP_parse_public_key()
112 return NULL; in EVP_parse_public_key()
[all …]
/external/arm-optimized-routines/math/test/rtest/
Dsemi.c4 * Copyright (c) 1999-2019, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
11 static void test_rint(uint32 *in, uint32 *out, in test_rint() argument
19 if ((ex > 0x3ff + 52 - 1) || /* things this big can't be fractional */ in test_rint()
22 out[0] = in[0]; in test_rint()
23 out[1] = in[1]; in test_rint()
32 out[0] = sign | (roundup ? 0x3FF00000 : 0); in test_rint()
33 out[1] = 0; in test_rint()
60 out[0] = xh; in test_rint()
61 out[1] = xl; in test_rint()
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/
DIOUtilsWriteTest.java9 * http://www.apache.org/licenses/LICENSE-2.0
50 …final ThrowOnFlushAndCloseOutputStream out = new ThrowOnFlushAndCloseOutputStream(baout, true, tru… in testWrite_byteArrayToOutputStream() local
52 IOUtils.write(inData, out); in testWrite_byteArrayToOutputStream()
53 out.off(); in testWrite_byteArrayToOutputStream()
54 out.flush(); in testWrite_byteArrayToOutputStream()
63 …final ThrowOnFlushAndCloseOutputStream out = new ThrowOnFlushAndCloseOutputStream(baout, true, tru… in testWrite_byteArrayToOutputStream_nullData() local
65 IOUtils.write((byte[]) null, out); in testWrite_byteArrayToOutputStream_nullData() local
66 out.off(); in testWrite_byteArrayToOutputStream_nullData()
67 out.flush(); in testWrite_byteArrayToOutputStream_nullData()
74 assertThrows(NullPointerException.class, () -> IOUtils.write(inData, (OutputStream) null)); in testWrite_byteArrayToOutputStream_nullStream()
[all …]
/external/open-dice/src/
Dboringssl_ecdsa_utils.c7 // https://www.apache.org/licenses/LICENSE-2.0
16 // algorithms used are SHA512, HKDF-SHA512, and ECDSA P384-SHA384.
35 static int hmac(uint8_t k[64], uint8_t in[64], uint8_t *out, in hmac() argument
40 goto out; in hmac()
44 if (1 != HMAC_Init_ex(&ctx, k, 64, EVP_sha512(), NULL /* impl */)) { in hmac()
45 goto out; in hmac()
48 goto out; in hmac()
50 ret = HMAC_Final(&ctx, out, &out_len); in hmac()
53 out: in hmac()
58 const uint8_t *in3, unsigned int in3_len, uint8_t out[64]) { in hmac3()
[all …]
Dboringssl_cert_op.c7 // https://www.apache.org/licenses/LICENSE-2.0
17 // HKDF-SHA512, and Ed25519-SHA512.
48 // clang-format off
64 // clang-format on
67 // Initialize variables that are cleaned up on 'goto out'.
68 ASN1_INTEGER* serial = NULL;
69 BIGNUM* serial_bn = NULL;
70 X509_NAME* issuer_name = NULL;
71 X509_NAME* subject_name = NULL;
72 ASN1_TIME* not_before = NULL;
[all …]
/external/python/cpython3/Objects/stringlib/
Dpartition.h18 PyObject* out; in STRINGLIB() local
23 return NULL; in STRINGLIB()
26 out = PyTuple_New(3); in STRINGLIB()
27 if (!out) in STRINGLIB()
28 return NULL; in STRINGLIB()
30 pos = FASTSEARCH(str, str_len, sep, sep_len, -1, FAST_SEARCH); in STRINGLIB()
34 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, str_len)); in STRINGLIB()
35 PyTuple_SET_ITEM(out, 1, STRINGLIB_NEW(NULL, 0)); in STRINGLIB()
36 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(NULL, 0)); in STRINGLIB()
39 Py_DECREF(out); in STRINGLIB()
[all …]
/external/tpm2-tss/src/tss2-esys/
Desys_mu.c1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright 2017-2018, Fraunhofer SIT sponsored by Infineon Technologies AG
26 * @param[in,out] buffer Buffer to write result into.
28 * @param[in,out] offset Offset inside the buffer
31 * @retval TSS2_ESYS_RC_BAD_REFERENCE if src==NULL.
44 return_if_null(src, "src=NULL", TSS2_ESYS_RC_BAD_REFERENCE); in iesys_MU_BYTE_array_Marshal()
46 size_t offset_loc = (offset != NULL)? *offset : 0; in iesys_MU_BYTE_array_Marshal()
48 if (count > size || size - count < offset_loc) { in iesys_MU_BYTE_array_Marshal()
53 if (buffer != NULL) in iesys_MU_BYTE_array_Marshal()
57 if (offset != NULL) in iesys_MU_BYTE_array_Marshal()
[all …]

12345678910>>...55