Home | History | Annotate | Download | only in aapt

Lines Matching full:unknowns

1146     png_unknown_chunk unknowns[3];
1147 unknowns[0].data = NULL;
1148 unknowns[1].data = NULL;
1149 unknowns[2].data = NULL;
1248 strcpy((char*)unknowns[p_index].name, "npTc");
1249 unknowns[p_index].data = (png_byte*)imageInfo.serialize9patch();
1250 unknowns[p_index].size = imageInfo.info9Patch.serializedSize();
1252 checkNinePatchSerialization(&imageInfo.info9Patch, unknowns[p_index].data);
1256 strcpy((char*)unknowns[o_index].name, "npOl");
1257 unknowns[o_index].data = (png_byte*) calloc(chunk_size, 1);
1262 memcpy(unknowns[o_index].data, &outputData, chunk_size);
1263 unknowns[o_index].size = chunk_size;
1268 strcpy((char*)unknowns[b_index].name, "npLb");
1269 unknowns[b_index].data = (png_byte*) calloc(chunk_size, 1);
1270 memcpy(unknowns[b_index].data, &imageInfo.layoutBoundsLeft, chunk_size);
1271 unknowns[b_index].size = chunk_size;
1275 unknowns[i].location = PNG_HAVE_IHDR;
1279 png_set_unknown_chunks(write_ptr, write_info, unknowns, chunk_count);
1307 free(unknowns[0].data);
1308 free(unknowns[1].data);
1309 free(unknowns[2].data);