/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/libfuse/lib/ |
D | fuse_opt.c | 117 unsigned oldlen = *opts ? strlen(*opts) : 0; in add_opt_common() local 118 char *d = realloc(*opts, oldlen + 1 + strlen(opt) * 2 + 1); in add_opt_common() 124 if (oldlen) { in add_opt_common() 125 d += oldlen; in add_opt_common()
|
/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/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/libfuse/util/ |
D | mount.fuse.c | 106 int oldlen = options ? strlen(options) : 0; in add_option() local 108 options = xrealloc(options, oldlen + 1 + strlen(opt) + 1); in add_option() 109 if (!oldlen) in add_option()
|
/third_party/musl/porting/liteos_a/user/src/malloc/oldmalloc/ |
D | malloc.c | 370 size_t oldlen = n0 + extra; in realloc() local 379 if (oldlen == newlen) return p; in realloc() 380 base = __mremap(base, oldlen, newlen, MREMAP_MAYMOVE); in realloc()
|
/third_party/musl/porting/liteos_a/user_debug/src/malloc/oldmalloc/ |
D | malloc.c | 398 size_t oldlen = n0 + extra; in realloc() local 414 if (oldlen == newlen) return p; in realloc() 418 base = __mremap(base, oldlen, newlen, MREMAP_MAYMOVE); in realloc()
|
/third_party/musl/src/malloc/oldmalloc/ |
D | malloc.c | 424 size_t oldlen = n0 + extra; in realloc() local 444 if (oldlen == newlen) return p; in realloc() 450 base = __mremap(base, oldlen, newlen, MREMAP_MAYMOVE); in realloc()
|
/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 | 1300 long oldline, oldlen, newline, newlen; member
|