Searched refs:heap_string (Results 1 – 2 of 2) sorted by relevance
76 linked_ptr<std::string> heap_string(new std::string(contents)); in AddFontTable() local77 font_tables_[table] = heap_string; in AddFontTable()78 return heap_string.get(); in AddFontTable()
51 char *heap_string = Ident((char*)malloc(length + 1)); in TEST() local55 heap_string[i] = 'a'; in TEST()58 heap_string[length] = 0; in TEST()60 StrLenOOBTestTemplate(heap_string, length, false); in TEST()65 free(heap_string); in TEST()73 wchar_t *heap_string = Ident((wchar_t*)malloc(hello_size)); in TEST() local74 memcpy(heap_string, L"Hello, World!", hello_size); in TEST()75 EXPECT_EQ(hello_len, Ident(wcslen(heap_string))); in TEST()76 EXPECT_DEATH(Ident(wcslen(heap_string + 14)), RightOOBReadMessage(0)); in TEST()77 free(heap_string); in TEST()