• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/tcl-102/tcl84/tcl/generic/

Lines Matching refs:bytes

37 static unsigned int	HashString _ANSI_ARGS_((CONST char *bytes,
171 TclRegisterLiteral(envPtr, bytes, length, onHeap)
174 register char *bytes; /* Points to string for which to find or
177 int length; /* Number of bytes in the string. If < 0,
178 * the string consists of all bytes up to
181 * bytes and ownership is passed to this
195 length = (bytes? strlen(bytes) : 0);
197 hash = HashString(bytes, length);
209 || ((objPtr->bytes[0] == bytes[0])
210 && (memcmp(objPtr->bytes, bytes, (unsigned) length)
213 ckfree(bytes);
234 || ((objPtr->bytes[0] == bytes[0])
235 && (memcmp(objPtr->bytes, bytes, (unsigned) length)
243 ckfree(bytes);
249 (length>60? 60 : length), bytes,
267 objPtr->bytes = bytes;
270 TclInitStringRep(objPtr, bytes, length);
273 if (TclLooksLikeInt(bytes, length)) {
277 if (TclGetLong((Tcl_Interp *) NULL, objPtr->bytes, &n) == TCL_OK) {
279 if (strcmp(objPtr->bytes, buf) == 0) {
289 (length>60? 60 : length), bytes);
328 (length>60? 60 : length), bytes);
370 char *bytes;
373 bytes = Tcl_GetStringFromObj(objPtr, &length);
374 globalHash = (HashString(bytes, length) & globalTablePtr->mask);
417 char *bytes;
434 bytes = Tcl_GetStringFromObj(newObjPtr, &length);
435 localHash = (HashString(bytes, length) & localTablePtr->mask);
560 char *bytes;
572 bytes = Tcl_GetStringFromObj(globalPtr->objPtr, &length);
574 (length>60? 60 : length), bytes);
689 char *bytes;
692 bytes = Tcl_GetStringFromObj(objPtr, &length);
693 index = (HashString(bytes, length) & globalTablePtr->mask);
777 HashString(bytes, length)
778 register CONST char *bytes; /* String for which to compute hash
780 int length; /* Number of bytes in the string. */
803 result += (result<<3) + *bytes++;
835 char *bytes;
866 bytes = Tcl_GetStringFromObj(entryPtr->objPtr, &length);
867 index = (HashString(bytes, length) & tablePtr->mask);
987 char *bytes;
997 bytes = Tcl_GetStringFromObj(localPtr->objPtr, &length);
999 (length>60? 60 : length), bytes,
1004 bytes = Tcl_GetStringFromObj(localPtr->objPtr, &length);
1006 (length>60? 60 : length), bytes);
1008 if (localPtr->objPtr->bytes == NULL) {
1043 char *bytes;
1053 bytes = Tcl_GetStringFromObj(globalPtr->objPtr, &length);
1055 (length>60? 60 : length), bytes,
1058 if (globalPtr->objPtr->bytes == NULL) {