Home
last modified time | relevance | path

Searched refs:tocopy (Results 1 – 9 of 9) sorted by relevance

/external/curl/tests/libtest/
Dlib1517.c36 size_t tocopy = size * nmemb; in read_callback() local
42 if(tocopy < 1 || !pooh->sizeleft) in read_callback()
45 if(pooh->sizeleft < tocopy) in read_callback()
46 tocopy = pooh->sizeleft; in read_callback()
48 memcpy(ptr, pooh->readptr, tocopy);/* copy requested data */ in read_callback()
49 pooh->readptr += tocopy; /* advance pointer */ in read_callback()
50 pooh->sizeleft -= tocopy; /* less data left */ in read_callback()
51 return tocopy; in read_callback()
/external/libcap/libcap/
Dcap_file.c64 unsigned tocopy, i; in _fcaps_load() local
69 tocopy = VFS_CAP_U32_1; in _fcaps_load()
74 tocopy = VFS_CAP_U32_2; in _fcaps_load()
79 tocopy = VFS_CAP_U32_3; in _fcaps_load()
99 for (i=0; i < tocopy; i++) { in _fcaps_load()
124 unsigned tocopy, i; in _fcaps_save() local
134 tocopy = VFS_CAP_U32_1; in _fcaps_save()
141 tocopy = VFS_CAP_U32_2; in _fcaps_save()
157 tocopy = VFS_CAP_U32_3; in _fcaps_save()
164 for (eff_not_zero = 0, i = 0; i < tocopy; i++) { in _fcaps_save()
[all …]
/external/skqp/src/pdf/
DSkDeflate.cpp106 size_t tocopy = in write() local
108 memcpy(fImpl->fInBuffer + fImpl->fInBufferIndex, buffer, tocopy); in write()
109 len -= tocopy; in write()
110 buffer += tocopy; in write()
111 fImpl->fInBufferIndex += tocopy; in write()
/external/skia/src/pdf/
DSkDeflate.cpp107 size_t tocopy = in write() local
109 memcpy(fImpl->fInBuffer + fImpl->fInBufferIndex, buffer, tocopy); in write()
110 len -= tocopy; in write()
111 buffer += tocopy; in write()
112 fImpl->fInBufferIndex += tocopy; in write()
/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c51 static int tocopy = 0; // # of blocks left to copy variable
235 --tocopy; in wr_done()
263 --tocopy; in rd_done()
491 tocopy = howmany(length, aio_blksize); in main()
498 while (tocopy > 0) { in main()
551 busy, aio_maxio, tocopy); in main()
/external/e2fsprogs/lib/ext2fs/
Dextent.c908 int tocopy; in extent_node_split() local
999 tocopy = ext2fs_le16_to_cpu(eh->eh_entries); in extent_node_split()
1007 tocopy = 1; in extent_node_split()
1009 tocopy = ext2fs_le16_to_cpu(eh->eh_entries) / 2; in extent_node_split()
1014 tocopy, ext2fs_le16_to_cpu(eh->eh_entries), in extent_node_split()
1018 if (!tocopy && !no_balance) { in extent_node_split()
1050 neweh->eh_entries = ext2fs_cpu_to_le16(tocopy); in extent_node_split()
1058 (ext2fs_le16_to_cpu(eh->eh_entries) - tocopy), in extent_node_split()
1059 sizeof(struct ext3_extent_idx) * tocopy); in extent_node_split()
1090 path->entries -= tocopy; in extent_node_split()
[all …]
/external/libchrome/base/
Dtuple_unittest.cc70 CopyLogger(const CopyLogger& tocopy) { ++TimesConstructed; ++TimesCopied; } in CopyLogger()
/external/usrsctp/usrsctplib/netinet/
Dsctp_bsd_addr.c964 int tocopy, this_copy; local
968 tocopy = length;
/external/python/cpython2/Mac/Modules/file/
D_Filemodule.c128 int tocopy; in _PyMac_GetFullPathname() local
145 tocopy = fss->name[0]; in _PyMac_GetFullPathname()
146 if ((strlen(path) + tocopy) >= len) in _PyMac_GetFullPathname()
147 tocopy = len - strlen(path) - 1; in _PyMac_GetFullPathname()
148 if (tocopy > 0) in _PyMac_GetFullPathname()
149 strncat(path, (char*)fss->name+1, tocopy); in _PyMac_GetFullPathname()