Lines Matching refs:scratch
398 char scratch[20];
400 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
405 dest = sink.GetAppendBuffer(10, 50, scratch, 9, &capacity);
410 dest = sink.GetAppendBuffer(5, 50, scratch, (int32_t)sizeof(scratch), &capacity);
411 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) {
412 errln("ByteSink.GetAppendBuffer() did not properly return the scratch buffer");
429 char scratch[10];
431 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
436 dest = sink.GetAppendBuffer(10, 50, scratch, 9, &capacity);
441 dest = sink.GetAppendBuffer(10, 50, scratch, (int32_t)sizeof(scratch), &capacity);
455 dest = sink.GetAppendBuffer(10, 50, scratch, (int32_t)sizeof(scratch), &capacity);
456 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) {
457 errln("CheckedArrayByteSink.GetAppendBuffer() did not properly return the scratch buffer");
466 errln("CheckedArrayByteSink did not Append(scratch buffer) as expected");