• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/tcl-105/tcl_ext/mk4tcl/metakit/python/

Lines Matching +defs:prop +defs:start

146     PWOBase prop(args[0]);
147 if (!PyProperty_Check((PyObject*)prop))
149 PWONumber rslt(o->AddProperty(*(PyProperty*)(PyObject*)prop));
440 "remapwith(view2) -- remap rows according to first (int) prop in view2";
538 "find(criteria, start) -- return index of row found, matching criteria\n"
542 PWONumber start(0);
548 if (kwargs.hasKey("start")) {
549 start = kwargs["start"];
550 kwargs.delItem("start");
557 start = args[i];
563 return PWONumber(o->Find(temp, start)).disOwn();
616 c4_BytesProp &prop = *(c4_BytesProp*)(c4_Property*)(PyProperty*)(PyObject*)
628 length = prop(row).GetSize() - offset;
637 c4_Bytes buf = prop(row).Access(offset + o, length - o);
663 c4_BytesProp &prop = *(c4_BytesProp*)(c4_Property*)(PyProperty*)(PyObject*)
678 if (!prop(row).Modify(data, offset, diff))
689 "itemsize(prop, rownum=0) -- return size of item (rownum only needed for S/B/M types)\n""with integer fields, a result of -1/-2/-4 means 1/2/4 bits per value, respectively";
697 c4_BytesProp &prop = *(c4_BytesProp*)(c4_Property*)(PyProperty*)(PyObject*)
703 return PWONumber(prop(o->GetAt(index)).GetSize()).disOwn();
787 "reduce(func, start=0) -- return the result of applying func(row, lastresult) to\n""each row in view.\n";
793 PWONumber start(0);
795 start = args[1];
796 return o->reduce(func, start);
1355 const c4_Property &prop = NthProperty(ndx);
1356 PyRowRef::setFromPython(tmp, prop, dict[(const char*)key]);
1397 const c4_Property &prop = NthProperty(i);
1400 attr = PyObject_GetAttrString(o, (char*)prop.Name());
1411 PyRowRef::setFromPython(tmp, prop, attr);
1420 PyRowRef::setDefault(tmp, prop);
1447 PyProperty *prop = new PyProperty(NthProperty(i));
1448 rslt.setItem(i, prop);
1597 PyObject *PyView::reduce(const PWOCallable &func, PWONumber &start) {
1598 PWONumber accum = start;