Lines Matching refs:pe

166 		struct prop_enumerator *pe = (struct prop_enumerator *)h;  in propget_get_property()  local
167 uint32_t idx = pe->idx; in propget_get_property()
172 res = propset_get(pe->prop_set, &eps, &eps_len); in propget_get_property()
180 res = _utee_get_property((unsigned long)pe->prop_set, idx, in propget_get_property()
423 struct prop_enumerator *pe; in TEE_AllocatePropertyEnumerator() local
427 pe = TEE_Malloc(sizeof(struct prop_enumerator), in TEE_AllocatePropertyEnumerator()
429 if (pe == NULL) { in TEE_AllocatePropertyEnumerator()
434 *enumerator = (TEE_PropSetHandle) pe; in TEE_AllocatePropertyEnumerator()
449 struct prop_enumerator *pe = (struct prop_enumerator *)enumerator; in TEE_ResetPropertyEnumerator() local
451 pe->idx = PROP_ENUMERATOR_NOT_STARTED; in TEE_ResetPropertyEnumerator()
456 struct prop_enumerator *pe = (struct prop_enumerator *)enumerator; in TEE_FreePropertyEnumerator() local
458 TEE_Free(pe); in TEE_FreePropertyEnumerator()
464 struct prop_enumerator *pe = (struct prop_enumerator *)enumerator; in TEE_StartPropertyEnumerator() local
466 if (!pe) in TEE_StartPropertyEnumerator()
469 pe->idx = 0; in TEE_StartPropertyEnumerator()
470 pe->prop_set = propSet; in TEE_StartPropertyEnumerator()
477 struct prop_enumerator *pe = (struct prop_enumerator *)enumerator; in TEE_GetPropertyName() local
483 if (!pe) { in TEE_GetPropertyName()
490 res = propset_get(pe->prop_set, &eps, &eps_len); in TEE_GetPropertyName()
494 if (pe->idx < eps_len) { in TEE_GetPropertyName()
495 str = eps[pe->idx].name; in TEE_GetPropertyName()
501 res = _utee_get_property((unsigned long)pe->prop_set, in TEE_GetPropertyName()
502 pe->idx - eps_len, name, name_len, in TEE_GetPropertyName()
519 struct prop_enumerator *pe = (struct prop_enumerator *)enumerator; in TEE_GetNextProperty() local
524 if (!pe) { in TEE_GetNextProperty()
529 if (pe->idx == PROP_ENUMERATOR_NOT_STARTED) { in TEE_GetNextProperty()
534 res = propset_get(pe->prop_set, &eps, &eps_len); in TEE_GetNextProperty()
538 next_idx = pe->idx + 1; in TEE_GetNextProperty()
539 pe->idx = next_idx; in TEE_GetNextProperty()
543 res = _utee_get_property((unsigned long)pe->prop_set, in TEE_GetNextProperty()