Lines Matching defs:maplen
116 size_t maplen);
169 unsigned long *map, size_t maplen)
176 TRACE(("idn_ucsmap_add(ucs=U+%lX, maplen=%u)\n", ucs, maplen));
184 if (maplen > MAX_MAPLEN) {
185 WARNING(("idn_ucsmap_add: maplen too large (> %d)\n",
203 e->len = maplen;
205 if (maplen > 0) {
207 e->map = save_mapped_sequence(ctx, map, maplen);
212 * Zero 'maplen' is perfectly valid meaning one-to-zero
326 save_mapped_sequence(idn_ucsmap_t ctx, unsigned long *map, size_t maplen) {
336 if (ctx->mapdata_used + maplen > ctx->mapdata_size) {
337 if (maplen > DEFAULT_BUF_SIZE)
338 allocsize = maplen * 2;
351 memcpy(p, map, sizeof(unsigned long) * maplen);
352 ctx->mapdata_used += maplen;