HomeSort by relevance Sort by last modified time
    Searched refs:cell_in (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/native_client_sdk/src/examples/demo/life/
life.c 39 uint8_t* cell_in; member in struct:__anon12930
89 free(g_Context.cell_in);
93 g_Context.cell_in = (uint8_t*) malloc(size);
98 g_Context.cell_in[index] = rand() & 1;
116 if (!g_Context.cell_in) return;
119 g_Context.cell_in[x - 1 + y * width] = 1;
120 g_Context.cell_in[x + 1 + y * width] = 1;
121 g_Context.cell_in[x + (y - 1) * width] = 1;
122 g_Context.cell_in[x + (y + 1) * width] = 1;
203 if (g_Context.cell_in == NULL || g_Context.cell_out == NULL
    [all...]
  /external/chromium_org/native_client_sdk/src/gonacl_appengine/src/life/
life.c 42 uint8_t* cell_in; member in struct:__anon12939
96 free(g_Context.cell_in);
100 g_Context.cell_in = (uint8_t*) malloc(size);
105 g_Context.cell_in[index] = rand() & 1;
123 if (!g_Context.cell_in) return;
126 g_Context.cell_in[x - 1 + y * width] = 1;
127 g_Context.cell_in[x + 1 + y * width] = 1;
128 g_Context.cell_in[x + (y - 1) * width] = 1;
129 g_Context.cell_in[x + (y + 1) * width] = 1;
203 if (g_Context.cell_in == NULL || g_Context.cell_out == NULL
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/demo/life_simd/
life.c 39 uint8_t* cell_in; member in struct:__anon12931
104 free(g_Context.cell_in);
113 g_Context.cell_in = (uint8_t*) in_buffer;
118 g_Context.cell_in[index] = rand() & 1;
138 if (!g_Context.cell_in) return;
141 g_Context.cell_in[x - 1 + y * stride] = 1;
142 g_Context.cell_in[x + 1 + y * stride] = 1;
143 g_Context.cell_in[x + (y - 1) * stride] = 1;
144 g_Context.cell_in[x + (y + 1) * stride] = 1;
228 if (g_Context.cell_in == NULL || g_Context.cell_out == NULL
    [all...]

Completed in 257 milliseconds