Home
last modified time | relevance | path

Searched refs:s_len (Results 1 – 19 of 19) sorted by relevance

/external/libconstrainedcrypto/
Ddsa_sig.c67 int s_len; in dsa_sig_unpack() local
101 s_len = sig[5 + r_len]; in dsa_sig_unpack()
109 if ((s_len < 1) || (s_len != seq_len - 4 - r_len)) { in dsa_sig_unpack()
118 || !trim_to_p256_bytes(s_bytes, &sig[6 + r_len], s_len)) { in dsa_sig_unpack()
/external/v8/src/js/
Dstring.js73 var s_len = s.length;
75 var end_i = s_len;
81 start_i += s_len;
86 if (start_i > s_len) {
92 end_i += s_len;
97 if (end_i > s_len) {
98 end_i = s_len;
/external/wpa_supplicant_8/src/tls/
Dpkcs1.c197 const u8 *s, size_t s_len, in pkcs1_v15_sig_ver() argument
208 decrypted = os_malloc(s_len); in pkcs1_v15_sig_ver()
211 decrypted_len = s_len; in pkcs1_v15_sig_ver()
212 res = crypto_public_key_decrypt_pkcs1(pk, s, s_len, decrypted, in pkcs1_v15_sig_ver()
Dpkcs1.h25 const u8 *s, size_t s_len,
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-hangul.cc346 unsigned int s_len = tindex ? 3 : 2; in preprocess_text_hangul() local
347 buffer->replace_glyphs (1, s_len, decomposed); in preprocess_text_hangul()
362 s_len++; in preprocess_text_hangul()
364 end = start + s_len; in preprocess_text_hangul()
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_util.h176 Eigen::DSizes<Eigen::DenseIndex, kTensorSliceMaxRank> s_start, s_len,
179 rel_s.FillIndicesAndSizes<kTensorSliceMaxRank>(shp_s, &s_start, &s_len);
181 CopyThatWorksWithStringPointer<DstT>::Copy(t_s, s_start, s_len, t_d,
/external/freetype/src/base/
Dftmac.c483 size_t s_len = (size_t)s[0]; in parse_fond() local
486 if ( s_len != 0 && ps_name_len + s_len < sizeof ( ps_name ) ) in parse_fond()
488 ft_memcpy( ps_name + ps_name_len, s + 1, s_len ); in parse_fond()
489 ps_name_len += s_len; in parse_fond()
/external/python/cpython2/Modules/
D_struct.c48 Py_ssize_t s_len; member
1286 self->s_len = len; in prepare_s()
1359 s->s_len = -1; in s_new()
1415 PyObject *result = PyTuple_New(soself->s_len); in s_unpack_internal()
1625 if (PyTuple_GET_SIZE(args) != soself->s_len) in s_pack()
1628 "pack expected %zd items for packing (got %zd)", soself->s_len, PyTuple_GET_SIZE(args)); in s_pack()
1665 if (PyTuple_GET_SIZE(args) != (soself->s_len + 2)) in s_pack_into()
1678 soself->s_len, (PyTuple_GET_SIZE(args) - 2)); in s_pack_into()
1738 size = _PyObject_SIZE(Py_TYPE(self)) + sizeof(formatcode) * (self->s_len + 1); in s_sizeof()
/external/syslinux/libinstaller/
Dbin2c.pl72 printf "\n};\n\nconst unsigned int %s_len = %u;\n", $table_name, $total_len;
/external/scapy/scapy/contrib/
Dhttp2.py1464 ret = self.s_len - padding_len_len - padding_len
1477 self.s_len = len(s)
1544 ret = self.s_len - padding_len_len - padding_len
1557 self.s_len = len(s)
1617 ret = int(self.s_len
1635 self.s_len = len(s)
1826 ret = int(self.s_len
1843 self.s_len = len(s)
/external/freetype/builds/mac/
Dftmac.c815 size_t s_len = (size_t)s[0]; in parse_fond() local
818 if ( s_len != 0 && ps_name_len + s_len < sizeof ( ps_name ) ) in parse_fond()
820 ft_memcpy( ps_name + ps_name_len, s + 1, s_len ); in parse_fond()
821 ps_name_len += s_len; in parse_fond()
/external/python/cpython3/Modules/
D_struct.c37 Py_ssize_t s_len; member
1353 self->s_len = len; in prepare_s()
1427 s->s_len = -1; in s_new()
1486 PyObject *result = PyTuple_New(soself->s_len); in s_unpack_internal()
1835 if (PyTuple_GET_SIZE(args) != soself->s_len) in s_pack()
1838 "pack expected %zd items for packing (got %zd)", soself->s_len, PyTuple_GET_SIZE(args)); in s_pack()
1875 if (PyTuple_GET_SIZE(args) != (soself->s_len + 2)) in s_pack_into()
1888 soself->s_len, (PyTuple_GET_SIZE(args) - 2)); in s_pack_into()
D_testbuffer.c288 Py_ssize_t s_len; member
294 return ((PyPartialStructObject *)s)->s_len; in get_nmemb()
/external/clang/test/Sema/
Denable_if.c22 size_t __strnlen_chk(const char *s, size_t requested_amount, size_t s_len);
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc114 size_t s_len = BN_num_bytes(ecdsa_sig->s); in TestTamperedSig() local
117 ASSERT_LE(s_len, bn_len); in TestTamperedSig()
/external/tensorflow/tensorflow/python/ops/
Dcheck_ops.py1112 s_len = array_ops.shape(x) - 1
1113 …diff = lambda: array_ops.strided_slice(x, [1], [1] + s_len)- array_ops.strided_slice(x, [0], s_len)
/external/selinux/libsemanage/src/
Dsemanage_store.c1200 size_t s_len = (s == NULL ? 0 : strlen(s)); in append_str() local
1208 new_s = realloc(s, s_len + t_len + 1); in append_str()
1213 memcpy(s + s_len, t, t_len); in append_str()
1214 s[s_len + t_len] = '\0'; in append_str()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-generic.c2068 SizeT s_len = s->end+1 - s->start; in ML_() local
2074 d = VG_(am_notify_munmap)(s_start, s_len); in ML_()
2076 VG_TRACK( die_mem_munmap, s_start, s_len ); in ML_()
2079 (ULong)s_len, in ML_()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c9181 u8 s_id, s_len; in wpas_ctrl_neighbor_rep_cb() local
9184 s_len = *pos++; in wpas_ctrl_neighbor_rep_cb()
9185 if (s_len > end - pos) in wpas_ctrl_neighbor_rep_cb()
9187 if (s_id == WLAN_EID_MEASURE_REPORT && s_len > 3) { in wpas_ctrl_neighbor_rep_cb()
9197 pos, s_len); in wpas_ctrl_neighbor_rep_cb()
9203 pos, s_len); in wpas_ctrl_neighbor_rep_cb()
9208 pos += s_len; in wpas_ctrl_neighbor_rep_cb()