Home
last modified time | relevance | path

Searched refs:b_length (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Modules/_ctypes/
Dctypes.h50 Py_ssize_t b_length; /* number of references we need */ member
80 Py_ssize_t b_length; /* number of references we need */ member
D_ctypes.c2662 if (self->b_length) { in PyCData_GetContainer()
3003 cmem->b_length = dict->length; in PyCData_FromBaseObj()
3050 pd->b_length = dict->length; in PyCData_AtAddress()
3241 obj->b_length = dict->length; in GenericPyCData_new()
4581 if (index < 0 || index >= self->b_length) { in Array_item()
4610 i += self->b_length; in Array_subscript()
4623 slicelen = PySlice_AdjustIndices(self->b_length, &start, &stop, step); in Array_subscript()
4754 i += self->b_length; in Array_ass_subscript()
4764 slicelen = PySlice_AdjustIndices(self->b_length, &start, &stop, step); in Array_ass_subscript()
4798 return self->b_length; in Array_length()
/external/python/cpython2/Modules/_ctypes/
Dctypes.h90 Py_ssize_t b_length; /* number of references we need */ member
120 Py_ssize_t b_length; /* number of references we need */ member
D_ctypes.c2564 if (self->b_length) { in PyCData_GetContainer()
2926 cmem->b_length = dict->length; in PyCData_FromBaseObj()
2969 pd->b_length = dict->length; in PyCData_AtAddress()
3154 obj->b_length = dict->length; in GenericPyCData_new()
4450 if (index < 0 || index >= self->b_length) { in Array_item()
4479 else if (ilow > self->b_length) in Array_slice()
4480 ilow = self->b_length; in Array_slice()
4483 else if (ihigh > self->b_length) in Array_slice()
4484 ihigh = self->b_length; in Array_slice()
4525 i += self->b_length; in Array_subscript()
[all …]
/external/grpc-grpc/src/core/lib/slice/
Dslice.cc433 size_t b_length = strlen(b); in grpc_slice_str_cmp() local
434 int d = static_cast<int>(GRPC_SLICE_LENGTH(a) - b_length); in grpc_slice_str_cmp()
436 return memcmp(GRPC_SLICE_START_PTR(a), b, b_length); in grpc_slice_str_cmp()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/slice/
Dslice.cc536 size_t b_length = strlen(b); in grpc_slice_str_cmp() local
537 int d = static_cast<int>(GRPC_SLICE_LENGTH(a) - b_length); in grpc_slice_str_cmp()
539 return memcmp(GRPC_SLICE_START_PTR(a), b, b_length); in grpc_slice_str_cmp()