Lines Matching refs:array
46 static void set(char* array[256], int index, SkStream& s, int data)
52 if (array[index] == NULL)
53 array[index] = (char*)sk_malloc_throw(size + 1);
56 if (strlen(array[index]) < size)
57 array[index] = (char*)sk_realloc_throw(array[index], size + 1);
60 s.read(array[index], size);
61 array[index][size] = 0;
64 static void freeAll(char* array[256])
67 sk_free(array[i]);