Home
last modified time | relevance | path

Searched refs:new_len (Results 1 – 8 of 8) sorted by relevance

/reactos/base/services/dhcpcsvc/dhcp/
H A Dtree.c292 int new_len; local
351 new_len = i * h -> h_length;
354 (unsigned char *)dmalloc (new_len, "do_host_lookup");
357 new_len = dns -> buf_len;
366 dns -> buf_len = new_len;
372 for (i = 0; i < new_len / h -> h_length; i++) {
380 dns -> data_len = new_len;
/reactos/drivers/filesystems/udfs/Include/
H A Dmem_tools.cpp439 ULONG new_len in MyResizePoolInFrame() argument
469 new_len += MY_HEAP_CHECK_BOUNDS_BSZ; in MyResizePoolInFrame()
478 if(new_len > len ) { in MyResizePoolInFrame()
481 if(len + (Allocs[i+1].Len & MY_HEAP_FLAG_LEN_MASK) < new_len) in MyResizePoolInFrame()
483 Allocs[i].Len += (len2 = (new_len - len)); in MyResizePoolInFrame()
489 *((PULONG)(addr+new_len+(j*sizeof(ULONG))-MY_HEAP_CHECK_BOUNDS_BSZ)) = 0xBAADF00D; in MyResizePoolInFrame()
512 len2 = len - new_len; in MyResizePoolInFrame()
517 *((PULONG)(addr+new_len+(j*sizeof(ULONG))-MY_HEAP_CHECK_BOUNDS_BSZ)) = 0xBAADF00D; in MyResizePoolInFrame()
527 Allocs[i].Addr = Allocs[i-1].Addr + new_len; in MyResizePoolInFrame()
/reactos/sdk/lib/rtl/
H A Denv.c293 size_t hole_len, new_len, env_len = 0; in RtlSetEnvironmentVariable() local
384 new_len = new_size / sizeof(WCHAR); in RtlSetEnvironmentVariable()
385 if (hole_len < new_len) in RtlSetEnvironmentVariable()
448 memmove (hole + new_len, tail, (env_end - tail) * sizeof(WCHAR)); in RtlSetEnvironmentVariable()
/reactos/dll/win32/riched20/
H A Dstring.c105 DWORD new_len = s->nLen + len + 1; in ME_InsertString() local
111 if( new_len > s->nBuffer ) in ME_InsertString()
113 s->nBuffer = ME_GetOptimalBuffer( new_len ); in ME_InsertString()
/reactos/drivers/network/tcpip/lwip/src/core/
H A Dpbuf.c402 pbuf_realloc(struct pbuf *p, u16_t new_len) in pbuf_realloc() argument
411 if (new_len >= p->tot_len) { in pbuf_realloc()
418 shrink = (u16_t)(p->tot_len - new_len); in pbuf_realloc()
421 rem_len = new_len; in pbuf_realloc()
/reactos/dll/win32/msi/
H A Daction.c2637 DWORD i, old_len = 0, new_len = 0, old_count = 0, new_count = 0; in build_multi_string_value() local
2646 new_len = new_size / sizeof(WCHAR) - 1; in build_multi_string_value()
2648 if (!new_ptr[0] && new_ptr[new_len - 1]) in build_multi_string_value()
2651 new_len--; in build_multi_string_value()
2654 else if (new_ptr[0] && !new_ptr[new_len - 1]) in build_multi_string_value()
2657 new_len--; in build_multi_string_value()
2659 else if (new_len > 2 && !new_ptr[0] && !new_ptr[new_len - 1]) in build_multi_string_value()
2662 new_len -= 2; in build_multi_string_value()
2665 new = split_multi_string_values( new_ptr, new_len, &new_count ); in build_multi_string_value()
/reactos/dll/win32/mshtml/
H A Dhtmlstyle.c500 DWORD new_len = len; in nsstyle_to_bstr() local
504 new_len--; in nsstyle_to_bstr()
506 if(new_len != len) { in nsstyle_to_bstr()
509 new_ret = SysAllocStringLen(NULL, new_len); in nsstyle_to_bstr()
/reactos/dll/win32/urlmon/
H A Duri.c3078 DWORD new_len = remove_dot_segments(uri->canon_uri + uri->path_start, in canonicalize_path_opaque() local
3080 uri->canon_len = uri->path_start + new_len; in canonicalize_path_opaque()
6627 DWORD new_len = remove_dot_segments(path+offset,path_len-offset); in combine_uri() local
6629 if(new_len != path_len) { in combine_uri()
6630 WCHAR *tmp = heap_realloc(path, (offset+new_len+1)*sizeof(WCHAR)); in combine_uri()
6637 tmp[new_len+offset] = '\0'; in combine_uri()
6639 path_len = new_len+offset; in combine_uri()