Lines Matching defs:Reps
624 Data fields: an array of a basic type of Units bytes repeated Reps times with the target byte order
631 Reps: Number of repeats of the unit in data fields.
632 If a Ptr is NULL, and Units*Reps is not zero, then Units*Reps 0x00 bytes are stored.
633 If a Ptr is NULL, and Units*Reps is zero, this U_SERIAL_DESC is ignored.
634 if a Ptr is NOT NULL, and Units * Reps is not zero, then the data is stored in the indicated byte order.
635 If a Ptr is NOT NULL, and Units or Reps is zero an error is signaled.
640 single unit in the data fields, but it is to be copied to the target Reps times. That is, the data
654 if(!(lptr->Units * lptr->Reps) && lptr->Ptr)return(po);
655 Total += lptr->Units * lptr->Reps;
661 FSize = lptr->Units * lptr->Reps;
664 if(lptr->TE & U_RP){ U_PMF_REPCPY_DSTSHIFT(&cptr, lptr->Ptr, lptr->Units, lptr->Reps); }
667 if(lptr->Units==2){ U_swap2(hptr,lptr->Reps); }
668 else if(lptr->Units==4){ U_swap4(hptr,lptr->Reps); }
1159 is advanced and nothing is stored, or it must be allocated to Reps * Units bytes!!!!
1161 \param Reps number of repeats of units in the data field.
1162 If a Ptr is NULL, then Units*Reps 0 bytes are stored.
1163 If a Ptr is NOT NULL, and Units or Reps, is zero an error is signaled.
1164 If a Ptr is NULL and Units*Reps is 0, nothing happens.
1173 int U_PMF_SERIAL_get(const char **Src, void *Dst, size_t Units, size_t Reps, int SE){
1175 U_PMF_MEMCPY_SRCSHIFT(Dst, Src, Units * Reps);
1181 if( Units==2){ U_swap2(Dst,Reps); }
1182 else if(Units==4){ U_swap4(Dst,Reps); }
1190 \param Dst Caller must free. Where the pointer to the data will be stored. Reps * Units bytes will be allocated,
1192 \param Reps number of repeats of units in the data field.
1193 If a Ptr is NULL, then Units*Reps 0 bytes are stored.
1194 If a Ptr is NOT NULL, and Units or Reps, is zero an error is signaled.
1195 If a Ptr is NULL and Units*Reps is 0, nothing happens.
1205 int U_PMF_SERIAL_array_copy_get(const char **Src, void **Dst, size_t Units, size_t Reps, int SE, int Cond){
1208 *Src += Units * Reps;
1212 *Dst = malloc(Units * Reps);
1214 U_PMF_MEMCPY_SRCSHIFT(*Dst, Src, Units * Reps);
1219 if( Units==2){ U_swap2(*Dst,Reps); }
1220 else if(Units==4){ U_swap4(*Dst,Reps); }
1423 \param Reps Number of instances of the template to opy
1425 void U_PMF_REPCPY_DSTSHIFT(char **Dst, const void *Src, size_t Size, size_t Reps){
1426 for(;Reps;Reps--){