Lines Matching +refs:val +refs:count
186 const struct ldb_val *val;
188 val = ldb_dn_get_component_val(dn, i - 1);
189 if (!val) return NULL;
194 path = talloc_strndup_append_buffer(path, (char *)val->data,
195 val->length);
197 path = talloc_strndup(mem_ctx, (char *)val->data, val->length);
248 switch (res->count) {
314 if (res->count == 0) {
320 keys = talloc_array(mem_ctx, char *, res->count);
326 for (unsigned i = 0; i < res->count; i++) {
335 DEBUG(SSSDBG_TRACE_LIBS, "Returning %d secrets\n", res->count);
336 *num_keys = res->count;
381 if (ret != LDB_SUCCESS || res->count != 1) {
486 if (res->count >= lc_req->quota->max_uid_secrets) {
533 if (res->count >= lc_req->quota->max_secrets) {
712 if (res->count == 1) {
723 if (res->count > 0) {