/third_party/toybox/toys/posix/ |
D | patch.c | 55 long oldline, oldlen, newline, newlen; 322 if (*patchline != '+') TT.oldlen--; in patch_main() 330 if (!TT.oldlen && !TT.newlen) state = apply_one_hunk(); in patch_main() 374 TT.oldlen = TT.newlen = 1; in patch_main() 376 if (*s == ',') TT.oldlen=strtol(s+1, &s, 10); in patch_main() 388 oldsum = TT.oldline + TT.oldlen; in patch_main()
|
D | sed.c | 229 static char *extend_string(char **old, char *new, int oldlen, int newlen) in extend_string() argument 235 s = *old = xrealloc(*old, oldlen+newlen+newline+1); in extend_string() 236 if (newline) s[oldlen++] = '\n'; in extend_string() 237 memcpy(s+oldlen, new, newlen); in extend_string() 238 s[oldlen+newlen] = 0; in extend_string() 240 return s+oldlen+newlen+1; in extend_string()
|
/third_party/ltp/testcases/kernel/syscalls/sysctl/ |
D | sysctl04.c | 33 size_t *oldlen; member 49 .oldlenp = tc->oldlen, in verify_sysctl()
|
/third_party/e2fsprogs/util/ |
D | symlinks.c | 48 int oldlen = strlen(old), newlen = 0; in substr() local 56 if (newlen > oldlen) { in substr() 67 if (newlen > oldlen) in substr() 73 p = old_s + oldlen; in substr()
|
/third_party/ltp/utils/sctp/func_tests/ |
D | test_sctp_sendrecvmsg.c | 93 socklen_t len, oldlen; in main() local 153 error = getsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &oldlen, &len); in main() 195 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &oldlen, in main() 196 sizeof(oldlen)); in main()
|
/third_party/ntfs-3g/libfuse-lite/ |
D | fuse_opt.c | 105 unsigned oldlen = strlen(*opts); in fuse_opt_add_opt() local 106 newopts = realloc(*opts, oldlen + 1 + strlen(opt) + 1); in fuse_opt_add_opt() 108 newopts[oldlen] = ','; in fuse_opt_add_opt() 109 strcpy(newopts + oldlen + 1, opt); in fuse_opt_add_opt()
|
/third_party/musl/porting/linux/user/src/malloc/ |
D | malloc.c | 829 size_t oldlen = n0 + extra; in __libc_realloc() local 842 if (oldlen == newlen) return p; in __libc_realloc() 844 base = __mremap(base, oldlen, newlen, MREMAP_MAYMOVE); in __libc_realloc() 846 base = __mremap(base, oldlen, newlen, 0); in __libc_realloc() 950 size_t oldlen = n0 + extra; in internal_realloc() local 963 if (oldlen == newlen) return p; in internal_realloc() 964 base = __mremap(base, oldlen, newlen, MREMAP_MAYMOVE); in internal_realloc()
|
/third_party/glib/glib/ |
D | ghostutils.c | 474 gssize llen, oldlen; in g_hostname_to_ascii() local 518 oldlen = out->len; in g_hostname_to_ascii() 532 if (out->len - oldlen > 63) in g_hostname_to_ascii()
|
D | giochannel.c | 1471 gsize read_size, cur_len, oldlen; in g_io_channel_fill_buffer() local 1507 oldlen = channel->encoded_read_buf->len; in g_io_channel_fill_buffer() 1510 oldlen = 0; in g_io_channel_fill_buffer() 1556 if ((oldlen == channel->encoded_read_buf->len) in g_io_channel_fill_buffer() 1567 if (oldlen < channel->encoded_read_buf->len) in g_io_channel_fill_buffer() 1609 if (oldlen < channel->encoded_read_buf->len) in g_io_channel_fill_buffer()
|
/third_party/musl/porting/liteos_a/user/src/malloc/ |
D | malloc.c | 385 size_t oldlen = n0 + extra; in realloc() local 394 if (oldlen == newlen) return p; in realloc() 395 base = __mremap(base, oldlen, newlen, MREMAP_MAYMOVE); in realloc()
|
/third_party/musl/src/malloc/ |
D | malloc.c | 388 size_t oldlen = n0 + extra; in realloc() local 397 if (oldlen == newlen) return p; in realloc() 398 base = __mremap(base, oldlen, newlen, MREMAP_MAYMOVE); in realloc()
|
/third_party/musl/porting/liteos_a/user_debug/src/malloc/ |
D | malloc.c | 418 size_t oldlen = n0 + extra; in realloc() local 434 if (oldlen == newlen) return p; in realloc() 438 base = __mremap(base, oldlen, newlen, MREMAP_MAYMOVE); in realloc()
|
/third_party/curl/src/ |
D | tool_getparam.c | 1516 curl_off_t oldlen = config->postfieldsize; in getparameter() local 1517 curl_off_t newlen = oldlen + curlx_uztoso(size) + 2; in getparameter() 1524 memcpy(config->postfields, oldpost, (size_t)oldlen); in getparameter() 1526 config->postfields[oldlen] = '\x26'; in getparameter() 1527 memcpy(&config->postfields[oldlen + 1], postdata, size); in getparameter() 1528 config->postfields[oldlen + 1 + size] = '\0'; in getparameter()
|
/third_party/ntfs-3g/libntfs-3g/ |
D | dir.c | 2684 int oldlen; in ntfs_set_ntfs_dos_name() local 2714 oldlen = get_dos_name(ni, dnum, oldname); in ntfs_set_ntfs_dos_name() 2715 if ((oldlen >= 0) in ntfs_set_ntfs_dos_name() 2718 if (oldlen > 0) { in ntfs_set_ntfs_dos_name() 2723 if ((shortlen == oldlen) in ntfs_set_ntfs_dos_name() 2725 oldlen*sizeof(ntfschar))) in ntfs_set_ntfs_dos_name() 2732 oldname, oldlen, TRUE); in ntfs_set_ntfs_dos_name()
|
/third_party/python/Lib/lib2to3/pgen2/ |
D | pgen.py | 160 oldlen = len(dfa)
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 43 size_t oldlen = RSTRING_LEN(rb_str); in noleak_rb_str_cat() local 46 memcpy(p + oldlen, str, len); in noleak_rb_str_cat() 47 rb_str_set_len(rb_str, oldlen + len); in noleak_rb_str_cat()
|
/third_party/toybox/generated/ |
D | globals.h | 1244 long oldline, oldlen, newline, newlen; member
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet6/ |
D | sctp6_usrreq.c | 614 if (req->oldlen != sizeof(struct ucred)) {
|