Searched refs:buf_ (Results 1 - 19 of 19) sorted by relevance

/macosx-10.9.5/tcl-102/tcl_ext/mk4tcl/metakit/src/
H A Dcustom.cpp25 virtual void Set(int index_, const c4_Bytes &buf_);
27 virtual void Insert(int index_, const c4_Bytes &buf_, int count_);
65 void c4_CustomHandler::Set(int index_, const c4_Bytes &buf_) { argument
69 _seq->DoSet(index_, colnum, buf_);
145 bool c4_CustomSeq::DoGet(int row_, int col_, c4_Bytes &buf_)const {
148 return _viewer->GetItem(row_, col_, buf_);
151 void c4_CustomSeq::DoSet(int row_, int col_, const c4_Bytes &buf_) { argument
154 d4_dbgdef(const bool f = )_viewer->SetItem(row_, col_, buf_);
214 virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
215 bool SetItem(int row_, int col_, const c4_Bytes &buf_);
246 SetItem(int row_, int col_, const c4_Bytes &buf_) argument
312 GetItem(int row_, int col_, c4_Bytes &buf_) argument
360 GetItem(int row_, int col_, c4_Bytes &buf_) argument
369 SetItem(int row_, int col_, const c4_Bytes &buf_) argument
416 GetItem(int row_, int col_, c4_Bytes &buf_) argument
428 SetItem(int row_, int col_, const c4_Bytes &buf_) argument
485 GetItem(int row_, int col_, c4_Bytes &buf_) argument
500 SetItem(int row_, int col_, const c4_Bytes &buf_) argument
554 GetItem(int row_, int col_, c4_Bytes &buf_) argument
558 SetItem(int row_, int col_, const c4_Bytes &buf_) argument
666 GetItem(int row_, int col_, c4_Bytes &buf_) argument
760 GetItem(int row_, int col_, c4_Bytes &buf_) argument
870 GetItem(int row_, int col_, c4_Bytes &buf_) argument
[all...]
H A Dhandler.h48 void ClearBytes(c4_Bytes &buf_)const;
53 void GetBytes(int index_, c4_Bytes &buf_, bool copySmall_ = false);
57 virtual void Set(int index_, const c4_Bytes &buf_) = 0;
60 int Compare(int index_, const c4_Bytes &buf_);
63 virtual void Insert(int index_, const c4_Bytes &buf_, int count_) = 0;
H A Dfileio.cpp363 int c4_FileStrategy::DataRead(t4_i32 pos_, void *buf_, int len_) { argument
368 return fseek(_file, _baseOffset + pos_, 0) != 0 ? - 1: (int)fread(buf_, 1,
372 void c4_FileStrategy::DataWrite(t4_i32 pos_, const void *buf_, int len_) { argument
376 if (_mapStart <= buf_ && buf_ < _mapStart + _dataSize) {
377 printf("DataWrite %08x at %d len %d (map %d)\n", buf_, pos_, len_, (const
378 t4_byte*)buf_ - _mapStart + _baseOffset);
380 printf("DataWrite %08x at %d len %d\n", buf_, pos_, len_);
383 " _mapStart %08x _dataSize %d buf_ %08x len_ %d _baseOffset %d\n",
384 _mapStart, _dataSize, buf_, len
[all...]
H A Dcustom.h37 bool DoGet(int row_, int col_, c4_Bytes &buf_)const;
38 void DoSet(int row_, int col_, const c4_Bytes &buf_);
H A Dremap.cpp35 virtual bool GetItem(int row_, int col_, c4_Bytes &buf_) { argument
36 return _base.GetItem(row_, col_, buf_);
89 virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
90 virtual bool SetItem(int row_, int col_, const c4_Bytes &buf_);
351 bool c4_HashViewer::GetItem(int row_, int col_, c4_Bytes &buf_) { argument
352 return _base.GetItem(row_, col_, buf_);
355 bool c4_HashViewer::SetItem(int row_, int col_, const c4_Bytes &buf_) { argument
359 if (buf_ == temp)
366 _base.SetItem(row_, col_, buf_);
487 virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
[all...]
H A Dformat.cpp59 virtual void Set(int index_, const c4_Bytes &buf_);
61 virtual void Insert(int index_, const c4_Bytes &buf_, int count_);
113 void c4_FormatX::Set(int index_, const c4_Bytes &buf_) { argument
114 _data.Set(index_, buf_);
117 void c4_FormatX::Insert(int index_, const c4_Bytes &buf_, int count_) { argument
118 _data.Insert(index_, buf_, count_);
259 virtual void Set(int index_, const c4_Bytes &buf_);
261 virtual void Insert(int index_, const c4_Bytes &buf_, int count_);
272 void SetOne(int index_, const c4_Bytes &buf_, bool ignoreMemos_ = false);
595 c4_Bytes buf_(xbuf
639 Set(int index_, const c4_Bytes &buf_) argument
652 Insert(int index_, const c4_Bytes &buf_, int count_) argument
[all...]
H A Dhandler.cpp23 void c4_Handler::ClearBytes(c4_Bytes &buf_)const {
29 buf_ = c4_Bytes(zeros, n);
32 int c4_Handler::Compare(int index_, const c4_Bytes &buf_) { argument
34 c4_Bytes copy(buf_.Contents(), buf_.Size(), buf_.Size() <= 8);
51 void c4_Handler::GetBytes(int index_, c4_Bytes &buf_, bool copySmall_) { argument
54 buf_ = c4_Bytes(p, n, copySmall_ && n <= 8);
H A Dpersist.h68 void Write(const void *buf_, int len_);
89 int OldRead(t4_byte *buf_, int len_);
H A Dtable.cpp50 c4_Bytes::c4_Bytes(const void *buf_, int len_, bool copy_): _size(len_), _copy argument
52 _contents = (t4_byte*)buf_; // moved out of intializers for DEC CXX 5.7
H A Dviewx.cpp314 bool c4_Sequence::Get(int index_, int propId_, c4_Bytes &buf_) { argument
319 NthHandler(colNum).GetBytes(index_, buf_);
324 &buf_) {
332 change.StartSet(index_, prop_.GetId(), buf_);
334 if (buf_.Size())
335 h.Set(index_, buf_);
527 bool c4_BytesRef::Modify(const c4_Bytes &buf_, t4_i32 off_, int diff_)const { argument
531 const int n = buf_.Size();
548 col->StoreBytes(off_, buf_);
558 memcpy(ptr + off_, buf_
323 Set(int index_, const c4_Property &prop_, const c4_Bytes &buf_) argument
[all...]
H A Dcolumn.h123 void Set(int index_, const c4_Bytes &buf_);
128 void Insert(int index_, const c4_Bytes &buf_, int count_);
H A Dstore.h48 void StartSet(int index_, int propId_, const c4_Bytes &buf_);
H A Dcolumn.cpp1237 void c4_ColOfInts::Set(int index_, const c4_Bytes &buf_) {
1238 d4_assert(buf_.Size() == _dataWidth);
1240 if ((this->*_setter)(index_, buf_.Contents()))
1243 d4_assert(buf_.Size() == sizeof(t4_i32));
1245 int n = fBitsNeeded(*(const t4_i32*)buf_.Contents());
1294 /* bool f = */(this->*_setter)(index_, buf_.Contents());
1320 void c4_ColOfInts::Insert(int index_, const c4_Bytes &buf_, int count_) {
1321 d4_assert(buf_.Size() == _dataWidth);
1325 const t4_byte *ptr = buf_.Contents();
1337 Set(index_++, buf_);
[all...]
H A Dview.cpp223 bool c4_View::GetItem(int row_, int col_, c4_Bytes &buf_)const {
225 return prop(GetAt(row_)).GetData(buf_);
229 void c4_View::SetItem(int row_, int col_, const c4_Bytes &buf_)const {
231 prop(GetAt(row_)).SetData(buf_);
H A Dpersist.cpp540 void c4_SaveContext::Write(const void *buf_, int len_) { argument
543 memcpy(_curr, buf_, len_);
547 _bufPtr = (t4_byte*)buf_; // also loses const
1074 int c4_Persist::OldRead(t4_byte *buf_, int len_) { argument
1078 int n = _strategy.DataRead(newSeek, buf_, len_);
H A Dstore.cpp112 void c4_Notifier::StartSet(int i_, int propId_, const c4_Bytes &buf_) { argument
116 _bytes = &buf_;
H A Dderived.cpp865 bool c4_ProjectSeq::Get(int index_, int propId_, c4_Bytes &buf_) {
867 return PropIndex(propId_) >= 0 && _seq.Get(index_, propId_, buf_);
/macosx-10.9.5/tcl-102/tcl_ext/mk4tcl/metakit/python/
H A DPyStorage.cpp429 virtual bool GetItem(int row_, int col_, c4_Bytes &buf_);
430 virtual bool SetItem(int row_, int col_, const c4_Bytes &buf_);
446 bool PyViewer::GetItem(int row_, int col_, c4_Bytes &buf_) { argument
451 return prop(_tempRow).GetData(buf_);
457 return prop(_tempRow).GetData(buf_);
462 return prop(_tempRow).GetData(buf_);
466 return prop(_tempRow).GetData(buf_);
475 return prop (one).GetData(buf_); */
478 bool PyViewer::SetItem(int row_, int col_, const c4_Bytes &buf_) { argument
481 prop(one).SetData(buf_);
[all...]
/macosx-10.9.5/groff-38/groff/src/utils/hpftodit/
H A Dhpftodit.cpp151 unsigned char *buf_; member in class:File
414 buf_ = new unsigned char[sb.st_size];
415 long nread = read(fd, buf_, sb.st_size);
420 ptr_ = buf_;
421 end_ = buf_ + sb.st_size;
435 if (uint32(end_ - buf_) < n)
437 ptr_ = buf_ + n;

Completed in 260 milliseconds