Home
last modified time | relevance | path

Searched refs:osCapIndex (Results 1 - 1 of 1) sorted by relevance

/developtools/syscap_codec/src/
H A Dcreate_pcid.c75 cJSON *osCapIndex = NULL; in SetOsSyscap() local
83 osCapIndex = cJSON_GetObjectItem(allOsSyscapObj, jsonArrayItem->valuestring); in SetOsSyscap()
84 if (osCapIndex == NULL) { in SetOsSyscap()
88 if (!cJSON_IsNumber(osCapIndex)) { in SetOsSyscap()
89 PRINT_ERR("Get osCapIndex failed."); in SetOsSyscap()
92 sectorOfBits = (osCapIndex->valueint) / UINT8_BIT; in SetOsSyscap()
93 posOfBits = (osCapIndex->valueint) % UINT8_BIT; in SetOsSyscap()

Completed in 4 milliseconds