Home
last modified time | relevance | path

Searched refs:newlength (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/array/
H A Dcapacity.d13 private extern (C) void[] _d_arraysetlengthT(const TypeInfo ti, size_t newlength, void[]* p) nothro…
14 private extern (C) void[] _d_arraysetlengthiT(const TypeInfo ti, size_t newlength, void[]* p) nothr…
39 size_t _d_arraysetlengthT(return scope ref Tarr arr, size_t newlength) @trusted pure nothrow in _d_arraysetlengthT() argument
47 ._d_arraysetlengthT(ti, newlength, cast(void[]*)&arr); in _d_arraysetlengthT()
49 ._d_arraysetlengthiT(ti, newlength, cast(void[]*)&arr); in _d_arraysetlengthT()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/
H A Dlifetime.d269 bool __setArrayAllocLength(ref BlkInfo info, size_t newlength, bool isshared, const TypeInfo tinext…
280 auto newlength_padded = addu(newlength,
293 return cas(cast(shared)length, cast(ubyte)oldlength, cast(ubyte)newlength);
298 *length = cast(ubyte)newlength;
306 *length = cast(ubyte)newlength;
316 if (newlength + MEDPAD + typeInfoSize > info.size)
324 return cas(cast(shared)length, cast(ushort)oldlength, cast(ushort)newlength);
329 *length = cast(ushort)newlength;
337 *length = cast(ushort)newlength;
347 if (newlength + LARGEPAD > info.size)
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/rt/
H A Dlifetime.d257 bool __setArrayAllocLength(ref BlkInfo info, size_t newlength, bool isshared, const TypeInfo tinext…
268 auto newlength_padded = addu(newlength,
281 return cas(cast(shared)length, cast(ubyte)oldlength, cast(ubyte)newlength);
286 *length = cast(ubyte)newlength;
294 *length = cast(ubyte)newlength;
304 if (newlength + MEDPAD + typeInfoSize > info.size)
312 return cas(cast(shared)length, cast(ushort)oldlength, cast(ushort)newlength);
317 *length = cast(ushort)newlength;
325 *length = cast(ushort)newlength;
335 if (newlength + LARGEPAD > info.size)
[all …]
/netbsd-src/usr.sbin/bootp/common/
H A Dreadfile.c1243 u_int newlength, oldlength; in process_generic() local
1249 newlength = sizeof(tmpbuf) - 2; /* Set maximum allowed length */ in process_generic()
1250 (void) get_string(src, (char *) str, &newlength); in process_generic()
1253 newlength = 0; in process_generic()
1254 while (newlength < sizeof(tmpbuf) - 2) { in process_generic()
1257 newlength++; in process_generic()
1266 tmpbuf[1] = (newlength & 0xFF); in process_generic()
1269 + oldlength + newlength + 1); in process_generic()
1273 bcopy(tmpbuf, bdata->data + oldlength, newlength + 2); in process_generic()
1274 bdata->length = oldlength + newlength + 2; in process_generic()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/util/container/
H A Darray.d99 size_t newlength = addu(length, 1, overflow); in Array() local
102 length = newlength; in Array()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/container/
H A Darray.d99 size_t newlength = addu(length, 1, overflow); in Array() local
102 length = newlength; in Array()
/netbsd-src/external/gpl2/texinfo/dist/util/
H A Dtexi-docstring-magic.el188 (newlength (length replacement)))
191 (setq i (+ i (- newlength origlength))))))
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dmasterdump.c971 int newlength; in dump_rdataset() local
978 newlength = buffer->length * 2; in dump_rdataset()
979 newmem = isc_mem_get(mctx, newlength); in dump_rdataset()
981 isc_buffer_init(buffer, newmem, newlength); in dump_rdataset()
1242 int newlength; in dump_rdataset_raw() local
1245 newlength = buffer->length * 2; in dump_rdataset_raw()
1246 newmem = isc_mem_get(mctx, newlength); in dump_rdataset_raw()
1248 isc_buffer_init(buffer, newmem, newlength); in dump_rdataset_raw()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dmasterdump.c1010 int newlength; in dump_order()
1017 newlength = buffer->length * 2; in dump_order()
1018 newmem = isc_mem_get(mctx, newlength); in dump_order()
1020 isc_buffer_init(buffer, newmem, newlength); in dump_order()
1283 int newlength; in dump_rdatasets_raw()
1286 newlength = buffer->length * 2; in dump_rdatasets_raw()
1287 newmem = isc_mem_get(mctx, newlength); in dump_rdatasets_raw()
1289 isc_buffer_init(buffer, newmem, newlength); in dump_rdatasets_raw()
965 int newlength; dump_rdataset() local
1235 int newlength; dump_rdataset_raw() local
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dexpr.cc930 tree newlength = convert_expr (build_expr (e->e2), e->e2->type, in visit() local
941 newlength, ptr); in visit()
1414 tree newlength; in visit() local
1420 newlength = build_bounds_condition (e->upr->loc, upr_tree, in visit()
1427 newlength = upr_tree; in visit()
1431 newlength = upr_tree; in visit()
1445 newlength = compound_expr (cond, newlength); in visit()
1450 newlength = fold_build2 (MINUS_EXPR, TREE_TYPE (newlength), in visit()
1451 compound_expr (lwr_tree, newlength), lwr_tree); in visit()
1454 tree result = d_array_value (build_ctype (e->type), newlength, ptr); in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-convert.cc540 tree newlength = size_mult_expr (d_array_length (exp), in convert_expr() local
542 return d_array_value (build_ctype (totype), newlength, in convert_expr()
H A Dexpr.cc1415 tree newlength = build_bounds_slice_condition (e, lwr_tree, upr_tree, in visit() local
1417 tree result = d_array_value (build_ctype (e->type), newlength, ptr); in visit()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Darray.d3760 void shrinkTo(size_t newlength) @trusted pure in shrinkTo() argument
3765 … enforce(newlength <= _data.arr.length, "Attempting to shrink Appender with newlength > length"); in shrinkTo()
3766 _data.arr = _data.arr.ptr[0 .. newlength]; in shrinkTo()
3769 … enforce(newlength == 0, "Attempting to shrink empty Appender with non-zero newlength"); in shrinkTo()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Darray.d3107 … enforce(newlength <= _data.arr.length, "Attempting to shrink Appender with newlength > length"); in CheckOutput()
3111 … enforce(newlength == 0, "Attempting to shrink empty Appender with non-zero newlength"); in CheckOutput()