HomeSort by relevance Sort by last modified time
    Searched refs:siz (Results 26 - 50 of 66) sorted by null

12 3

  /external/llvm/tools/llvm-c-test/
disassemble.c 36 static void do_disassemble(const char *triple, unsigned char *buf, int siz) {
47 while (pos < siz) {
48 size_t l = LLVMDisasmInstruction(D, buf + pos, siz - pos, 0, outline,
  /external/chromium_org/third_party/hwcplus/src/
hwcplus_util.c 24 size_t strlcpy(char* dst, const char* src, size_t siz) {
27 size_t n = siz;
39 if (siz != 0)
  /external/svox/pico/lib/
picopal.c 107 picopal_int32 picopal_strncmp(const picopal_char *a, const picopal_char *b, picopal_objsize_t siz) {
108 return (picopal_int32)strncmp((const char *)a, (const char *)b, (size_t) siz);
132 /* copy src into dst, but make sure that dst is not accessed beyond its size 'siz' and is allways NULLC-terminated.
133 * 'siz' is the number of bytes of the destination, including one byte for NULLC!
135 * the copy is successfull without truncation if picopal_strlcpy(dst,src,siz) < siz */
136 picopal_objsize_t picopal_strlcpy(picopal_char *dst, const picopal_char *src, picopal_objsize_t siz)
140 picopal_objsize_t n = siz;
153 if (siz != 0) {
176 picopal_objsize_t picopal_vslprintf(picopal_char * dst, picopal_objsize_t siz, const picopal_char *fmt, va_list args)
    [all...]
picopal.h 128 picopal_int32 picopal_strncmp(const picopal_char *a, const picopal_char *b, picopal_objsize_t siz);
143 picopal_objsize_t picopal_vslprintf(picopal_char * dst, picopal_objsize_t siz, const picopal_char *fmt, va_list args);
144 picopal_objsize_t picopal_slprintf(picopal_char * dst, picopal_objsize_t siz, const picopal_char *fmt, /*args*/ ...);
145 picopal_objsize_t picopal_strlcpy(picopal_char *dst, const picopal_char *src, picopal_objsize_t siz);
picoos.c 124 picoos_int8 picoos_strncmp(const picoos_char *a, const picoos_char *b, picoos_objsize_t siz)
127 (const picopal_char *)b, siz);
171 picoos_objsize_t picoos_strlcpy(picoos_char *dst, const picoos_char *src, picoos_objsize_t siz)
173 return (picoos_objsize_t) picopal_strlcpy((picopal_char *) dst, (const picopal_char *) src, (picopal_objsize_t) siz);
658 static void picoos_vSetErrorMsg(picoos_char * dst, picoos_objsize_t siz,
795 bsize = picoos_strlcpy(dst,base,siz);
796 if ((NULL != fmt) && (bsize < siz)) { /* there is something to add and more space to add it */
799 siz -= bsize;
800 bsize = picoos_strlcpy(dst,(picoos_char *)": ",siz);
802 if (bsize < siz) {
    [all...]
picoos.h 80 picoos_int8 picoos_strncmp(const picoos_char *a, const picoos_char *b, picoos_objsize_t siz);
92 picoos_objsize_t picoos_strlcpy(picoos_char *dst, const picoos_char *src, picoos_objsize_t siz);
217 void picoos_setErrorMsg(picoos_char * dst, picoos_objsize_t siz,
  /external/llvm/lib/Support/
regex_impl.h 102 size_t llvm_strlcpy(char *dst, const char *src, size_t siz);
  /external/wpa_supplicant_8/src/crypto/
random.c 171 size_t siz, i; local
176 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left;
177 for (i = 0; i < siz; i++)
179 left -= siz;
186 size_t siz, i; local
195 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left;
196 for (i = 0; i < siz; i++)
198 left -= siz;
  /ndk/sources/android/support/src/
wchar_support.c 72 size_t wcslcat(wchar_t *dst, const wchar_t *src, size_t siz) {
74 if (siz == 0)
79 while (n < siz && dst[n] != L'\0')
82 if (n == siz)
85 // Copy as much source characters as they fit into siz-1 bytes.
87 for (i = 0; n+i+1 < siz && src[i] != L'\0'; ++i)
100 size_t wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz) {
103 // Copy all non-zero bytes that fit into siz-1 destination bytes
104 for (i = 0; i + 1 < siz && src[i] != L'\0'; ++i)
  /external/compiler-rt/lib/tsan/tests/unit/
tsan_sync_test.cc 26 EXPECT_EQ(mb->siz, 1 * sizeof(u64));
41 EXPECT_EQ(mb1->siz, 1 * sizeof(u64));
43 EXPECT_EQ(mb2->siz, 3 * sizeof(u64));
92 EXPECT_EQ(mb1->siz, 3 * sizeof(u64));
95 EXPECT_EQ(mb2->siz, 1 * sizeof(u64));
  /external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
sctp_sha1.c 48 sctp_sha1_update(struct sctp_sha1_context *ctx, const unsigned char *ptr, unsigned int siz)
50 PK11_DigestOp(ctx->pk11_ctx, ptr, siz);
71 sctp_sha1_update(struct sctp_sha1_context *ctx, const unsigned char *ptr, unsigned int siz)
73 SHA1_Update(&ctx->sha_ctx, ptr, (unsigned long)siz);
196 sctp_sha1_update(struct sctp_sha1_context *ctx, const unsigned char *ptr, unsigned int siz)
200 number_left = siz;
sctp_bsd_addr.c 866 int siz; local
868 siz = SCTP_BUF_EXTEND_SIZE(m);
871 siz = MHLEN;
873 siz = MLEN;
875 if (siz < space_needed) {
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
dumbdbm.py 51 # "%r, (%d, %d)\n" % (key, pos, siz)
53 # file of the associated value's first byte, and siz is the number
65 self._index = None # maps keys to (pos, siz) pairs
119 pos, siz = self._index[key] # may raise KeyError
122 dat = f.read(siz)
153 # at offset pos and with length siz. Add an index record to
170 pos, siz = self._index[key]
171 oldblocks = (siz + _BLOCKSIZE - 1) // _BLOCKSIZE
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
dumbdbm.py 51 # "%r, (%d, %d)\n" % (key, pos, siz)
53 # file of the associated value's first byte, and siz is the number
65 self._index = None # maps keys to (pos, siz) pairs
119 pos, siz = self._index[key] # may raise KeyError
122 dat = f.read(siz)
153 # at offset pos and with length siz. Add an index record to
170 pos, siz = self._index[key]
171 oldblocks = (siz + _BLOCKSIZE - 1) // _BLOCKSIZE
  /external/tcpdump/
print-icmp6.c 1002 size_t siz, i; local
1009 siz = ep - bp;
1013 if (siz == sizeof(*dp) + 4) {
1058 if (siz != sizeof(*ni6))
1068 if (siz == sizeof(*ni6)) {
1080 if (siz != sizeof(*ni6) + sizeof(struct in6_addr)) {
1108 if (siz != sizeof(*ni6) + sizeof(struct in_addr)) {
1126 if (icmp6len > siz) {
1146 if (siz != sizeof(*ni6))
1153 if (siz != sizeof(*ni6)
    [all...]
  /bionic/libc/dns/nameser/
ns_print.c 591 size_t siz; local
601 siz = (edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */
602 if (siz > sizeof(base64_cert) * 3/4) {
608 base64_cert, siz);
889 unsigned int siz; local
893 siz = (int)(edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */
894 if (siz > sizeof(base64_dhcid) * 3/4) {
899 base64_dhcid, siz);
926 unsigned int siz; local
986 siz = (int)(edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 *
1020 unsigned int siz; local
    [all...]
  /external/wpa_supplicant_8/src/utils/
os_win32.c 224 size_t os_strlcpy(char *dest, const char *src, size_t siz)
227 size_t left = siz;
239 if (siz != 0)
os_internal.c 441 size_t os_strlcpy(char *dest, const char *src, size_t siz)
444 size_t left = siz;
456 if (siz != 0)
os_unix.c 429 size_t os_strlcpy(char *dest, const char *src, size_t siz)
432 size_t left = siz;
444 if (siz != 0)
  /external/compiler-rt/lib/tsan/rtl/
tsan_defs.h 181 u64 siz; member in struct:__tsan::MBlock
tsan_sync.cc 61 b->siz = sz;
73 uptr sz = RoundUpTo(b->siz, kMetaShadowCell);
tsan_mman.cc 143 return b ? b->siz : 0;
  /external/wpa_supplicant_8/wpa_supplicant/
bss.c 664 unsigned int siz; local
666 siz = 32;
668 siz = wpa_s->last_scan_res_size * 2;
669 n = os_realloc_array(wpa_s->last_scan_res, siz,
674 wpa_s->last_scan_res_size = siz;
  /external/llvm/bindings/python/llvm/
object.py 217 siz = self.size
221 return string_at(r, siz)
  /bionic/libc/dns/resolv/
res_query.c 423 res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) {

Completed in 2600 milliseconds

12 3