Lines Matching refs:nbuf

72 					char *nbuf __unused, char **bbuf, size_t *bblen)  in get_binblock_property()
97 nbuf, (unsigned int)res); in get_binblock_property()
114 char nbuf[256] = { }; in print_properties() local
118 uint32_t nblen = sizeof(nbuf); in print_properties()
125 res = TEE_GetPropertyName(h, nbuf, &nblen); in print_properties()
131 if (nblen != strlen(nbuf) + 1) { in print_properties()
132 EMSG("Name has wrong size: %u vs %zu", nblen, strlen(nbuf) + 1); in print_properties()
140 res = check_returned_prop(__LINE__, nbuf, res, TEE_ERROR_SHORT_BUFFER, in print_properties()
148 res = check_returned_prop(__LINE__, nbuf, res, TEE_ERROR_SHORT_BUFFER, in print_properties()
156 res = check_returned_prop(__LINE__, nbuf, res, TEE_SUCCESS, in print_properties()
163 res = check_returned_prop(__LINE__, nbuf, res, TEE_SUCCESS, in print_properties()
168 res = TEE_GetPropertyAsString(prop_set, nbuf, vbuf2, &vblen2); in print_properties()
169 res = check_returned_prop(__LINE__, nbuf, res, TEE_SUCCESS, in print_properties()
175 EMSG("String of \"%s\" differs\n", nbuf); in print_properties()
182 res = TEE_GetPropertyAsString(prop_set, nbuf, vbuf2, &vblen2); in print_properties()
183 res = check_returned_prop(__LINE__, nbuf, res, in print_properties()
192 res = TEE_GetPropertyAsString(prop_set, nbuf, vbuf2, &vblen2); in print_properties()
193 res = check_returned_prop(__LINE__, nbuf, res, TEE_ERROR_SHORT_BUFFER, in print_properties()
200 res = TEE_GetPropertyAsString(prop_set, nbuf, vbuf2, &vblen2); in print_properties()
201 res = check_returned_prop(__LINE__, nbuf, res, TEE_SUCCESS, vblen2, vblen); in print_properties()
206 if (!strcmp("myprop.hello", nbuf) && in print_properties()
209 nbuf, vbuf); in print_properties()
213 DMSG("Found \"%s\" value \"%s\"\n", nbuf, vbuf); in print_properties()
216 if (strcmp(nbuf, p_attrs[n].str) != 0) in print_properties()
236 nbuf, (unsigned int)res); in print_properties()
250 nbuf, (unsigned int)res); in print_properties()
265 nbuf, (unsigned int)res); in print_properties()
281 nbuf, (unsigned int)res); in print_properties()
292 res = get_binblock_property(h, nbuf, &bbuf, &bblen); in print_properties()
296 if (!strcmp("myprop.binaryblock", nbuf)) { in print_properties()
303 nbuf, exp_bin_value); in print_properties()
308 nbuf)) { in print_properties()
313 nbuf)) { in print_properties()
318 nbuf)) { in print_properties()
323 nbuf)) { in print_properties()
327 } else if (!strcmp("myprop.binaryblock.empty1", nbuf) || in print_properties()
328 !strcmp("myprop.binaryblock.empty2", nbuf) || in print_properties()
329 !strcmp("myprop.binaryblock.empty3", nbuf)) { in print_properties()
332 nbuf, bblen); in print_properties()
336 EMSG("Unexpected property \"%s\"", nbuf); in print_properties()