Lines Matching refs:bufSize
121 unsigned int bufSize) in find_std_name() argument
127 if (strlen(p->name) != bufSize) continue; in find_std_name()
128 if (!memcmp(bufPtr,p->name,bufSize)) return p; in find_std_name()
135 unsigned int bufSize) in pvr2_std_str_to_id() argument
145 while (bufSize) { in pvr2_std_str_to_id()
148 while ((cnt < bufSize) && (bufPtr[cnt] != '-')) cnt++; in pvr2_std_str_to_id()
149 if (cnt >= bufSize) return 0; // No more characters in pvr2_std_str_to_id()
155 bufSize -= cnt; in pvr2_std_str_to_id()
161 while (cnt < bufSize) { in pvr2_std_str_to_id()
176 if (cnt < bufSize) cnt++; in pvr2_std_str_to_id()
178 bufSize -= cnt; in pvr2_std_str_to_id()
186 unsigned int pvr2_std_id_to_str(char *bufPtr, unsigned int bufSize, in pvr2_std_id_to_str() argument
203 c2 = scnprintf(bufPtr,bufSize,";"); in pvr2_std_id_to_str()
205 bufSize -= c2; in pvr2_std_id_to_str()
209 c2 = scnprintf(bufPtr,bufSize, in pvr2_std_id_to_str()
213 c2 = scnprintf(bufPtr,bufSize,"/"); in pvr2_std_id_to_str()
216 bufSize -= c2; in pvr2_std_id_to_str()
218 c2 = scnprintf(bufPtr,bufSize, in pvr2_std_id_to_str()
221 bufSize -= c2; in pvr2_std_id_to_str()