/external/ltrace/ |
vect.h | 30 * that it needs to hold. ELT_SIZE is also used as an elementary 38 size_t elt_size; /* In bytes. */ member in struct:vect 41 /* Initialize VEC, which will hold elements of size ELT_SIZE. */ 42 void vect_init(struct vect *vec, size_t elt_size); 66 assert(_source_vec->elt_size == sizeof(ELT_TYPE)); \ 87 (assert((VECP)->elt_size == sizeof(ELT_TYPE)), \ 119 assert((VECP)->elt_size == sizeof(ELT_TYPE)); \ 130 (assert((VECP)->elt_size == sizeof(*(ELTP))), \ 149 assert((VECP)->elt_size == sizeof(ELT_TYPE)); \ 164 assert((VECP)->elt_size == sizeof(ELT_TYPE)); [all...] |
dict.h | 88 assert(_source_d->keys.elt_size == sizeof(KEY_TYPE)); \ 89 assert(_source_d->values.elt_size == sizeof(VALUE_TYPE)); \ 122 (assert((DICTP)->keys.elt_size == sizeof(*(KEYP))), \ 123 assert((DICTP)->values.elt_size == sizeof(*(VALUEP))), \ 133 (assert((DICTP)->keys.elt_size == sizeof(*(KEYP))), \ 140 (assert((DICTP)->keys.elt_size == sizeof(*(KEYP))), \ 148 assert((DICTP)->keys.elt_size == sizeof(*(KEYP))); \ 149 assert((DICTP)->values.elt_size == sizeof((VAR))); \ 152 memcpy((VAR), _ptr, (DICTP)->values.elt_size); \ 170 assert(_d->keys.elt_size == sizeof(*KEYP)); [all...] |
vect.c | 29 return ((unsigned char *)vec->data) + vec->elt_size * i; 35 return ((const unsigned char *)vec->data) + vec->elt_size * i; 39 vect_init(struct vect *vec, size_t elt_size) 41 *vec = (struct vect){ NULL, 0, 0, elt_size }; 48 memcpy(tgt, src, target->elt_size); 58 vect_init(target, source->elt_size); 94 void *n = realloc(vec->data, na * vec->elt_size); 127 memcpy(slot(vec, vec->size++), eltp, vec->elt_size); 175 : ((start_after - vec->data) / vec->elt_size) + 1; 195 qsort(vec->data, vec->size, vec->elt_size, compar) [all...] |
dict.c | 71 char nkey[clone_data->target->keys.elt_size]; 77 char nvalue[clone_data->target->values.elt_size]; 108 dict_init(target, source->keys.elt_size, source->values.elt_size, 204 + dict->keys.elt_size * pos; 211 + dict->values.elt_size * pos; 277 dict_init(&tmp, dict->keys.elt_size, dict->values.elt_size, 296 0, (tmp.status.size - old_size) * tmp.status.elt_size); 388 memmove(getkey(dict, slot_n), key, dict->keys.elt_size); [all...] |
value.c | 244 size_t elt_size = type_sizeof(val->inferior, 246 if (elt_size == (size_t)-1) 249 return val->size = elt_size * l;
|
type.c | 437 size_t elt_size = type_sizeof(proc, elt_ti); local 438 if (elt_size == (size_t)-1) 441 return ((size_t)l) * elt_size;
|
lens_default.c | 281 if (pointers.elt_size == 0)
|
/external/chromium_org/chrome/browser/safe_browsing/ |
prefix_set.cc | 321 const size_t elt_size = sizeof(full_hashes_[0]); local 323 const size_t full_hashes_bytes = elt_size * elts; 324 written = fwrite(&(full_hashes_[0]), elt_size, elts, file.get());
|