Searched refs:truncate_at (Results 1 – 5 of 5) sorted by relevance
54 int SafeTruncateLength(const char *str, int truncate_at) { in SafeTruncateLength() argument57 while (IsTrailByte(str[truncate_at]) && (truncate_at > 0)) { in SafeTruncateLength()58 truncate_at--; in SafeTruncateLength()60 return truncate_at; in SafeTruncateLength()
53 int SafeTruncateLength(const char *str, int truncate_at);
66 def truncate(s, truncate_at, options = {}) argument67 return s unless s.length > truncate_at69 with_extra_room = truncate_at - omission.length
1061 truncate_at = (chunk.chunk_offset +1065 truncate_at = (chunk.chunk_offset +1070 truncate_at = chunk.chunk_offset + struct.calcsize(ImageChunk.FORMAT)1083 truncate_at = chunk.chunk_offset1091 self._image.truncate(truncate_at)