Home
last modified time | relevance | path

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

/base/update/updateservice/frameworks/js/napi/base/src/
Dclient_helper.cpp104 size_t validComponentCount = GetValidDataCount(componentDescriptions); in BuildComponentDescriptions() local
105 if (validComponentCount == 0) { in BuildComponentDescriptions()
108 napi_create_array_with_length(env, validComponentCount, &obj); in BuildComponentDescriptions()
111 for (size_t i = 0; (i < componentDescriptions.size()) && (index < validComponentCount); i++) { in BuildComponentDescriptions()
127 size_t validComponentCount = GetValidDataCount(versionComponents); in BuildVersionComponents() local
128 if (validComponentCount == 0) { in BuildVersionComponents()
132 napi_create_array_with_length(env, validComponentCount, &napiVersionComponents); in BuildVersionComponents()
135 for (size_t i = 0; (i < versionComponents.size()) && (index < validComponentCount); i++) { in BuildVersionComponents()