Lines Matching refs:bufSize
117 unsigned int bufSize) in find_std_name() argument
123 if (strlen(p->name) != bufSize) continue; in find_std_name()
124 if (!memcmp(bufPtr,p->name,bufSize)) return p; in find_std_name()
131 unsigned int bufSize) in pvr2_std_str_to_id() argument
141 while (bufSize) { in pvr2_std_str_to_id()
144 while ((cnt < bufSize) && (bufPtr[cnt] != '-')) cnt++; in pvr2_std_str_to_id()
145 if (cnt >= bufSize) return 0; // No more characters in pvr2_std_str_to_id()
151 bufSize -= cnt; in pvr2_std_str_to_id()
157 while (cnt < bufSize) { in pvr2_std_str_to_id()
172 if (cnt < bufSize) cnt++; in pvr2_std_str_to_id()
174 bufSize -= cnt; in pvr2_std_str_to_id()
182 unsigned int pvr2_std_id_to_str(char *bufPtr, unsigned int bufSize, in pvr2_std_id_to_str() argument
199 c2 = scnprintf(bufPtr,bufSize,";"); in pvr2_std_id_to_str()
201 bufSize -= c2; in pvr2_std_id_to_str()
205 c2 = scnprintf(bufPtr,bufSize, in pvr2_std_id_to_str()
209 c2 = scnprintf(bufPtr,bufSize,"/"); in pvr2_std_id_to_str()
212 bufSize -= c2; in pvr2_std_id_to_str()
214 c2 = scnprintf(bufPtr,bufSize, in pvr2_std_id_to_str()
217 bufSize -= c2; in pvr2_std_id_to_str()