Lines Matching refs:windex

224     trans->windex = sizeof(*whead);  in hcc_start_command()
242 trans->windex = sizeof(*whead); in hcc_start_reply()
260 whead->bytes = trans->windex; in hcc_finish_command()
261 aligned_bytes = HCC_ALIGN(trans->windex); in hcc_finish_command()
262 trans->windex = 0; /* initialize for hcc_nextchaineditem() */ in hcc_finish_command()
313 whead->bytes = trans->windex; in hcc_finish_reply()
315 aligned_bytes = HCC_ALIGN(trans->windex); in hcc_finish_reply()
328 item = (void *)(trans->wbuf + trans->windex); in hcc_leaf_string()
329 assert(trans->windex + sizeof(*item) + bytes < HC_BUFSIZE); in hcc_leaf_string()
334 trans->windex = HCC_ALIGN(trans->windex + item->bytes); in hcc_leaf_string()
342 item = (void *)(trans->wbuf + trans->windex); in hcc_leaf_data()
343 assert(trans->windex + sizeof(*item) + bytes < HC_BUFSIZE); in hcc_leaf_data()
348 trans->windex = HCC_ALIGN(trans->windex + item->bytes); in hcc_leaf_data()
356 item = (void *)(trans->wbuf + trans->windex); in hcc_leaf_int32()
357 assert(trans->windex + sizeof(*item) + sizeof(value) < HC_BUFSIZE); in hcc_leaf_int32()
362 trans->windex = HCC_ALIGN(trans->windex + item->bytes); in hcc_leaf_int32()
370 item = (void *)(trans->wbuf + trans->windex); in hcc_leaf_int64()
371 assert(trans->windex + sizeof(*item) + sizeof(value) < HC_BUFSIZE); in hcc_leaf_int64()
376 trans->windex = HCC_ALIGN(trans->windex + item->bytes); in hcc_leaf_int64()
391 if (size >= HC_BUFSIZE - trans->windex) { in hcc_check_space()
511 trans->windex = (char *)item - (char *)head; in hcc_nextchaineditem()
520 if (trans->windex == 0) in hcc_currentchaineditem()
523 return ((void *) ((char *)head + trans->windex)); in hcc_currentchaineditem()