Lines Matching defs:base

46 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length);
57 isc_buffer_t *target, const char base[])
67 buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */
69 buf[1] = base[(source->base[0]<<2)&0x1c];
75 buf[1] = base[((source->base[0]<<2)&0x1c)| /* 3 = 8 */
76 ((source->base[1]>>6)&0x03)]; /* 2 + */
77 buf[2] = base[((source->base[1]>>1)&0x1f)]; /* 5 + */
79 buf[3] = base[(source->base[1]<<4)&0x10];
84 buf[3] = base[((source->base[1]<<4)&0x10)| /* 1 = 8 */
85 ((source->base[2]>>4)&0x0f)]; /* 4 + */
87 buf[4] = base[(source->base[2]<<1)&0x1e];
92 buf[4] = base[((source->base[2]<<1)&0x1e)| /* 4 = 8 */
93 ((source->base[3]>>7)&0x01)]; /* 1 + */
94 buf[5] = base[((source->base[3]>>2)&0x1f)]; /* 5 + */
96 buf[6] = base[(source->base[3]<<3)&0x18];
101 buf[6] = base[((source->base[3]<<3)&0x18)| /* 2 = 8 */
102 ((source->base[4]>>5)&0x07)]; /* 3 + */
103 buf[7] = base[source->base[4]&0x1f]; /* 5 = 8 */
144 const char *base; /*%< Which encoding we are using */
150 const char base[], isc_buffer_t *target)
157 ctx->base = base;
167 if ((s = strchr(ctx->base, c)) == NULL)
169 last = s - ctx->base;
255 base32_tobuffer(isc_lex_t *lexer, const char base[], isc_buffer_t *target,
263 base32_decode_init(&ctx, length, base, target);
278 RETERR(base32_decode_char(&ctx, tr->base[i]));
297 base32_decodestring(const char *cstr, const char base[], isc_buffer_t *target) {
300 base32_decode_init(&ctx, -1, base, target);
324 base32_decoderegion(isc_region_t *source, const char base[], isc_buffer_t *target) {
327 base32_decode_init(&ctx, -1, base, target);
329 int c = *source->base;
358 memmove(region.base, source, l);
364 mem_tobuffer(isc_buffer_t *target, void *base, unsigned int length) {
370 memmove(tr.base, base, length);