/external/toybox/lib/ |
D | portability.c | 37 size_t new_len; in getdelim() local 57 new_len = *np + 1024; in getdelim() 58 new_line = realloc(*linep, new_len); in getdelim() 60 *np = new_len; in getdelim() 71 new_len = i + 2; in getdelim() 72 new_line = realloc(*linep, new_len); in getdelim() 74 *np = new_len; in getdelim()
|
/external/eigen/Eigen/src/SparseLU/ |
D | SparseLU_Memory.h | 68 Index new_len; // New size of the allocated memory in expand() local 71 new_len = length ; // First time allocate requested in expand() 73 new_len = (std::max)(length+1,Index(alpha * length)); in expand() 84 vec.resize(new_len); in expand() 101 return new_len; in expand() 110 new_len = (std::max)(length+1,Index(alpha * length)); in expand() 115 vec.resize(new_len); in expand() 124 if ( tries > 10) return new_len; in expand() 134 length = new_len; in expand()
|
/external/sqlite/android/ |
D | PhoneNumberUtils.cpp | 115 const char **new_ptr, size_t *new_len) in tryGetTrunkPrefixOmittedStr() argument 123 if (new_len != NULL) { in tryGetTrunkPrefixOmittedStr() 124 *new_len = len - (i + 1); in tryGetTrunkPrefixOmittedStr() 141 const char **new_ptr, size_t *new_len, in tryGetCountryCallingCode() argument 192 if (new_len != NULL) { in tryGetCountryCallingCode() 193 *new_len = len - (i + 1); in tryGetCountryCallingCode() 216 if (new_len != NULL) { in tryGetCountryCallingCode() 217 *new_len = len - (i + 1); in tryGetCountryCallingCode()
|
/external/libopus/src/ |
D | repacketizer.c | 238 int opus_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len) in opus_packet_pad() argument 244 if (len==new_len) in opus_packet_pad() 246 else if (len > new_len) in opus_packet_pad() 250 OPUS_MOVE(data+new_len-len, data, len); in opus_packet_pad() 251 opus_repacketizer_cat(&rp, data+new_len-len, len); in opus_packet_pad() 252 ret = opus_repacketizer_out_range_impl(&rp, 0, rp.nb_frames, data, new_len, 0, 1); in opus_packet_pad() 274 int opus_multistream_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len, int nb_str… in opus_multistream_packet_pad() argument 285 if (len==new_len) in opus_multistream_packet_pad() 287 else if (len > new_len) in opus_multistream_packet_pad() 289 amount = new_len - len; in opus_multistream_packet_pad()
|
D | opus_private.h | 127 int pad_frame(unsigned char *data, opus_int32 len, opus_int32 new_len);
|
/external/chromium-trace/catapult/third_party/typ/typ/ |
D | printer.py | 32 new_len = int((self.cols - 5) / 2) 33 msg = msg[:new_len] + '...' + msg[-new_len:]
|
/external/libevent/ |
D | ht-internal.h | 315 unsigned new_len, new_load_limit; \ 324 new_len = name##_PRIMES[++prime_idx]; \ 325 new_load_limit = (unsigned)(load*new_len); \ 328 if ((new_table = mallocfn(new_len*sizeof(struct type*)))) { \ 330 memset(new_table, 0, new_len*sizeof(struct type*)); \ 337 b2 = _HT_ELT_HASH(elm, field, hashfn) % new_len; \ 348 new_table = reallocfn(head->hth_table, new_len*sizeof(struct type*)); \ 351 (new_len - head->hth_table_length)*sizeof(struct type*)); \ 355 b2 = _HT_ELT_HASH(e, field, hashfn) % new_len; \ 367 head->hth_table_length = new_len; \
|
/external/mmc-utils/3rdparty/hmac_sha/ |
D | sha2.c | 362 unsigned int new_len, rem_len, tmp_len; in sha256_update() local 375 new_len = len - rem_len; in sha256_update() 376 block_nb = new_len / SHA256_BLOCK_SIZE; in sha256_update() 383 rem_len = new_len % SHA256_BLOCK_SIZE; in sha256_update() 559 unsigned int new_len, rem_len, tmp_len; in sha512_update() local 572 new_len = len - rem_len; in sha512_update() 573 block_nb = new_len / SHA512_BLOCK_SIZE; in sha512_update() 580 rem_len = new_len % SHA512_BLOCK_SIZE; in sha512_update() 661 unsigned int new_len, rem_len, tmp_len; in sha384_update() local 674 new_len = len - rem_len; in sha384_update() [all …]
|
/external/piex/src/binary_parse/ |
D | range_checked_byte_ptr.cc | 255 size_t new_len = sub_array_end_ - page_begin_offset_; in restrictPageToSubArray() local 256 if (new_len > current_page_len_) { in restrictPageToSubArray() 257 new_len = current_page_len_; in restrictPageToSubArray() 259 current_page_len_ = new_len; in restrictPageToSubArray()
|
/external/clang/test/Sema/ |
D | uninit-variables.c | 384 int new_len; // expected-note{{initialize the variable 'new_len' to silence this warning}} in PR10379_f() local 389 PR10379_f(&new_len); in PR10379_f() 391 PR10379_f(&new_len); in PR10379_f() 392 *len += new_len; // expected-warning {{variable 'new_len' may be uninitialized when used here}} in PR10379_f()
|
/external/boringssl/src/ssl/ |
D | s3_enc.c | 292 size_t new_len = ssl->s3->handshake_buffer->length + in_len; in ssl3_update_handshake_hash() local 293 if (new_len < in_len) { in ssl3_update_handshake_hash() 297 if (!BUF_MEM_grow(ssl->s3->handshake_buffer, new_len)) { in ssl3_update_handshake_hash() 300 memcpy(ssl->s3->handshake_buffer->data + new_len - in_len, in, in_len); in ssl3_update_handshake_hash()
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-generic.c | 276 Addr new_addr, SizeT new_len, in do_mremap() argument 289 old_addr,old_len,new_addr,new_len, in do_mremap() 302 new_len = VG_PGROUNDUP(new_len); in do_mremap() 304 if (new_len == 0) in do_mremap() 314 if (f_fixed == True && new_addr + new_len < new_len) in do_mremap() 336 vg_assert(new_len > 0); in do_mremap() 338 vg_assert(VG_IS_PAGE_ALIGNED(new_len)); in do_mremap() 371 if (new_len < old_len) in do_mremap() 373 if (new_len > old_len) in do_mremap() 380 if (new_len < old_len) in do_mremap() [all …]
|
/external/e2fsprogs/e2fsck/ |
D | rehash.c | 339 __u16 new_len; in duplicate_search_and_fix() local 368 new_len = ent->dir->name_len; in duplicate_search_and_fix() 369 mutate_name(new_name, &new_len); in duplicate_search_and_fix() 372 ((new_len & 0xFF) != in duplicate_search_and_fix() 375 new_len & 0xFF))) in duplicate_search_and_fix() 377 mutate_name(new_name, &new_len); in duplicate_search_and_fix() 381 new_name[new_len & 0xFF] = 0; in duplicate_search_and_fix() 384 memcpy(ent->dir->name, new_name, new_len & 0xFF); in duplicate_search_and_fix() 385 ent->dir->name_len = new_len; in duplicate_search_and_fix()
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | priv_aspacemgr.h | 101 SizeT new_len 106 Addr new_addr, Addr new_len
|
D | aspacemgr-common.c | 212 SizeT new_len in ML_() 221 old_addr, old_len, new_len, in ML_() 232 Addr new_addr, Addr new_len in ML_() 242 old_addr, old_len, new_len, in ML_()
|
/external/boringssl/src/crypto/err/ |
D | err.c | 641 size_t alloced, new_len, len = 0, substr_len; in err_add_error_vdata() local 659 new_len = len + substr_len; in err_add_error_vdata() 660 if (new_len > alloced) { in err_add_error_vdata() 669 alloced = new_len + 20; in err_add_error_vdata() 679 len = new_len; in err_add_error_vdata()
|
/external/vboot_reference/firmware/lib/cryptolib/ |
D | sha256.c | 247 unsigned int new_len, rem_len, tmp_len; in SHA256_update() local 260 new_len = len - rem_len; in SHA256_update() 261 block_nb = new_len / SHA256_BLOCK_SIZE; in SHA256_update() 268 rem_len = new_len % SHA256_BLOCK_SIZE; in SHA256_update()
|
D | sha512.c | 269 unsigned int new_len, rem_len, tmp_len; in SHA512_update() local 282 new_len = len - rem_len; in SHA512_update() 283 block_nb = new_len / SHA512_BLOCK_SIZE; in SHA512_update() 290 rem_len = new_len % SHA512_BLOCK_SIZE; in SHA512_update()
|
/external/dbus/dbus/ |
D | dbus-marshal-basic.c | 344 int old_len, new_len; in set_string() local 353 new_len = _dbus_string_get_length (&dstr); in set_string() 355 if (!_dbus_string_replace_len (&dstr, 0, new_len, in set_string() 359 _dbus_marshal_set_uint32 (str, pos, new_len, byte_order); in set_string() 364 *new_end_pos = pos + 4 + new_len + 1; in set_string() 390 int old_len, new_len; in set_signature() local 396 new_len = _dbus_string_get_length (&dstr); in set_signature() 398 if (!_dbus_string_replace_len (&dstr, 0, new_len, in set_signature() 402 _dbus_string_set_byte (str, pos, new_len); in set_signature() 407 *new_end_pos = pos + 1 + new_len + 1; in set_signature()
|
D | dbus-marshal-recursive.h | 96 int new_len; /**< the new value of the length in the written-out block */ member
|
/external/libopus/include/ |
D | opus.h | 926 OPUS_EXPORT int opus_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len); 955 OPUS_EXPORT int opus_multistream_packet_pad(unsigned char *data, opus_int32 len, opus_int32 new_len…
|
/external/libevent/include/event2/ |
D | buffer_compat.h | 70 typedef void (*evbuffer_cb)(struct evbuffer *buffer, size_t old_len, size_t new_len, void *arg);
|
/external/harfbuzz_ng/src/ |
D | hb-ot-shape-complex-arabic.cc | 475 unsigned int new_len = count + extra_glyphs_needed; // write head during CUT in apply_stch() local 476 unsigned int j = new_len; in apply_stch() 592 buffer->len = new_len; in apply_stch()
|
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer.cc | 1041 const size_t new_len = text_size + output->size(); in ParseStringAppend() local 1042 if (new_len > output->capacity()) { in ParseStringAppend() 1043 output->reserve(new_len); in ParseStringAppend()
|
/external/dhcpcd-6.8.2/ |
D | dhcp6.c | 624 ml = state->new_len; in dhcp6_makemessage() 640 ml = state->new_len; in dhcp6_makemessage() 685 ml = state->new_len; in dhcp6_makemessage() 1394 state->new_len = 0; in dhcp6_startdiscover() 2146 bytes = write(fd, state->new, state->new_len); in dhcp6_writelease() 2177 state->new_len = (size_t)st.st_size; in dhcp6_readlease() 2178 bytes = read(fd, state->new, state->new_len); in dhcp6_readlease() 2180 if (bytes != (ssize_t)state->new_len) in dhcp6_readlease() 2197 fd = dhcp6_validatelease(ifp, state->new, state->new_len, NULL, in dhcp6_readlease() 2218 o = dhcp6_getmoption(D6_OPTION_AUTH, state->new, state->new_len); in dhcp6_readlease() [all …]
|