Lines Matching refs:u_int16_t
145 u_int16_t GetRecordOffset (BTreeControlBlockPtr btree,
147 u_int16_t index );
149 u_int16_t *GetOffsetAddress (BTreeControlBlockPtr btreePtr,
151 u_int16_t index );
155 u_int16_t index,
156 u_int16_t delta );
160 u_int16_t index );
170 static void PrintNode(const NodeDescPtr node, u_int16_t nodeSize, u_int32_t nodeNumber);
294 *(u_int16_t *)pos = sizeof (BTNodeDescriptor); // set offset to beginning of free space
435 static void PrintNode(const NodeDescPtr node, u_int16_t nodeSize, u_int32_t nodeNumber)
438 u_int16_t word[8];
441 u_int16_t rows;
492 u_int16_t index,
494 u_int16_t recSize )
496 u_int16_t freeSpace;
497 u_int16_t indexOffset;
498 u_int16_t freeOffset;
499 u_int16_t bytesToMove;
562 u_int16_t index,
564 u_int16_t keyLength,
566 u_int16_t recSize )
568 u_int16_t freeSpace;
569 u_int16_t indexOffset;
570 u_int16_t freeOffset;
571 u_int16_t bytesToMove;
574 u_int16_t keySize;
575 u_int16_t rawKeyLength;
576 u_int16_t sizeOfLength;
581 keySize = keyLength + sizeof(u_int16_t);
622 *((u_int16_t *)dst) = keyLength; // use keyLength rather than key.length
623 dst = (u_int8_t *) (((u_int16_t *)dst) + 1);
667 u_int16_t index )
721 u_int16_t *returnIndex )
728 u_int16_t *offset;
733 offset = (u_int16_t *) ((u_int8_t *)(node) + (btreePtr)->nodeSize - kOffsetSize);
778 u_int16_t index,
781 u_int16_t *dataSize )
783 u_int16_t offset;
784 u_int16_t nextOffset;
785 u_int16_t keySize;
827 u_int16_t GetNodeDataSize (BTreeControlBlockPtr btreePtr, NodeDescPtr node )
829 u_int16_t freeOffset;
850 u_int16_t GetNodeFreeSize (BTreeControlBlockPtr btreePtr, NodeDescPtr node )
852 u_int16_t freeOffset;
875 u_int16_t GetRecordOffset (BTreeControlBlockPtr btreePtr,
877 u_int16_t index )
906 u_int16_t index )
933 u_int16_t GetRecordSize (BTreeControlBlockPtr btreePtr,
935 u_int16_t index )
937 u_int16_t *pos;
939 pos = (u_int16_t *) ((Ptr)node + btreePtr->nodeSize - (index << 1) - kOffsetSize);
958 u_int16_t *GetOffsetAddress (BTreeControlBlockPtr btreePtr,
960 u_int16_t index )
966 return (u_int16_t *)pos;
988 u_int16_t index )
1017 u_int16_t index,
1018 u_int16_t delta )
1020 u_int16_t *src, *dst;
1021 u_int16_t numOffsets;
1051 u_int16_t index )
1053 u_int16_t *src, *dst;
1054 u_int16_t numOffsets;
1055 u_int16_t delta;