Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/debase/
DdeSha1.c195 size_t charNdx; in deSha1_render() local
197 for (charNdx = 0; charNdx < 40; charNdx++) in deSha1_render()
199 const deUint32 val32 = hash->hash[charNdx / 8]; in deSha1_render()
200 const deUint8 val8 = (deUint8)(0x0fu & (val32 >> (4 * (8 - 1 - (charNdx % 8))))); in deSha1_render()
203 buffer[charNdx] = (char)('0' + val8); in deSha1_render()
205 buffer[charNdx] = (char)('a' + val8 - 10); in deSha1_render()
211 size_t charNdx; in deSha1_parse() local
215 for (charNdx = 0; charNdx < 40; charNdx++) in deSha1_parse()
219 if (buffer[charNdx] >= '0' && buffer[charNdx] <= '9') in deSha1_parse()
220 val4 = (deUint8)(buffer[charNdx] - '0'); in deSha1_parse()
[all …]