Home
last modified time | relevance | path

Searched refs:scratchbuf_str (Results 1 – 3 of 3) sorted by relevance

/external/kmod/testsuite/
Dtest-scratchbuf.c43 memcpy(scratchbuf_str(&sbuf), smallstr, strlen(smallstr) + 1); in test_scratchbuf_onlystack()
44 assert_return(strcmp(scratchbuf_str(&sbuf), smallstr) == 0, EXIT_FAILURE); in test_scratchbuf_onlystack()
65 memcpy(scratchbuf_str(&sbuf), smallstr, strlen(smallstr) + 1); in test_scratchbuf_heap()
71 assert_return(strcmp(scratchbuf_str(&sbuf), smallstr) == 0, EXIT_FAILURE); in test_scratchbuf_heap()
72 memcpy(scratchbuf_str(&sbuf), largestr, strlen(largestr) + 1); in test_scratchbuf_heap()
73 assert_return(strcmp(scratchbuf_str(&sbuf), largestr) == 0, EXIT_FAILURE); in test_scratchbuf_heap()
79 memcpy(scratchbuf_str(&sbuf), largestr2, strlen(largestr2) + 1); in test_scratchbuf_heap()
80 assert_return(strcmp(scratchbuf_str(&sbuf), largestr2) == 0, EXIT_FAILURE); in test_scratchbuf_heap()
/external/kmod/shared/
Dscratchbuf.h22 static inline char *scratchbuf_str(struct scratchbuf *buf) in scratchbuf_str() function
/external/kmod/tools/
Ddepmod.c2095 memcpy(scratchbuf_str(&salias) + baselen, sym->name, len + 1); in output_symbols_bin()