Home
last modified time | relevance | path

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

/external/opencv/ml/src/
Dmlestimate.cpp414 int i, j, k, s_len;
465 s_len = sampleIdx->rows + sampleIdx->cols - 1;
480 if( s_len != samples_all )
485 for (i = 0; i < s_len; i++)
491 s_len = samples_selected;
494 if (s_len > samples_all)
497 samples_selected = s_len;
506 (int*)cvAlloc (2 * s_len * sizeof(int)));
511 for (i = 0; i < s_len; i++)
523 for (i = 0; i < s_len; i++)
[all …]
/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.js233 var s_len = s.length;
235 var end_i = s_len;
241 start_i += s_len;
246 if (start_i > s_len) {
252 end_i += s_len;
257 if (end_i > s_len) {
258 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.cc342 unsigned int s_len = tindex ? 3 : 2; in preprocess_text_hangul() local
343 buffer->replace_glyphs (1, s_len, decomposed); in preprocess_text_hangul()
358 s_len++; in preprocess_text_hangul()
360 end = start + s_len; in preprocess_text_hangul()
/external/freetype/src/base/
Dftmac.c482 size_t s_len = (size_t)s[0]; in parse_fond() local
485 if ( s_len != 0 && ps_name_len + s_len < sizeof ( ps_name ) ) in parse_fond()
487 ft_memcpy( ps_name + ps_name_len, s + 1, s_len ); in parse_fond()
488 ps_name_len += s_len; in parse_fond()
/external/pdfium/third_party/freetype/src/base/
Dftmac.c482 size_t s_len = (size_t)s[0]; in parse_fond() local
485 if ( s_len != 0 && ps_name_len + s_len < sizeof ( ps_name ) ) in parse_fond()
487 ft_memcpy( ps_name + ps_name_len, s + 1, s_len ); in parse_fond()
488 ps_name_len += s_len; in parse_fond()
/external/syslinux/libinstaller/
Dbin2c.pl72 printf "\n};\n\nconst unsigned int %s_len = %u;\n", $table_name, $total_len;
/external/boringssl/src/crypto/ecdsa/
Decdsa_test.cc110 size_t s_len = BN_num_bytes(ecdsa_sig->s); in TestTamperedSig() local
112 if (r_len > bn_len || s_len > bn_len) { in TestTamperedSig()
/external/clang/test/Sema/
Denable_if.c22 size_t __strnlen_chk(const char *s, size_t requested_amount, size_t s_len);
/external/selinux/libsemanage/src/
Dsemanage_store.c1196 size_t s_len = (s == NULL ? 0 : strlen(s)); in append_str() local
1198 char *new_s = realloc(s, s_len + t_len + 1); in append_str()
1203 memcpy(s + s_len, t, t_len); in append_str()
1204 s[s_len + t_len] = '\0'; in append_str()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-generic.c2047 SizeT s_len = s->end+1 - s->start; in ML_() local
2053 d = VG_(am_notify_munmap)(s_start, s_len); in ML_()
2055 VG_TRACK( die_mem_munmap, s_start, s_len ); in ML_()
2058 (ULong)s_len, in ML_()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c8911 u8 s_id, s_len; in wpas_ctrl_neighbor_rep_cb() local
8914 s_len = *pos++; in wpas_ctrl_neighbor_rep_cb()
8915 if (s_len > end - pos) in wpas_ctrl_neighbor_rep_cb()
8917 if (s_id == WLAN_EID_MEASURE_REPORT && s_len > 3) { in wpas_ctrl_neighbor_rep_cb()
8927 pos, s_len); in wpas_ctrl_neighbor_rep_cb()
8933 pos, s_len); in wpas_ctrl_neighbor_rep_cb()
8938 pos += s_len; in wpas_ctrl_neighbor_rep_cb()