Searched refs:my_string (Results 1 – 2 of 2) sorted by relevance
| /xnu-11215/doc/primitives/ |
| H A D | string-handling.md | 137 char *__null_terminated my_string = __unsafe_forge_null_terminated( 140 __unsafe_forge_bidi_indexable(void *, my_string, my_string_size), 143 my_string_consuming_func(my_string); 147 while it's still being modified. Keeping my_string a `__null_terminated` pointer
|
| /xnu-11215/osfmk/tests/ |
| H A D | kernel_tests.c | 2161 char my_string[OBJ_BUFF_SIZE]; in thread_use_cache() local 2162 int my_string_size = snprintf(my_string, OBJ_BUFF_SIZE, "I am %d", my_obj); in thread_use_cache() 2178 …T_ASSERT(memcmp(buff, my_string, my_string_size) == 0, "reflock: thread %p obj_id %d value in buff… in thread_use_cache() 2180 …T_ASSERT(memcmp(buff, my_string, my_string_size) == 0, "reflock: thread %p obj_id %d value in buff… in thread_use_cache()
|