Lines Matching defs:string
31 #include <string.h>
232 char string[] = "While this string has thirty-four";
266 disk_cache_compute_key(cache, string, sizeof(string), string_key);
267 disk_cache_put(cache, string_key, string, sizeof(string), NULL);
273 EXPECT_STREQ(result, string) << "2nd disk_cache_get of existing item (pointer)";
274 EXPECT_EQ(size, sizeof(string)) << "2nd disk_cache_get of existing item (size)";
351 disk_cache_put(cache, string_key, string, sizeof(string), NULL);
469 char string[] = "While this string has thirty-four";
507 disk_cache_compute_key(cache2, string, sizeof(string), string_key);
508 disk_cache_put(cache2, string_key, string, sizeof(string), NULL);
514 EXPECT_STREQ(result, string) << "2nd disk_cache_get(cache1) of existing item (pointer)";
515 EXPECT_EQ(size, sizeof(string)) << "2nd disk_cache_get(cache1) of existing item (size)";