Searched refs:slice_with_null_term (Results 1 – 1 of 1) sorted by relevance
39 grpc_slice slice_with_null_term; in test_load_empty_file() local54 error = grpc_load_file(tmp_name, 1, &slice_with_null_term); in test_load_empty_file()56 GPR_ASSERT(GRPC_SLICE_LENGTH(slice_with_null_term) == 1); in test_load_empty_file()57 GPR_ASSERT(GRPC_SLICE_START_PTR(slice_with_null_term)[0] == 0); in test_load_empty_file()62 grpc_slice_unref(slice_with_null_term); in test_load_empty_file()90 grpc_slice slice_with_null_term; in test_load_small_file() local108 error = grpc_load_file(tmp_name, 1, &slice_with_null_term); in test_load_small_file()110 GPR_ASSERT(GRPC_SLICE_LENGTH(slice_with_null_term) == (strlen(blah) + 1)); in test_load_small_file()111 GPR_ASSERT(strcmp((const char*)GRPC_SLICE_START_PTR(slice_with_null_term), in test_load_small_file()117 grpc_slice_unref(slice_with_null_term); in test_load_small_file()