Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/lib/zlib/
A Ddeflate.c185 match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \
326 s->sym_buf = s->pending_buf + s->lit_bufsize;
374 UPDATE_HASH(s, s->ins_h, s->window[1]);
1404 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more);
1409 s->ins_h = s->window[s->strstart];
1410 UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]);
1585 check_match(s, s->strstart, s->match_start, s->match_length);
1613 UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]);
1672 s->prev_length = s->match_length, s->prev_match = s->match_start;
1704 check_match(s, s->strstart-1, s->prev_match, s->prev_length);
[all …]
A Dtrees.c209 put_short(s, s->bi_buf);
224 put_short(s, s->bi_buf);\
427 s->sym_next = s->matches = 0;
440 s->heap[SMALLEST] = s->heap[s->heap_len--]; \
468 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) {
680 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ?
695 s->heap[--(s->heap_max)] = s->heap[SMALLEST];
812 scan_tree(s, (ct_data *)s->dyn_ltree, s->l_desc.max_code);
813 scan_tree(s, (ct_data *)s->dyn_dtree, s->d_desc.max_code);
1167 put_short(s, s->bi_buf);
[all …]
A Ddeflate.h269 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);} argument
276 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) argument
314 s->sym_buf[s->sym_next++] = 0; \
315 s->sym_buf[s->sym_next++] = 0; \
316 s->sym_buf[s->sym_next++] = cc; \
318 flush = (s->sym_next == s->sym_end); \
323 s->sym_buf[s->sym_next++] = dist; \
324 s->sym_buf[s->sym_next++] = dist >> 8; \
325 s->sym_buf[s->sym_next++] = len; \
329 flush = (s->sym_next == s->sym_end); \
[all …]
/lib/bzip2/
A Dbzlib_decompress.c73 s->seqToUnseq[s->nInUse] = i; in makeMaps_d()
433 uc = s->seqToUnseq[ s->mtfa[s->mtfbase[0]] ]; in BZ2_decompress()
469 s->mtfa[(z) ] = s->mtfa[(z)-1]; in BZ2_decompress()
470 s->mtfa[(z)-1] = s->mtfa[(z)-2]; in BZ2_decompress()
491 s->mtfa[s->mtfbase[lno]] in BZ2_decompress()
496 s->mtfa[s->mtfbase[0]] = uc; in BZ2_decompress()
504 s->mtfa[kk] = s->mtfa[s->mtfbase[ii] + jj]; in BZ2_decompress()
514 s->unzftab[s->seqToUnseq[uc]]++; in BZ2_decompress()
568 s->tPos = s->origPtr; in BZ2_decompress()
586 s->tt[s->cftab[uc]] |= (i << 8); in BZ2_decompress()
[all …]
A Dbzlib.c271 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
274 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
275 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
278 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
279 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
280 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
284 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
285 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
286 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
287 s->block[s->nblock] = (UChar)ch; s->nblock++; in add_pair_to_block()
[all …]
A Dbzlib_compress.c88 s->zbits[s->numZ] = (UChar)(s->bsBuff >> 24); in bsFinishWrite()
146 s->unseqToSeq[i] = s->nInUse; in makeMaps_e()
296 s->nblock, s->nMTF, s->nInUse ); in sendMTFValues()
368 s->len_pack[v][0] = (s->len[1][v] << 16) | s->len[0][v]; in sendMTFValues()
369 s->len_pack[v][1] = (s->len[3][v] << 16) | s->len[2][v]; in sendMTFValues()
370 s->len_pack[v][2] = (s->len[5][v] << 16) | s->len[4][v]; in sendMTFValues()
540 if (s->inUse[i * 16 + j]) bsW(s,1,1); else bsW(s,1,0); in sendMTFValues()
636 s->combinedCRC ^= s->blockCRC; in BZ2_compressBlock()
642 s->blockNo, s->blockCRC, s->combinedCRC, s->nblock ); in BZ2_compressBlock()
647 s->zbits = (UChar*) (&((UChar*)s->arr2)[s->nblock]); in BZ2_compressBlock()
[all …]
/lib/mbedtls/external/mbedtls/library/
A Dsha3.c113 lane[i] = s[i] ^ s[i + 5] ^ s[i + 10] ^ s[i + 15] ^ s[i + 20]; in keccak_f1600()
120 lane[0] = s[0] ^ s[5] ^ s[10] ^ s[15] ^ s[20]; in keccak_f1600()
121 lane[1] = s[1] ^ s[6] ^ s[11] ^ s[16] ^ s[21]; in keccak_f1600()
122 lane[2] = s[2] ^ s[7] ^ s[12] ^ s[17] ^ s[22]; in keccak_f1600()
123 lane[3] = s[3] ^ s[8] ^ s[13] ^ s[18] ^ s[23]; in keccak_f1600()
124 lane[4] = s[4] ^ s[9] ^ s[14] ^ s[19] ^ s[24]; in keccak_f1600()
127 s[0] ^= t; s[5] ^= t; s[10] ^= t; s[15] ^= t; s[20] ^= t; in keccak_f1600()
130 s[1] ^= t; s[6] ^= t; s[11] ^= t; s[16] ^= t; s[21] ^= t; in keccak_f1600()
133 s[2] ^= t; s[7] ^= t; s[12] ^= t; s[17] ^= t; s[22] ^= t; in keccak_f1600()
136 s[3] ^= t; s[8] ^= t; s[13] ^= t; s[18] ^= t; s[23] ^= t; in keccak_f1600()
[all …]
A Dbn_mul.h530 : "=m" (c), "=m" (d), "=m" (s) \
531 : "m" (s), "m" (d), "m" (c), "m" (b) \
562 : "=m" (c), "=m" (d), "=m" (s) \
563 : "m" (s), "m" (d), "m" (c), "m" (b) \
654 : "=m" (c), "=m" (d), "=m" (s) \
655 : "m" (s), "m" (d), "m" (c), "m" (b) \
745 : "=m" (c), "=m" (d), "=m" (s) \
945 __asm mov s, esi
1020 __asm mov s, esi
1056 s0 = ( *s << biH ) >> biH; \
[all …]
A Dbignum.c164 s = X->s; in mbedtls_mpi_safe_cond_swap()
166 Y->s = mbedtls_ct_mpi_sign_if(do_swap, s, Y->s); in mbedtls_mpi_safe_cond_swap()
330 X->s = Y->s; in mbedtls_mpi_copy()
1117 s = A->s; in add_sub_mpi()
1129 X->s = -s; in add_sub_mpi()
1133 X->s = s; in add_sub_mpi()
1239 X->s = A->s * B->s; in mbedtls_mpi_mul_mpi()
1429 X.s = Y.s = 1; in mbedtls_mpi_div_mpi()
1490 Q->s = A->s * B->s; in mbedtls_mpi_div_mpi()
1495 X.s = A->s; in mbedtls_mpi_div_mpi()
[all …]
/lib/efi_loader/
A Defi_device_path_to_text.c74 s += sprintf(s, ","); in dp_hardware()
78 s += sprintf(s, ")"); in dp_hardware()
89 s = dp_unknown(s, dp); in dp_hardware()
107 s = dp_unknown(s, dp); in dp_acpi()
169 s += sprintf(s, "MAC("); in dp_msging()
197 s += sprintf(s, ")"); in dp_msging()
234 s += sprintf(s, ")"); in dp_msging()
248 s += sprintf(s, ")"); in dp_msging()
262 s = dp_unknown(s, dp); in dp_msging()
330 s += sprintf(s, ","); in dp_media()
[all …]
/lib/lwip/lwip/src/apps/smtp/
A Dsmtp.c525 s->username = s->auth_plain; in smtp_send_mail_alloced()
526 s->pass = s->auth_plain; in smtp_send_mail_alloced()
1127 SMTP_PASS(s), strlen(SMTP_PASS(s))); in smtp_prepare_auth_login_pass()
1150 MEMCPY(target, s->from, s->from_len); in smtp_prepare_mail()
1167 MEMCPY(target, s->to, s->to_len); in smtp_prepare_rcpt()
1187 MEMCPY(target, s->from, s->from_len); in smtp_prepare_header()
1191 MEMCPY(target, s->to, s->to_len); in smtp_prepare_header()
1246 if (s->body_sent == s->body_len) { in smtp_send_body()
1523 s->body_sent = s->body_len - 1; in smtp_send_body_data_handler()
1546 s->body_sent = s->body_len; in smtp_send_body_data_handler()
[all …]
/lib/
A Dnet_utils.c27 ulong val = s ? dectoul(s, &e) : 0; in string_to_ip()
38 if (s) { in string_to_ip()
64 while (s < e && isxdigit((int)*s)) in string_to_ip6()
65 s++; in string_to_ip6()
72 while (s != str && *(s - 1) != ':') in string_to_ip6()
73 --s; in string_to_ip6()
90 s++; in string_to_ip6()
103 s++; in string_to_ip6()
109 ++s; in string_to_ip6()
118 s = str; in string_to_ip6()
[all …]
A Dstring.c259 for(; *s != (char) c; ++s) in strchr()
268 for (; *s != (char)c; ++s) in strchrnul()
271 return s; in strchrnul()
282 const char *p = s + strlen(s); in strrchr()
302 return sc - s; in strlen()
318 return sc - s; in strnlen()
365 if (s == NULL) in strndup()
443 sbegin = s ? s : ___strtok; in strtok()
482 *s = end; in strsep()
500 if ((NULL == s) || ('\0' == *s)) { in strswab()
[all …]
A Drc4.c20 s[i] = (unsigned char)i; in rc4_encode()
28 j = (j + s[i] + k[i]) % 256; in rc4_encode()
29 temp = s[i]; in rc4_encode()
30 s[i] = s[j]; in rc4_encode()
31 s[j] = temp; in rc4_encode()
38 j = (j + s[i]) % 256; in rc4_encode()
39 temp = s[i]; in rc4_encode()
40 s[i] = s[j]; in rc4_encode()
41 s[j] = temp; in rc4_encode()
42 t = (s[i] + (s[j] % 256)) % 256; in rc4_encode()
[all …]
A Dgzip.c51 z_stream s; in zzip() local
64 s.zalloc = zalloc; in zzip()
65 s.zfree = zfree; in zzip()
66 s.opaque = Z_NULL; in zzip()
80 s.next_in = src; in zzip()
81 s.avail_in = comp_len; in zzip()
88 s.next_out = dst; in zzip()
89 s.avail_out = left_len; in zzip()
90 r = deflate(&s, flush); in zzip()
106 if (s.avail_in) { in zzip()
[all …]
A Dgunzip.c126 z_stream s; in gzwrite() local
197 s.zalloc = gzalloc; in gzwrite()
198 s.zfree = gzfree; in gzwrite()
206 s.next_in = src + i; in gzwrite()
269 inflateEnd(&s); in gzwrite()
281 z_stream s; in zunzip() local
285 s.zalloc = gzalloc; in zunzip()
286 s.zfree = gzfree; in zunzip()
295 s.next_out = dst; in zunzip()
300 (s.avail_in == 0 || s.avail_out == 0 || r != Z_BUF_ERROR)) { in zunzip()
[all …]
/lib/lwip/lwip/src/include/lwip/
A Dsockets.h587 #define closesocket(s) close(s) argument
635 #define bind(s,name,namelen) lwip_bind(s,name,namelen) argument
637 #define shutdown(s,how) lwip_shutdown(s,how) argument
647 #define closesocket(s) lwip_close(s) argument
651 #define listen(s,backlog) lwip_listen(s,backlog) argument
675 #define ioctlsocket(s,cmd,argp) lwip_ioctl(s,cmd,argp) argument
683 #define read(s,mem,len) lwip_read(s,mem,len) argument
685 #define readv(s,iov,iovcnt) lwip_readv(s,iov,iovcnt) argument
691 #define close(s) lwip_close(s) argument
693 #define fcntl(s,cmd,val) lwip_fcntl(s,cmd,val) argument
[all …]
/lib/lwip/lwip/contrib/apps/socket_examples/
A Dsocket_examples.c70 int s; in sockex_nonblocking_connect() local
120 ret = lwip_close(s); in sockex_nonblocking_connect()
145 ret = lwip_close(s); in sockex_nonblocking_connect()
148 ret = lwip_close(s); in sockex_nonblocking_connect()
206 fds.fd = s; in sockex_nonblocking_connect()
228 fds.fd = s; in sockex_nonblocking_connect()
240 ret = lwip_close(s); in sockex_nonblocking_connect()
310 ret = lwip_close(s); in sockex_nonblocking_connect()
326 int s; in sockex_testrecv() local
434 FD_SET(s, &readset); in sockex_testrecv()
[all …]
/lib/lwip/lwip/contrib/ports/unix/posixlib/include/posix/
A Dsockets.h89 int lwip_shutdown(int s, int how);
94 int lwip_close(int s);
96 int lwip_listen(int s, int backlog);
97 ssize_t lwip_recv(int s, void *mem, size_t len, int flags);
98 ssize_t lwip_read(int s, void *mem, size_t len);
99 ssize_t lwip_readv(int s, const struct iovec *iov, int iovcnt);
100 ssize_t lwip_recvfrom(int s, void *mem, size_t len, int flags,
102 ssize_t lwip_recvmsg(int s, struct msghdr *message, int flags);
108 ssize_t lwip_write(int s, const void *dataptr, size_t size);
117 int lwip_ioctl(int s, long cmd, void *argp);
[all …]
/lib/lwip/lwip/src/core/ipv6/
A Dip6_addr.c75 const char *s; in ip6addr_aton() local
83 for (s = cp; *s != 0; s++) { in ip6addr_aton()
84 if (*s == ':') { in ip6addr_aton()
107 for (s = cp; *s != 0; s++) { in ip6addr_aton()
108 if (*s == ':') { in ip6addr_aton()
139 if (s[1] == ':') { in ip6addr_aton()
140 if (s[2] == ':') { in ip6addr_aton()
144 s++; in ip6addr_aton()
165 (lwip_isdigit(*s) ? (u32_t)(*s - '0') : in ip6addr_aton()
166 (u32_t)(10 + (lwip_islower(*s) ? *s - 'a' : *s - 'A'))); in ip6addr_aton()
[all …]
/lib/lwip/lwip/test/sockets/
A Dsockets_stresstest.c94 int s; member
192 FD_SET(s, &fs_r); in sockets_stresstest_wait_readable_select()
193 FD_SET(s, &fs_e); in sockets_stresstest_wait_readable_select()
224 pfd.fd = s; in sockets_stresstest_wait_readable_poll()
406 int s = fd->s; in sockets_stresstest_conn_client_r() local
420 lwip_close(s); in sockets_stresstest_conn_client_r()
435 int s, ret; in sockets_stresstest_conn_client() local
461 data->s = s; in sockets_stresstest_conn_client()
502 ret = lwip_close(s); in sockets_stresstest_conn_client()
512 int s, ret; in sockets_stresstest_conn_server() local
[all …]
/lib/mbedtls/
A Dx509_cert_parser.c107 s = kzalloc(sizeof(*s), GFP_KERNEL); in x509_populate_signature_params()
108 if (!s) in x509_populate_signature_params()
119 s->pkey_algo = "rsa"; in x509_populate_signature_params()
129 s->hash_algo = "sha1"; in x509_populate_signature_params()
199 s->encoding = "pkcs1"; in x509_populate_signature_params()
202 s->s = kmemdup(cert->sig.p, cert->sig.len, GFP_KERNEL); in x509_populate_signature_params()
203 if (!s->s) { in x509_populate_signature_params()
210 s->digest = kzalloc(s->digest_size, GFP_KERNEL); in x509_populate_signature_params()
211 if (!s->digest) { in x509_populate_signature_params()
216 ret = hash_calculate(s->hash_algo, &region, 1, s->digest); in x509_populate_signature_params()
[all …]
/lib/zstd/common/
A Dfse_decompress.c88 U32 s; in FSE_buildDTable_internal() local
89 for (s=0; s<maxSV1; s++) { in FSE_buildDTable_internal()
95 symbolNext[s] = normalizedCounter[s]; in FSE_buildDTable_internal()
114 U32 s; in FSE_buildDTable_internal() local
115 for (s=0; s<maxSV1; ++s, sv += add) { in FSE_buildDTable_internal()
133 size_t s; in FSE_buildDTable_internal() local
136 for (s = 0; s < (size_t)tableSize; s += unroll) { in FSE_buildDTable_internal()
150 for (s=0; s<maxSV1; s++) { in FSE_buildDTable_internal()
208 unsigned s; in FSE_buildDTable_raw() local
216 for (s=0; s<maxSV1; s++) { in FSE_buildDTable_raw()
[all …]
A Dzstd_deps.h32 #define ZSTD_memcpy(d,s,n) __builtin_memcpy((d),(s),(n)) argument
33 #define ZSTD_memmove(d,s,n) __builtin_memmove((d),(s),(n)) argument
34 #define ZSTD_memset(d,s,n) __builtin_memset((d),(s),(n)) argument
50 #define ZSTD_malloc(s) ({ (void)(s); NULL; }) argument
52 #define ZSTD_calloc(n,s) ({ (void)(n); (void)(s); NULL; }) argument
/lib/lwip/lwip/test/unit/api/
A Dtest_sockets.c22 if (s != NULL) { in test_sockets_get_used_count()
23 if (s->fd_used) { in test_sockets_get_used_count()
65 if (s >= 0) { in test_sockets_alloc_socket_nonblocking()
69 return s; in test_sockets_alloc_socket_nonblocking()
76 int s, i, ret; in START_TEST() local
81 fail_unless(s >= 0); in START_TEST()
82 lwip_close(s); in START_TEST()
109 int s, s2, s3, ret; in test_sockets_allfunctions_basic_domain() local
115 fail_unless(s >= 0); in test_sockets_allfunctions_basic_domain()
475 int s, i, ret; in test_sockets_msgapi_udp() local
[all …]

Completed in 94 milliseconds

12345678910>>...14