Lines Matching refs:chop_data
537 eval {$db put} $txn {$key [chop_data $method $data]}
548 [string length [chop_data $method $repl]] == 0 } {
552 set newstr [chop_data $method $repl[string range $data $n_replace end]]
554 $key [chop_data $method $repl]}]
573 set newstr [chop_data $method \
577 {-partial [list $spl $n_replace] $key [chop_data $method $repl]}]
590 set newstr [chop_data $method [string range $newstr 0 \
594 $key [chop_data $method $repl]}]
2205 # Both pad_data and chop_data truncate data that is too long. However,
2212 # otherwise we'll get an error (use chop_data). When we do a get, we want to
2222 # back (1,"zbcdef"). If we had used pad_data instead of chop_data, we would
2224 proc chop_data {method data} {
2248 # length with a known pad character. Most tests should use chop_data and
2255 set data [chop_data $method $data]