Lines Matching defs:base

38 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
49 isc_buffer_t *target, const char base[], char pad)
59 buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */
61 buf[1] = base[(source->base[0]<<2)&0x1c];
67 buf[1] = base[((source->base[0]<<2)&0x1c)| /* 3 = 8 */
68 ((source->base[1]>>6)&0x03)]; /* 2 + */
69 buf[2] = base[((source->base[1]>>1)&0x1f)]; /* 5 + */
71 buf[3] = base[(source->base[1]<<4)&0x10];
76 buf[3] = base[((source->base[1]<<4)&0x10)| /* 1 = 8 */
77 ((source->base[2]>>4)&0x0f)]; /* 4 + */
79 buf[4] = base[(source->base[2]<<1)&0x1e];
84 buf[4] = base[((source->base[2]<<1)&0x1e)| /* 4 = 8 */
85 ((source->base[3]>>7)&0x01)]; /* 1 + */
86 buf[5] = base[((source->base[3]>>2)&0x1f)]; /* 5 + */
88 buf[6] = base[(source->base[3]<<3)&0x18];
93 buf[6] = base[((source->base[3]<<3)&0x18)| /* 2 = 8 */
94 ((source->base[4]>>5)&0x07)]; /* 3 + */
95 buf[7] = base[source->base[4]&0x1f]; /* 5 = 8 */
145 const char *base; /*%< Which encoding we are using */
151 base32_decode_init(base32_decode_ctx_t *ctx, int length, const char base[],
159 ctx->base = base;
170 if ((s = strchr(ctx->base, c)) == NULL)
172 last = (unsigned int)(s - ctx->base);
278 base32_tobuffer(isc_lex_t *lexer, const char base[], isc_boolean_t pad,
286 base32_decode_init(&ctx, length, base, pad, target);
301 RETERR(base32_decode_char(&ctx, tr->base[i]));
325 base32_decodestring(const char *cstr, const char base[], isc_boolean_t pad,
330 base32_decode_init(&ctx, -1, base, pad, target);
359 base32_decoderegion(isc_region_t *source, const char base[],
364 base32_decode_init(&ctx, -1, base, pad, target);
366 int c = *source->base;
400 memmove(region.base, source, l);
406 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) {
412 memmove(tr.base, base, length);