Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 9 of 9) sorted by relevance

/civetweb-2.7.6/src/
Dmd5.inl69 md5_append(md5_state_t *pms, const md5_byte_t *data, size_t nbytes);
411 md5_append(md5_state_t *pms, const md5_byte_t *data, size_t nbytes) argument
414 size_t left = nbytes;
416 md5_word_t nbits = (md5_word_t)(nbytes << 3);
418 if (nbytes <= 0)
422 pms->count[1] += (md5_word_t)(nbytes >> 29);
429 size_t copy = (offset + nbytes > 64 ? 64 - offset : nbytes);
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_api_stack.c871 duk_size_t nbytes; in duk_insert() local
888 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_insert()
891 (long) to_index, (void *) p, (void *) q, (unsigned long) nbytes)); in duk_insert()
895 if (nbytes > 0) { in duk_insert()
897 DUK_ASSERT(nbytes > 0); in duk_insert()
898 DUK_MEMMOVE((void *) (p + 1), (const void *) p, (size_t) nbytes); in duk_insert()
902 DUK_ASSERT(nbytes == 0); in duk_insert()
954 duk_size_t nbytes; in duk_remove() local
976 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_remove()
977 …DUK_MEMMOVE((void *) p, (const void *) (p + 1), (size_t) nbytes); /* zero size not an issue: poin… in duk_remove()
[all …]
Dduk_bi_buffer.c2609 duk_int_t nbytes = 0; in duk_bi_buffer_writefield() local
2658 nbytes = duk__buffer_nbytes_from_fldtype[magic_ftype]; in duk_bi_buffer_writefield()
2660 nbytes = duk_get_int(ctx, 2); in duk_bi_buffer_writefield()
2661 if (nbytes < 1 || nbytes > 6) { in duk_bi_buffer_writefield()
2665 DUK_ASSERT(nbytes >= 1 && nbytes <= 8); in duk_bi_buffer_writefield()
2782 field_bytelen = (duk_int_t) nbytes; in duk_bi_buffer_writefield()
2846 duk_push_uint(ctx, offset + nbytes); in duk_bi_buffer_writefield()
2862 duk_push_uint(ctx, offset + nbytes); in duk_bi_buffer_writefield()
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/
Dduk_bi_buffer.c2611 duk_int_t nbytes = 0; in duk_bi_buffer_writefield() local
2660 nbytes = duk__buffer_nbytes_from_fldtype[magic_ftype]; in duk_bi_buffer_writefield()
2662 nbytes = duk_get_int(ctx, 2); in duk_bi_buffer_writefield()
2663 if (nbytes < 1 || nbytes > 6) { in duk_bi_buffer_writefield()
2667 DUK_ASSERT(nbytes >= 1 && nbytes <= 8); in duk_bi_buffer_writefield()
2784 field_bytelen = (duk_int_t) nbytes; in duk_bi_buffer_writefield()
2848 duk_push_uint(ctx, offset + nbytes); in duk_bi_buffer_writefield()
2864 duk_push_uint(ctx, offset + nbytes); in duk_bi_buffer_writefield()
Dduk_api_stack.c875 duk_size_t nbytes; in duk_insert() local
892 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_insert()
895 (long) to_index, (void *) p, (void *) q, (unsigned long) nbytes)); in duk_insert()
899 if (nbytes > 0) { in duk_insert()
901 DUK_ASSERT(nbytes > 0); in duk_insert()
902 DUK_MEMMOVE((void *) (p + 1), (const void *) p, (size_t) nbytes); in duk_insert()
906 DUK_ASSERT(nbytes == 0); in duk_insert()
958 duk_size_t nbytes; in duk_remove() local
980 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_remove()
981 …DUK_MEMMOVE((void *) p, (const void *) (p + 1), (size_t) nbytes); /* zero size not an issue: poin… in duk_remove()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/
Dduktape.c15761 duk_size_t nbytes; in duk_insert() local
15778 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_insert()
15781 (long) to_index, (void *) p, (void *) q, (unsigned long) nbytes)); in duk_insert()
15785 if (nbytes > 0) { in duk_insert()
15787 DUK_ASSERT(nbytes > 0); in duk_insert()
15788 DUK_MEMMOVE((void *) (p + 1), (const void *) p, (size_t) nbytes); in duk_insert()
15792 DUK_ASSERT(nbytes == 0); in duk_insert()
15844 duk_size_t nbytes; in duk_remove() local
15866 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_remove()
15867 …DUK_MEMMOVE((void *) p, (const void *) (p + 1), (size_t) nbytes); /* zero size not an issue: poin… in duk_remove()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src/
Dduktape.c15896 duk_size_t nbytes; in duk_insert() local
15913 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_insert()
15916 (long) to_index, (void *) p, (void *) q, (unsigned long) nbytes)); in duk_insert()
15920 if (nbytes > 0) { in duk_insert()
15922 DUK_ASSERT(nbytes > 0); in duk_insert()
15923 DUK_MEMMOVE((void *) (p + 1), (const void *) p, (size_t) nbytes); in duk_insert()
15927 DUK_ASSERT(nbytes == 0); in duk_insert()
15979 duk_size_t nbytes; in duk_remove() local
16001 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_remove()
16002 …DUK_MEMMOVE((void *) p, (const void *) (p + 1), (size_t) nbytes); /* zero size not an issue: poin… in duk_remove()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src/
Dduktape.c15816 duk_size_t nbytes; in duk_insert() local
15833 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_insert()
15836 (long) to_index, (void *) p, (void *) q, (unsigned long) nbytes)); in duk_insert()
15840 if (nbytes > 0) { in duk_insert()
15842 DUK_ASSERT(nbytes > 0); in duk_insert()
15843 DUK_MEMMOVE((void *) (p + 1), (const void *) p, (size_t) nbytes); in duk_insert()
15847 DUK_ASSERT(nbytes == 0); in duk_insert()
15899 duk_size_t nbytes; in duk_remove() local
15921 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_remove()
15922 …DUK_MEMMOVE((void *) p, (const void *) (p + 1), (size_t) nbytes); /* zero size not an issue: poin… in duk_remove()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-noline/
Dduktape.c15841 duk_size_t nbytes; in duk_insert() local
15858 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_insert()
15861 (long) to_index, (void *) p, (void *) q, (unsigned long) nbytes)); in duk_insert()
15865 if (nbytes > 0) { in duk_insert()
15867 DUK_ASSERT(nbytes > 0); in duk_insert()
15868 DUK_MEMMOVE((void *) (p + 1), (const void *) p, (size_t) nbytes); in duk_insert()
15872 DUK_ASSERT(nbytes == 0); in duk_insert()
15924 duk_size_t nbytes; in duk_remove() local
15946 nbytes = (duk_size_t) (((duk_uint8_t *) q) - ((duk_uint8_t *) p)); /* Note: 'q' is top-1 */ in duk_remove()
15947 …DUK_MEMMOVE((void *) p, (const void *) (p + 1), (size_t) nbytes); /* zero size not an issue: poin… in duk_remove()
[all …]