/external/apache-http/src/org/apache/http/util/ |
D | ByteArrayBuffer.java | 61 private void expand(int newlen) { in expand() argument 62 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)]; in expand() 78 int newlen = this.len + len; in append() local 79 if (newlen > this.buffer.length) { in append() 80 expand(newlen); in append() 83 this.len = newlen; in append() 87 int newlen = this.len + 1; in append() local 88 if (newlen > this.buffer.length) { in append() 89 expand(newlen); in append() 92 this.len = newlen; in append() [all …]
|
D | CharArrayBuffer.java | 63 private void expand(int newlen) { in expand() argument 64 char newbuffer[] = new char[Math.max(this.buffer.length << 1, newlen)]; in expand() 80 int newlen = this.len + len; in append() local 81 if (newlen > this.buffer.length) { in append() 82 expand(newlen); in append() 85 this.len = newlen; in append() 93 int newlen = this.len + strlen; in append() local 94 if (newlen > this.buffer.length) { in append() 95 expand(newlen); in append() 98 this.len = newlen; in append() [all …]
|
/external/dtc/libfdt/ |
D | fdt_rw.c | 54 static int fdt_splice_(void *fdt, void *splicepoint, int oldlen, int newlen) in fdt_splice_() argument 62 if ((p < (char *)fdt) || (dsize + newlen < oldlen)) in fdt_splice_() 64 if (dsize - oldlen + newlen > fdt_totalsize(fdt)) in fdt_splice_() 66 memmove(p + newlen, p + oldlen, ((char *)fdt + dsize) - (p + oldlen)); in fdt_splice_() 84 int oldlen, int newlen) in fdt_splice_struct_() argument 86 int delta = newlen - oldlen; in fdt_splice_struct_() 89 if ((err = fdt_splice_(fdt, p, oldlen, newlen))) in fdt_splice_struct_() 100 int newlen = strlen(s) + 1; in fdt_del_last_string_() local 102 fdt_set_size_dt_strings(fdt, fdt_size_dt_strings(fdt) - newlen); in fdt_del_last_string_() 105 static int fdt_splice_string_(void *fdt, int newlen) in fdt_splice_string_() argument [all …]
|
/external/rust/crates/grpcio-sys/grpc/include/grpc/impl/codegen/ |
D | slice.h | 102 #define GRPC_SLICE_SET_LENGTH(slice, newlen) \ argument 103 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \ 104 : ((slice).data.inlined.length = (uint8_t)(newlen))) 118 #define GPR_SLICE_SET_LENGTH(slice, newlen) \ argument 119 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \ 120 : ((slice).data.inlined.length = (uint8_t)(newlen)))
|
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/codegen/ |
D | slice.h | 102 #define GRPC_SLICE_SET_LENGTH(slice, newlen) \ argument 103 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \ 104 : ((slice).data.inlined.length = (uint8_t)(newlen))) 118 #define GPR_SLICE_SET_LENGTH(slice, newlen) \ argument 119 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \ 120 : ((slice).data.inlined.length = (uint8_t)(newlen)))
|
/external/grpc-grpc/include/grpc/impl/codegen/ |
D | slice.h | 122 #define GRPC_SLICE_SET_LENGTH(slice, newlen) \ argument 123 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \ 124 : ((slice).data.inlined.length = (uint8_t)(newlen))) 138 #define GPR_SLICE_SET_LENGTH(slice, newlen) \ argument 139 ((slice).refcount ? ((slice).data.refcounted.length = (size_t)(newlen)) \ 140 : ((slice).data.inlined.length = (uint8_t)(newlen)))
|
/external/selinux/libsepol/cil/src/ |
D | cil_fqn.c | 49 int newlen; in __cil_fqn_qualify_decls() local 57 newlen = fqn_args->len + strlen(datum->name); in __cil_fqn_qualify_decls() 58 if (newlen >= CIL_MAX_NAME_LENGTH) { in __cil_fqn_qualify_decls() 85 int newlen = fqn_args->len + strlen(datum->name) + 1; in __cil_fqn_qualify_blocks() local 86 if (newlen >= CIL_MAX_NAME_LENGTH) { in __cil_fqn_qualify_blocks() 93 child_args.len = newlen; in __cil_fqn_qualify_blocks()
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | ctl.h | 94 void *newp, size_t newlen); 98 size_t *oldlenp, void *newp, size_t newlen); 104 #define xmallctl(name, oldp, oldlenp, newp, newlen) do { \ argument 105 if (je_mallctl(name, oldp, oldlenp, newp, newlen) \ 122 #define xmallctlbymib(mib, miblen, oldp, oldlenp, newp, newlen) do { \ argument 124 newlen) != 0) { \
|
/external/jemalloc_new/src/ |
D | ctl.c | 51 void *oldp, size_t *oldlenp, void *newp, size_t newlen); 1174 void *newp, size_t newlen) { in ctl_byname() argument 1194 ret = node->ctl(tsd, mib, depth, oldp, oldlenp, newp, newlen); in ctl_byname() 1220 size_t *oldlenp, void *newp, size_t newlen) { in ctl_bymib() argument 1257 ret = node->ctl(tsd, mib, miblen, oldp, oldlenp, newp, newlen); in ctl_bymib() 1298 if (newp != NULL || newlen != 0) { \ 1313 newlen != 0)) { \ 1334 if (newlen != sizeof(t)) { \ 1357 size_t *oldlenp, void *newp, size_t newlen) { \ 1382 size_t *oldlenp, void *newp, size_t newlen) { \ [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/asn1/ |
D | a_time.c | 118 int newlen; in ASN1_TIME_to_generalizedtime() local 141 newlen = t->length + 2 + 1; in ASN1_TIME_to_generalizedtime() 145 OPENSSL_strlcpy(str, "19", newlen); in ASN1_TIME_to_generalizedtime() 147 OPENSSL_strlcpy(str, "20", newlen); in ASN1_TIME_to_generalizedtime() 149 OPENSSL_strlcat(str, (char *)t->data, newlen); in ASN1_TIME_to_generalizedtime()
|
/external/boringssl/src/crypto/asn1/ |
D | a_time.c | 118 int newlen; in ASN1_TIME_to_generalizedtime() local 141 newlen = t->length + 2 + 1; in ASN1_TIME_to_generalizedtime() 145 OPENSSL_strlcpy(str, "19", newlen); in ASN1_TIME_to_generalizedtime() 147 OPENSSL_strlcpy(str, "20", newlen); in ASN1_TIME_to_generalizedtime() 149 OPENSSL_strlcat(str, (char *)t->data, newlen); in ASN1_TIME_to_generalizedtime()
|
/external/openssh/openbsd-compat/ |
D | port-linux.c | 183 int len, newlen; in ssh_selinux_change_context() local 208 newlen = strlen(oldctx) + strlen(newname) + 1; in ssh_selinux_change_context() 209 newctx = xmalloc(newlen); in ssh_selinux_change_context() 212 strlcpy(newctx + len, newname, newlen - len); in ssh_selinux_change_context() 214 strlcat(newctx, cx, newlen); in ssh_selinux_change_context()
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | unreachable-blocks.ll | 12 %newlen = sub i32 %newlen, 1 14 %test = icmp sgt i32 %newlen, 0
|
/external/llvm-project/llvm/test/Transforms/SimplifyCFG/X86/ |
D | unreachable-blocks.ll | 12 %newlen = sub i32 %newlen, 1 14 %test = icmp sgt i32 %newlen, 0
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_bitmap_shader.c | 135 int newlen; in st_get_bitmap_shader() local 148 newlen = tgsi_num_tokens(tokens) + 20; in st_get_bitmap_shader() 149 newtoks = tgsi_alloc_tokens(newlen); in st_get_bitmap_shader() 153 tgsi_transform_shader(tokens, newtoks, newlen, &ctx.base); in st_get_bitmap_shader()
|
/external/elfutils/libcpu/ |
D | i386_parse.y | 1527 size_t newlen[nstrsnlen]; 1531 newlen[i] = strsnlen[i].len - 1; 1533 newlen[i] = strsnlen[i].len; 1542 size_t table = newlen[0] + 1; 1547 if (newlen[i] > newlen[j] 1549 strsnlen[i].str + (newlen[i] - newlen[j]), 1550 newlen[j]) == 0) 1552 table += newlen[i] - newlen[j]; 1554 newlen[j] = newlen[i]; 1557 else if (newlen[i] < newlen[j] [all …]
|
/external/pdfium/third_party/libopenjpeg20/ |
D | t2.c | 1228 l_cblk->segs[l_segno].newlen = opj_bio_read(l_bio, bit_number); in opj_t2_read_packet_header() 1231 l_cblk->segs[l_segno].newlen); in opj_t2_read_packet_header() 1344 if ((((OPJ_SIZE_T)l_current_data + (OPJ_SIZE_T)l_seg->newlen) < in opj_t2_read_packet_data() 1346 (l_current_data + l_seg->newlen > p_src_data + p_max_length)) { in opj_t2_read_packet_data() 1349 … l_seg->newlen, p_max_length, cblkno, p_pi->precno, bandno, p_pi->resno, in opj_t2_read_packet_data() 1359 if ((l_cblk->len + l_seg->newlen) > 8192) { in opj_t2_read_packet_data() 1362 … l_seg->newlen, cblkno, p_pi->precno, bandno, p_pi->resno, p_pi->compno); in opj_t2_read_packet_data() 1367 l_seg->newlen = 8192 - l_cblk->len; in opj_t2_read_packet_data() 1369 l_seg->newlen); in opj_t2_read_packet_data() 1390 l_cblk->chunks[l_cblk->numchunks].len = l_seg->newlen; in opj_t2_read_packet_data() [all …]
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_emulate.c | 144 int newlen; in tgsi_emulate() local 162 newlen = tgsi_num_tokens(tokens) + 20; in tgsi_emulate() 163 newtoks = tgsi_alloc_tokens(newlen); in tgsi_emulate() 167 tgsi_transform_shader(tokens, newtoks, newlen, &ctx.base); in tgsi_emulate()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/bytestring/ |
D | cbb.c | 96 size_t newlen; in cbb_buffer_reserve() local 102 newlen = base->len + len; in cbb_buffer_reserve() 103 if (newlen < base->len) { in cbb_buffer_reserve() 108 if (newlen > base->cap) { in cbb_buffer_reserve() 116 if (newcap < base->cap || newcap < newlen) { in cbb_buffer_reserve() 117 newcap = newlen; in cbb_buffer_reserve() 424 size_t newlen = cbb->base->len + len; in CBB_did_write() local 426 newlen < cbb->base->len || in CBB_did_write() 427 newlen > cbb->base->cap) { in CBB_did_write() 430 cbb->base->len = newlen; in CBB_did_write()
|
/external/boringssl/src/crypto/bytestring/ |
D | cbb.c | 96 size_t newlen; in cbb_buffer_reserve() local 102 newlen = base->len + len; in cbb_buffer_reserve() 103 if (newlen < base->len) { in cbb_buffer_reserve() 108 if (newlen > base->cap) { in cbb_buffer_reserve() 116 if (newcap < base->cap || newcap < newlen) { in cbb_buffer_reserve() 117 newcap = newlen; in cbb_buffer_reserve() 424 size_t newlen = cbb->base->len + len; in CBB_did_write() local 426 newlen < cbb->base->len || in CBB_did_write() 427 newlen > cbb->base->cap) { in CBB_did_write() 430 cbb->base->len = newlen; in CBB_did_write()
|
/external/toybox/toys/posix/ |
D | sed.c | 176 static char *extend_string(char **old, char *new, int oldlen, int newlen) in extend_string() argument 178 int newline = newlen < 0; in extend_string() 181 if (newline) newlen = -newlen; in extend_string() 182 s = *old = xrealloc(*old, oldlen+newlen+newline+1); in extend_string() 184 memcpy(s+oldlen, new, newlen); in extend_string() 185 s[oldlen+newlen] = 0; in extend_string() 187 return s+oldlen+newlen+1; in extend_string() 428 mlen, off, newlen; in sed_line() local 457 for (off = newlen = 0; new[off]; off++) { in sed_line() 463 newlen++; in sed_line() [all …]
|
D | patch.c | 53 long oldline, oldlen, newline, newlen, linenum, outnum; 334 if (*patchline != '-') TT.newlen--; in patch_main() 341 if (!TT.oldlen && !TT.newlen) state = apply_one_hunk(); in patch_main() 385 TT.oldlen = TT.newlen = 1; in patch_main() 389 if (*s == ',') TT.newlen = strtol(s+1, &s, 10); in patch_main() 400 newsum = TT.newline + TT.newlen; in patch_main()
|
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
D | BigDecimal.java | 991 int newlen = 0; in add() local 1045 newlen = (usellen + lhs.exp) - rhs.exp; in add() 1050 if (newlen >= ((userlen + reqdig) + 1)) in add() 1064 if (newlen > (reqdig + 1)) in add() 1067 tlen = (newlen - reqdig) - 1; // truncation length in add() 1070 newlen = reqdig + 1; in add() 1072 if (newlen > usellen) in add() 1073 usellen = newlen; // need to pad LHS in add() 1075 newlen = (userlen + rhs.exp) - lhs.exp; in add() 1076 if (newlen >= ((usellen + reqdig) + 1)) in add() [all …]
|
/external/rust/crates/tinyvec/src/ |
D | arrayvec_drain.rs | 50 let newlen = oldlen - len; in new() localVariable 51 arr.set_len(newlen); in new() 52 let slice = &mut arr.data.as_slice_mut()[newlen..oldlen]; in new()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
D | BigDecimal.java | 1015 int newlen = 0; in add() local 1069 newlen = (usellen + lhs.exp) - rhs.exp; in add() 1074 if (newlen >= ((userlen + reqdig) + 1)) in add() 1088 if (newlen > (reqdig + 1)) in add() 1091 tlen = (newlen - reqdig) - 1; // truncation length in add() 1094 newlen = reqdig + 1; in add() 1096 if (newlen > usellen) in add() 1097 usellen = newlen; // need to pad LHS in add() 1099 newlen = (userlen + rhs.exp) - lhs.exp; in add() 1100 if (newlen >= ((usellen + reqdig) + 1)) in add() [all …]
|