Home
last modified time | relevance | path

Searched refs:memmem (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/netbsd-tests/lib/libc/string/
H A Dt_memmem.c81 expect(memmem(b2, lb2, p0, lp0) == NULL); in ATF_TC_BODY()
82 expect(memmem(b0, lb0, p0, lp0) == NULL); in ATF_TC_BODY()
84 expect(memmem(b2, lb2, p0, lp0) == b2); in ATF_TC_BODY()
85 expect(memmem(b0, lb0, p0, lp0) == b0); in ATF_TC_BODY()
87 expect(memmem(b0, lb0, p1, lp1) == NULL); in ATF_TC_BODY()
88 expect(memmem(b1, lb1, p1, lp1) == NULL); in ATF_TC_BODY()
90 expect(memmem(b2, lb2, p1, lp1) == b2); in ATF_TC_BODY()
91 expect(memmem(b2, lb2, p2, lp2) == (b2 + 4)); in ATF_TC_BODY()
92 expect(memmem(b2, lb2, p3, lp3) == (b2 + 7)); in ATF_TC_BODY()
94 expect(memmem(b2, lb2, p5, lp5) == b2); in ATF_TC_BODY()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerInterceptors.cpp149 DEFINE_REAL(void *, memmem, const void *, size_t, const void *, size_t) in DEFINE_REAL()
213 void *memmem(const void *s1, size_t len1, const void *s2, size_t len2) { in memmem() function
215 void *result = REAL(memmem)(s1, len1, s2, len2); in memmem()
247 REAL(memmem) = reinterpret_cast<memmem_type>( in fuzzerInit()
248 getFuncAddr("memmem", reinterpret_cast<uintptr_t>(&memmem))); in fuzzerInit()
H A DFuzzerUtilPosix.cpp175 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
H A DFuzzerUtilFuchsia.cpp589 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
H A DFuzzerFlags.def107 "Use hints from intercepting memmem, strstr, etc")
/freebsd/stand/libsa/zfs/spl/sys/
H A Dzfs_context.h31 void *memmem(const void *big, size_t big_len, const void *little,
/freebsd/sys/libkern/
H A Dmemmem.c34 memmem(const void *l, size_t l_len, const void *s, size_t s_len) in memmem() function
/freebsd/crypto/openssh/openbsd-compat/
H A Dmemmem.c174 memmem(const void *h0, size_t k, const void *n0, size_t l) in memmem() function
195 DEF_WEAK(memmem);
H A DMakefile.in42 memmem.o \
H A Dopenbsd-compat.h98 void *memmem(const void *, size_t, const void *, size_t);
/freebsd/lib/libc/string/
H A DMakefile.inc13 memcpy.c memmem.c memmove.c mempcpy.c memset.c memset_s.c \
49 memcmp.3 memcpy.3 memmem.3 memmove.3 memset.3 strcasecmp.3 strcat.3 \
H A DSymbol.map15 memmem;
H A Dmemmem.c184 memmem(const void *h0, size_t k, const void *n0, size_t l) in memmem() function
/freebsd/include/
H A Dstring.h67 void *memmem(const void *, size_t, const void *, size_t) __pure;
/freebsd/stand/userboot/userboot/
H A Dmain.c126 if ((guest_interp = memmem(buf, rdsize, INTERP_MARKER, in check_interpreter()
/freebsd/sys/gdb/
H A Dgdb_packet.c431 *found = memmem(addr, size, pat, patlen); in gdb_search_mem()
/freebsd/crypto/openssh/
H A Dsshbuf-misc.c266 if ((p = memmem(sshbuf_ptr(b) + start_offset, in sshbuf_find()
H A Dmisc.c3066 if (memmem(m, sz, s, strlen(s)) == NULL) { in lib_contains_symbol()
/freebsd/sys/sys/
H A Dlibkern.h243 void *memmem(const void *l, size_t l_len, const void *s, size_t s_len);
/freebsd/contrib/file/
H A Dconfigure.ac204 …temp mkostemp utimes utime wcwidth strtof newlocale uselocale freelocale memmem pipe2 posix_spawnp)
H A Dconfig.h.in128 /* Define to 1 if you have the 'memmem' function. */
H A DChangeLog371 2. Using memmem(3) where available
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flags.inc235 "If set, uses a wrapper for memmem() to find more errors.")
/freebsd/lib/libnv/tests/
H A Dnv_tests.cc647 keypos = memmem(packed, size, key1, keylen); in ATF_TEST_CASE_BODY()
/freebsd/contrib/file/src/
H A Dsoftmagic.c2270 found = CAST(const char *, memmem(ms->search.s, idx, in magiccheck()

12