Lines Matching refs:values

69     struct propval *values;
141 ctx->values = (struct propval *)ctx->mem_base->data;
213 /* Now dup the values */
215 retval->values[i].name = src_ctx->values[i].name;
216 result = prop_setvals(retval, retval->values[i].name,
217 src_ctx->values[i].values);
267 * NOTE: may clear values from context as side-effect
313 ctx->values = NULL;
319 ctx->values = (struct propval *)ctx->mem_base->data;
326 memset(&(ctx->values[ctx->used_values]), 0,
330 /* ctx->list_end = (char **)(ctx->values + ctx->allocated_values); */
332 ctx->list_end = (char **)(ctx->values + total_values);
343 if(!strcmp(ctx->values[j].name, names[i])) {
352 ctx->values[ctx->used_values++].name = names[i];
368 return ctx->values;
375 * returns number of matching properties which were found (values != NULL)
391 for(val = ctx->values; val->name; val++) {
410 /* clear values and optionally requests from property context
434 new_values[i].name = ctx->values[i].name;
453 /* Setup pointers for the values array */
454 ctx->values = (struct propval *)new_pool->data;
478 for(val = ctx->values; val->name; val++) {
480 if(!val->values) break;
487 for(i=0;val->values[i];i++) {
488 memset((void *)(val->values[i]),0,strlen(val->values[i]));
489 val->values[i] = NULL;
492 val->values = NULL;
525 for(val = ctx->values; val->name; val++) {
537 for(val = ctx->values; val->name; val++) {
554 * if NULL, remove existing values
570 for(val = ctx->values; val->name; val++) {
589 if(cur->values) {
596 old_values = cur->values;
597 tmp = (char **)cur->values;
628 cur->values = (const char **)ctx->list_end;
629 cur->values[nvalues - 1] = NULL;
632 ctx->list_end = (char **)(cur->values + nvalues);
638 tmp2 = (char **)cur->values;
679 cur->values[nvalues - 2] = ctx->data_end;
694 (void *)cur->values > (void *)(ctx->mem_cur->data) &&
695 (void *)cur->values < (void *)(ctx->mem_cur->data + ctx->mem_cur->size)) {
751 /* set the values for a property
755 * values -- array of values, ending in NULL. Each value is a NUL terminated
759 const char **values)
761 const char **val = values;
766 /* If they want us to add no values, we can do that */
767 if(!values) return SASL_OK;
820 * if authentication hasn't completed, property values may be empty/NULL