Lines Matching refs:write_index
1290 uint8_t write_index = 0;
1539 write_buf[write_index] = PH_FRINFC_TOPAZ_CC_BYTE0;
1540 write_index = (uint8_t)(write_index + 1);
1551 write_index);
1576 write_buf[write_index] = PH_FRINFC_TOPAZ_CC_BYTE0;
1577 write_index = (uint8_t)(write_index + 1);
1585 write_index);
3215 uint16_t write_index = 0;
3240 write_index = (uint16_t)(write_index + ps_tpz_info->ByteNumber);
3246 write_index = (uint16_t)(write_index + skip_size);
3249 while ((write_index < TOPAZ_WRITE_8_DATA_LENGTH) &&
3259 write_buf[write_index] =
3262 write_index = (uint16_t)(write_index + 1);
3271 if (skip_size >= (TOPAZ_WRITE_8_DATA_LENGTH - write_index))
3274 - write_index));
3275 write_index = (uint16_t)TOPAZ_WRITE_8_DATA_LENGTH;
3281 write_index = (uint16_t)(write_index + skip_size);
3326 uint16_t write_index = 0;
3359 write_index = (uint16_t)(write_index + ps_tpz_info->ByteNumber);
3368 write_index = (uint16_t)(write_index + skip_size);
3371 while ((write_index < TOPAZ_WRITE_8_DATA_LENGTH) &&
3392 write_buf[write_index] = (uint8_t)
3400 write_buf[write_index] = (uint8_t)0xFF;
3408 write_buf[write_index] = (uint8_t)
3416 write_buf[write_index] = (uint8_t)
3430 write_index = (uint16_t)(write_index + 1);
3435 (TOPAZ_WRITE_8_DATA_LENGTH != write_index) &&
3455 if (skip_size >= (TOPAZ_WRITE_8_DATA_LENGTH - write_index))
3458 - write_index));
3459 write_index = (uint16_t)TOPAZ_WRITE_8_DATA_LENGTH;
3465 write_index = (uint16_t)(write_index + skip_size);
3497 uint16_t write_index = 0;
3531 write_index = (uint16_t)(write_index + ps_tpz_info->ByteNumber);
3541 write_index = (uint16_t)(write_index + skip_size);
3544 while ((write_index < TOPAZ_WRITE_8_DATA_LENGTH) &&
3560 write_buf[write_index] = 0x00;
3561 write_index = (uint16_t)(write_index + 1);
3572 write_index) ?
3582 write_buf[write_index] = 0x00;
3583 write_index = (uint16_t)(write_index + 1);
3585 write_index) ?
3594 write_buf[write_index] =
3597 write_index = (uint16_t)(write_index + 1);
3611 if (skip_size >= (TOPAZ_WRITE_8_DATA_LENGTH - write_index))
3616 - write_index));
3617 write_index = (uint16_t)TOPAZ_WRITE_8_DATA_LENGTH;
3624 write_index = (uint16_t)(write_index + skip_size);