Home
last modified time | relevance | path

Searched refs:appData (Results 1 – 14 of 14) sorted by relevance

/external/tpm2-tss/src/tss2-fapi/api/
DFapi_SetAppData.c58 uint8_t const *appData, in Fapi_SetAppData() argument
69 r = Fapi_SetAppData_Async(context, path, appData, appDataSize); in Fapi_SetAppData()
121 uint8_t const *appData, in Fapi_SetAppData_Async() argument
126 if (appData) { in Fapi_SetAppData_Async()
127 LOGBLOB_TRACE(appData, appDataSize, "appData"); in Fapi_SetAppData_Async()
139 if (!appData && appDataSize != 0) { in Fapi_SetAppData_Async()
151 command->appData.buffer = malloc(appDataSize); in Fapi_SetAppData_Async()
152 goto_if_null2(command->appData.buffer, "Out of memory.", in Fapi_SetAppData_Async()
155 memcpy(&command->appData.buffer[0], appData, appDataSize); in Fapi_SetAppData_Async()
157 command->appData.buffer = NULL; in Fapi_SetAppData_Async()
[all …]
DFapi_GetAppData.c59 uint8_t **appData, in Fapi_GetAppData() argument
81 r = Fapi_GetAppData_Finish(context, appData, appDataSize); in Fapi_GetAppData()
170 uint8_t **appData, in Fapi_GetAppData_Finish() argument
191 objAppData = &object.misc.key.appData; in Fapi_GetAppData_Finish()
194 objAppData = &object.misc.nv.appData; in Fapi_GetAppData_Finish()
200 if (appData) { in Fapi_GetAppData_Finish()
203 *appData = malloc(objAppData->size); in Fapi_GetAppData_Finish()
204 goto_if_null2(*appData, "Out of memory.", r, TSS2_FAPI_RC_MEMORY, in Fapi_GetAppData_Finish()
206 memcpy(*appData, &objAppData->buffer[0], in Fapi_GetAppData_Finish()
209 *appData = NULL; in Fapi_GetAppData_Finish()
/external/tpm2-tss/test/integration/
Dfapi-nv-written-policy.int.c52 uint8_t *appData = NULL; in test_fapi_nv_written_policy() local
91 r = Fapi_GetAppData(context, nvPathOrdinary, &appData, &appDataSize); in test_fapi_nv_written_policy()
95 memcmp(appData, &data_src[0], appDataSize) != 0) { in test_fapi_nv_written_policy()
111 SAFE_FREE(appData); in test_fapi_nv_written_policy()
117 SAFE_FREE(appData); in test_fapi_nv_written_policy()
/external/conscrypt/common/src/jni/main/include/conscrypt/
Dapp_data.h126 std::unique_ptr<AppData> appData(new AppData()); in create()
133 appData.get()->interruptEvent = interruptEvent; in create()
135 if (pipe(appData.get()->fdsEmergency) == -1) { in create()
139 if (!netutil::setBlocking(appData.get()->fdsEmergency[0], false)) { in create()
144 return appData.release(); in create()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc6357 static int sslSelect(JNIEnv* env, int type, jobject fdObject, AppData* appData, in sslSelect() argument
6369 events[0] = appData->interruptEvent; in sslSelect()
6383 (type == SSL_ERROR_WANT_READ) ? "READ" : "WRITE", fd.get(), appData, in sslSelect()
6400 (type == SSL_ERROR_WANT_READ) ? "READ" : "WRITE", fd.get(), appData, timeout_millis, in sslSelect()
6403 std::lock_guard<std::mutex> appDataLock(appData->mutex); in sslSelect()
6404 appData->waitingThreads--; in sslSelect()
6433 static int sslSelect(JNIEnv* env, int type, jobject fdObject, AppData* appData, in sslSelect() argument
6448 (type == SSL_ERROR_WANT_READ) ? "READ" : "WRITE", intFd, appData, timeout_millis); in sslSelect()
6458 fds[1].fd = appData->fdsEmergency[0]; in sslSelect()
6470 (type == SSL_ERROR_WANT_READ) ? "READ" : "WRITE", fd.get(), appData, in sslSelect()
[all …]
/external/curl/lib/
Dnwlib.c156 int GetOrSetUpData(int id, struct libdata **appData, in GetOrSetUpData() argument
273 if(appData) in GetOrSetUpData()
274 *appData = app_data; in GetOrSetUpData()
/external/python/cpython3/PC/
Dpython_uwp.cpp34 const auto appData = winrt::Windows::Storage::ApplicationData::Current(); in get_user_base() local
35 if (appData) { in get_user_base()
36 const auto localCache = appData.LocalCacheFolder(); in get_user_base()
/external/tpm2-tss/src/tss2-fapi/
Difapi_keystore.h37 UINT8_ARY appData; /**< Application data */ member
68 UINT8_ARY appData; /**< Application data */ member
Difapi_json_deserialize.c149 memset(&out->appData, 0, sizeof(UINT8_ARY)); in ifapi_json_IFAPI_KEY_deserialize()
151 r = ifapi_json_UINT8_ARY_deserialize(jso2, &out->appData); in ifapi_json_IFAPI_KEY_deserialize()
273 memset(&out->appData, 0, sizeof(UINT8_ARY)); in ifapi_json_IFAPI_NV_deserialize()
275 r = ifapi_json_UINT8_ARY_deserialize(jso2, &out->appData); in ifapi_json_IFAPI_NV_deserialize()
Difapi_json_serialize.c120 if (in->appData.buffer != NULL) { in ifapi_json_IFAPI_KEY_serialize()
122 r = ifapi_json_UINT8_ARY_serialize(&in->appData, &jso2); in ifapi_json_IFAPI_KEY_serialize()
274 if (in->appData.buffer != NULL) { in ifapi_json_IFAPI_NV_serialize()
276 r = ifapi_json_UINT8_ARY_serialize(&in->appData, &jso2); in ifapi_json_IFAPI_NV_serialize()
Difapi_keystore.c1257 dest->appData.buffer = NULL; in ifapi_copy_ifapi_key()
1267 r = copy_uint8_ary(&dest->appData, &src->appData); in ifapi_copy_ifapi_key()
1304 SAFE_FREE(key->appData.buffer); in ifapi_cleanup_ifapi_key()
1345 SAFE_FREE(nv->appData.buffer); in ifapi_cleanup_ifapi_nv()
Dfapi_int.h279 UINT8_ARY appData; /**< Application data to be stored in object store. */ member
/external/tpm2-tss/include/tss2/
Dtss2_fapi.h197 uint8_t const *appData,
203 uint8_t const *appData,
212 uint8_t **appData,
221 uint8_t **appData,
/external/tpm2-tss/doc/
Ddoxygen.dox1273 …\fn Fapi_SetAppData(FAPI_CONTEXT *context, char const *path, uint8_t const *appData, size_t appDat…
1274 …\fn Fapi_SetAppData_Async(FAPI_CONTEXT *context, char const *path, uint8_t const *appData, size_t …
1280 …\fn Fapi_GetAppData(FAPI_CONTEXT *context, char const *path, uint8_t **appData, size_t *appDataSiz…
1282 \fn Fapi_GetAppData_Finish(FAPI_CONTEXT *context, uint8_t **appData, size_t *appDataSize)