Lines Matching defs:it
109 for (StrImageConfigMap::iterator it = config_.images_map.begin();
110 it != config_.images_map.end();
111 ++it) {
113 it->first.c_str(),
114 it->second.filename.c_str(),
115 it->second.offset,
116 it->second.data.tag,
117 it->second.data.format);
120 for (StrScreenConfigMap::iterator it = config_.screens_map.begin();
121 it != config_.screens_map.end();
122 ++it) {
123 printf(" \"%s\":\n", it->first.c_str());
127 it->second.image_names[k].c_str(),
128 it->second.data.images[k].x,
129 it->second.data.images[k].y,
130 it->second.data.images[k].image_info_offset);
390 StrImageConfigMap::iterator it =
395 it->second.filename.c_str());
397 const string &content = read_image_file(it->second.filename.c_str());
398 it->second.raw_content = content;
399 it->second.data.original_size = content.size();
400 it->second.data.format =
402 (uint32_t)content.size(), &it->second.data);
403 if (FORMAT_INVALID == it->second.data.format) {
404 error("Unsupported image format in %s\n", it->second.filename.c_str());
408 it->second.data.compression = compression_;
409 it->second.compressed_content = content;
410 it->second.data.compressed_size = content.size();
422 it->second.data.compression = compression_;
423 it->second.compressed_content.assign((const char *)tmpbuf, tmpsize);
424 it->second.data.compressed_size = tmpsize;
452 it->second.data.compression = compression_;
453 it->second.compressed_content.assign((const char *)tmpbuf,
455 it->second.data.compressed_size = tmpsize - stream.avail_out;
518 for (StrImageConfigMap::iterator it = config_.images_map.begin();
519 it != config_.images_map.end();
520 ++it) {
521 it->second.offset = current_offset;
524 it->first.c_str(),
525 it->second.filename.c_str(),
526 it->second.offset,
527 it->second.data.tag,
528 it->second.data.format);
530 it->second.data.compressed_size;
531 /* Make it 4-byte aligned. */
583 for (StrImageConfigMap::iterator it = config_.images_map.begin();
584 it != config_.images_map.end();
585 ++it) {
586 current_filled = bmpblock_.begin() + it->second.offset;
587 current_offset = it->second.offset;
590 std::copy(reinterpret_cast<char*>(&it->second.data),
591 reinterpret_cast<char*>(&it->second.data + 1),
593 current_filled += sizeof(it->second.data);
594 current_offset += sizeof(it->second.data);
597 current_offset, it->second.compressed_content.length());
598 std::copy(it->second.compressed_content.begin(),
599 it->second.compressed_content.end(),