Home
last modified time | relevance | path

Searched refs:b_size (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython2/Objects/
Dbufferobject.c11 Py_ssize_t b_size; member
32 *size = self->b_size; in get_buf()
87 if (self->b_size == Py_END_OF_BUFFER) in get_buf()
90 *size = self->b_size; in get_buf()
122 b->b_size = size; in buffer_from_memory()
141 if (b->b_size != Py_END_OF_BUFFER) { in buffer_from_object()
142 Py_ssize_t base_size = b->b_size - offset; in buffer_from_object()
222 b->b_size = size; in PyBuffer_New()
295 self->b_size, in buffer_repr()
302 self->b_size, in buffer_repr()
Dlongobject.c3095 Py_ssize_t a_size, b_size, shift, extra_bits, diff, x_size, x_bits; in long_true_divide() local
3191 b_size = ABS(Py_SIZE(b)); in long_true_divide()
3193 if (b_size == 0) { in long_true_divide()
3208 b_is_small = b_size <= MANT_DIG_DIGITS || in long_true_divide()
3209 (b_size == MANT_DIG_DIGITS+1 && in long_true_divide()
3216 db = b->ob_digit[--b_size]; in long_true_divide()
3217 while (b_size > 0) in long_true_divide()
3218 db = db * PyLong_BASE + b->ob_digit[--b_size]; in long_true_divide()
3224 diff = a_size - b_size; in long_true_divide()
3233 bits_in_digit(b->ob_digit[b_size - 1]); in long_true_divide()
[all …]
Dtypeobject.c1786 size_t b_size = base->tp_basicsize; in extra_ivars() local
1788 assert(t_size >= b_size); /* Else type smaller than base! */ in extra_ivars()
1791 return t_size != b_size || in extra_ivars()
1803 return t_size != b_size; in extra_ivars()
/external/syslinux/lzo/src/
Dlzo_swd.ch124 lzo_uint b_size;
276 s->b_size = s->swd_n + s->swd_f;
278 if (2 * s->swd_f >= s->swd_n || s->b_size + s->swd_f >= SWD_UINT_MAX)
284 s->b_wrap = s_b(s) + s->b_size;
306 assert(s->ip + s->swd_f <= s->b_size);
329 if (s->ip == s->b_size)
339 s->rp += s->b_size - s->node_count;
374 (s->bp > (pos) ? s->bp - (pos) : s->b_size - ((pos) - s->bp))
403 if (++s->ip == s->b_size)
405 if (++s->bp == s->b_size)
[all …]
/external/syslinux/gpxe/src/util/
Dnrv2b.c258 unsigned int b_size; member
394 s->b_size = s->n + s->f; in swd_init()
395 if (s->b_size + s->f >= UINT_MAX) in swd_init()
397 s->b_wrap = s->b + s->b_size; in swd_init()
409 assert(s->ip + s->f <= s->b_size); in swd_init()
420 if (s->ip == s->b_size) in swd_init()
430 s->rp += s->b_size - s->node_count; in swd_init()
446 (s->bp > (pos) ? s->bp - (pos) : s->b_size - ((pos) - s->bp))
468 if (++s->ip == s->b_size) in swd_getbyte()
470 if (++s->bp == s->b_size) in swd_getbyte()
[all …]
/external/libvpx/libvpx/test/
Dpredict_test.cc108 const int b_size = (b_stride * b_height) + b_width; in CheckBorder() local
109 const uint8_t *b_end = b + b_size; in CheckBorder()
140 for (int pixel = static_cast<int>(b - a + b_size); pixel < a_size; in CheckBorder()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c393 parg->size = self->b_size; in StructUnionType_paramfunc()
1154 if (size > self->b_size) { in CharArray_set_raw()
1177 return PyString_FromStringAndSize(self->b_ptr, self->b_size); in CharArray_get_raw()
1185 for (i = 0; i < self->b_size; ++i) in CharArray_get_value()
1217 if (size > self->b_size) { in CharArray_set_value()
1226 if (size < self->b_size) in CharArray_set_value()
1247 for (i = 0; i < self->b_size/(Py_ssize_t)sizeof(wchar_t); ++i) in WCharArray_get_value()
1276 if ((size_t)PyUnicode_GET_SIZE(value) > self->b_size/sizeof(wchar_t)) { in WCharArray_set_value()
1284 self->b_size/sizeof(wchar_t)); in WCharArray_set_value()
1285 if (result >= 0 && (size_t)result < self->b_size/sizeof(wchar_t)) in WCharArray_set_value()
[all …]
Dctypes.h89 Py_ssize_t b_size; /* size of memory block in bytes */ member
119 Py_ssize_t b_size; /* size of memory block in bytes */ member
Dcallproc.c1359 if (!CDataObject_Check(pcom) || (pcom->b_size != sizeof(void *))) { in call_commethod()
1560 return PyInt_FromSsize_t(((CDataObject *)obj)->b_size); in sizeof_func()
1769 obj->b_size = size; in resize()
1779 memmove(ptr, obj->b_ptr, obj->b_size); in resize()
1781 obj->b_size = size; in resize()
1787 obj->b_size = size; in resize()
/external/libnetfilter_conntrack/src/conntrack/
Dbuild.c443 unsigned int b_size = b->words * sizeof(b->bits[0]); in __build_labels() local
449 b_size); in __build_labels()
453 if (b_size == (b->words * sizeof(b->bits[0]))) in __build_labels()
458 b_size); in __build_labels()
/external/curl/lib/
Dftplistparser.c374 parser->file_data->b_size = FTP_BUFFER_ALLOCSIZE; in Curl_ftp_parselist()
382 if(finfo->b_used >= finfo->b_size - 1) { in Curl_ftp_parselist()
385 finfo->b_size + FTP_BUFFER_ALLOCSIZE); in Curl_ftp_parselist()
387 finfo->b_size += FTP_BUFFER_ALLOCSIZE; in Curl_ftp_parselist()
/external/e2fsprogs/e2fsck/
Djfs_user.h40 int b_size; member
Drecovery.c375 *crc32_sum = crc32_be(*crc32_sum, (void *)bh->b_data, bh->b_size); in calc_chksums()
387 obh->b_size); in calc_chksums()
Drevoke.c472 bh2 = __find_get_block(bh->b_bdev, bh->b_blocknr, bh->b_size); in journal_cancel_revoke()
Djournal.c141 bh->b_size = blocksize; in getblk()
/external/e2fsprogs/debugfs/
Drecovery.c375 *crc32_sum = crc32_be(*crc32_sum, (void *)bh->b_data, bh->b_size); in calc_chksums()
387 obh->b_size); in calc_chksums()
Djournal.c147 bh->b_size = blocksize; in getblk()
923 csum32 = jbd2_chksum(j, csum32, bh->b_data, bh->b_size); in jbd2_block_tag_csum_set()
Drevoke.c472 bh2 = __find_get_block(bh->b_bdev, bh->b_blocknr, bh->b_size); in journal_cancel_revoke()
Ddo_journal.c114 cbh->b_size); in journal_commit_trans()
/external/squashfs-tools/squashfs-tools/
Dmksquashfs.c2992 static int b_size = BUFF_SIZE; in getbase() local
2996 b_buffer = malloc(b_size); in getbase()
3003 result = getcwd(b_buffer, b_size); in getbase()
3009 b_size - strlen(b_buffer)) { in getbase()
3013 } else if(strlen(pathname) < b_size) { in getbase()
3019 b_buffer = realloc(b_buffer, b_size += BUFF_SIZE); in getbase()
/external/curl/include/curl/
Dcurl.h274 size_t b_size; member
/external/curl/packages/OS400/
Dcurl.inc.in1853 d b_size 10u 0 size_t
/external/e2fsprogs/po/
Did.po849 "@S @b_size = %b, fragsize = %c.\n"
853 "@S @b_size = %b, fragsize = %c.\n"
Dde.po849 "@S @b_size = %b, fragsize = %c.\n"
853 "@S-@b_size = %b, fragsize = %c.\n"
De2fsprogs.pot829 "@S @b_size = %b, fragsize = %c.\n"

12