Lines Matching defs:data_length
1034 jint data_length;
1048 data_length = packet->type.cmd.len - 11;
1049 SHMEM_GUARANTEE(data_length >= 0);
1050 CHECK_ERROR(sendBytes(connection, &data_length, sizeof(jint)));
1052 if (data_length > 0) {
1053 CHECK_ERROR(sendBytes(connection, packet->type.cmd.data, data_length));
1104 jint data_length;
1119 CHECK_ERROR(receiveBytes(connection, &data_length, sizeof(jint)));
1121 if (data_length < 0) {
1123 } else if (data_length == 0) {
1127 packet->type.cmd.len = data_length + 11;
1128 packet->type.cmd.data = (*callback->alloc)(data_length);
1133 error = receiveBytes(connection, packet->type.cmd.data, data_length);