Lines Matching defs:cptr
124 char str [64], *cptr ;
134 if ((cptr = strstr (psf_header, "end_head")))
135 { cptr += strlen ("end_head") + 1 ;
136 cptr [0] = 0 ;
157 if ((cptr = strstr (psf_header, "sample_coding -s")))
158 { sscanf (cptr, "sample_coding -s%d %63s", &count, str) ;
174 if ((cptr = strstr (psf_header, "channel_count -i ")) != NULL)
175 sscanf (cptr, "channel_count -i %d", &(psf->sf.channels)) ;
177 if ((cptr = strstr (psf_header, "sample_rate -i ")) != NULL)
178 sscanf (cptr, "sample_rate -i %d", &(psf->sf.samplerate)) ;
180 if ((cptr = strstr (psf_header, "sample_count -i ")) != NULL)
181 { sscanf (cptr, "sample_count -i %ld", &samples) ;
185 if ((cptr = strstr (psf_header, "sample_n_bytes -i ")) != NULL)
186 sscanf (cptr, "sample_n_bytes -i %d", &(psf->bytewidth)) ;
192 if ((cptr = strstr (psf_header, "sample_byte_format -s"))
193 && sscanf (cptr, "sample_byte_format -s%u %8s", &bytes, str) == 2)
219 if ((cptr = strstr (psf_header, "sample_sig_bits -i ")))
220 sscanf (cptr, "sample_sig_bits -i %d", &bitwidth) ;