Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 84) sorted by relevance

1234

/trunk/main/rsc/source/rscpp/
H A Dcpp5.c88 char op; /* Operator */ member
96 isbinary(op) in isbinary() argument
97 register int op; in isbinary()
99 return (op >= FIRST_BINOP && op <= LAST_BINOP);
103 isunary(op) in isunary() argument
104 register int op; in isunary()
106 return (op >= FIRST_UNOP && op <= LAST_UNOP);
109 #define isbinary(op) (op >= FIRST_BINOP && op <= LAST_BINOP) argument
110 #define isunary(op) (op >= FIRST_UNOP && op <= LAST_UNOP) argument
225 register int op; /* Current operator */ in eval() local
[all …]
/trunk/main/sal/osl/unx/
H A Dsemaphor.c248 struct sembuf op; in osl_acquireSemaphore() local
251 op.sem_num= 0; in osl_acquireSemaphore()
252 op.sem_op= -1; in osl_acquireSemaphore()
253 op.sem_flg= SEM_UNDO; in osl_acquireSemaphore()
255 return semop(pSem->m_Id, &op, 1) >= 0; in osl_acquireSemaphore()
272 struct sembuf op; in osl_tryToAcquireSemaphore() local
275 op.sem_num= 0; in osl_tryToAcquireSemaphore()
276 op.sem_op= -1; in osl_tryToAcquireSemaphore()
277 op.sem_flg= SEM_UNDO | IPC_NOWAIT; in osl_tryToAcquireSemaphore()
279 return semop(pSem->m_Id, &op, 1) >= 0; in osl_tryToAcquireSemaphore()
[all …]
/trunk/main/ucb/source/ucp/gio/
H A Dgio_mount.cxx31 static void ooo_mount_operation_ask_password (GMountOperation *op,
35 static void ooo_mount_operation_init (OOoMountOperation *op) in ooo_mount_operation_init() argument
37 op->m_pPrevPassword = NULL; in ooo_mount_operation_init()
38 op->m_pPrevUsername = NULL; in ooo_mount_operation_init()
63 static void ooo_mount_operation_ask_password (GMountOperation *op, in ooo_mount_operation_ask_password() argument
69 OOoMountOperation *pThis = (OOoMountOperation*)op; in ooo_mount_operation_ask_password()
78 g_mount_operation_reply (op, G_MOUNT_OPERATION_ABORTED); in ooo_mount_operation_ask_password()
127 g_mount_operation_reply (op, G_MOUNT_OPERATION_ABORTED); in ooo_mount_operation_ask_password()
134 g_mount_operation_reply (op, G_MOUNT_OPERATION_ABORTED); in ooo_mount_operation_ask_password()
143 …g_mount_operation_set_username(op, rtl::OUStringToOString(aUserName, RTL_TEXTENCODING_UTF8).getStr… in ooo_mount_operation_ask_password()
[all …]
/trunk/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/
H A DFormulaParser.java139 private boolean isLogicalOp(String op) { in isLogicalOp() argument
140 return ((op.compareTo(">") == 0) || in isLogicalOp()
141 (op.compareTo("<") == 0) || in isLogicalOp()
142 (op.compareTo(">=") == 0) || in isLogicalOp()
143 (op.compareTo("<=") == 0) || in isLogicalOp()
144 (op.compareTo("=") == 0) || in isLogicalOp()
145 (op.compareTo("<>") == 0)); in isLogicalOp()
403 String op = new String(); in getLogicalOperator() local
407 op += look; in getLogicalOperator()
411 return op; in getLogicalOperator()
[all …]
/trunk/main/soltools/cpp/
H A D_eval.c248 enum toktype ops[NSTAK], *op; variable
277 op = ops; in eval()
278 *op++ = END; in eval()
306 *op++ = tp->type; in eval()
317 *op++ = UMINUS; in eval()
349 *op++ = tp->type; in eval()
356 *op++ = LP; in eval()
364 if (op <= ops || op[-1] != LP) in eval()
368 op--; in eval()
380 *op++ = ARCHITECTURE; in eval()
[all …]
H A D_macro.c736 char *op; in builtin() local
755 op = outptr; in builtin()
756 *op++ = '"'; in builtin()
762 op = outnum(op - 1, s->line); in builtin()
769 while ((*op++ = *src++) != 0) in builtin()
771 *op++ = '\\'; in builtin()
772 op--; in builtin()
777 strncpy(op, curtime + 4, 7); in builtin()
778 strncpy(op + 7, curtime + 20, 4); in builtin()
779 op += 11; in builtin()
[all …]
/trunk/main/x11_extensions/inc/
H A DXrender.h277 int op,
316 int op,
330 int op,
344 int op,
358 int op,
371 int op,
384 int op,
397 int op,
407 int op,
415 int op,
[all …]
H A Drenderproto.h303 CARD8 op; member
343 CARD8 op; member
359 CARD8 op; member
375 CARD8 op; member
391 CARD8 op; member
455 CARD8 op; member
477 CARD8 op; member
/trunk/main/oox/source/token/
H A Dtokens.pl25 $op = shift @ARGV;
26 die "Error: invalid operation" unless( $op >= 1 && $op <= 3);
28 if( $op == 3 ) {
60 if( $op == 1 ) {
62 } elsif( $op == 2 ) {
64 } elsif( $op == 3 ) {
71 if( $op == 1 ) {
73 } elsif( $op == 3 ) {
H A Dproperties.pl25 $op = shift @ARGV;
26 die "Error: invalid operation" unless( $op >= 1 && $op <= 2);
40 if( $op == 1 ) {
42 } elsif( $op == 2 ) {
49 if( $op == 1 ) {
51 } elsif( $op == 2 ) {
H A Dnamespaces.pl25 $op = shift @ARGV;
26 die "Error: invalid operation" unless( $op >= 1 && $op <= 3);
31 if( $op == 1 ) {
50 if( $op == 1 ) { print( "const sal_Int32 NMSP_$1 = $i << NMSP_SHIFT;\n" ); }
51 elsif( $op == 2 ) { print( "{ $id, \"$2\" },\n" ); }
52 elsif( $op == 3 ) { print( "$id $1 $2\n" ); }
/trunk/test/aoo-test/tests/selftest/
H A Dtest_fetch.py48 op = Opener()
49 assert fetch.fetch(cache=tmp_path, opener=op, items=[ITEM]) == {"x": "downloaded"}
51 assert fetch.fetch(cache=tmp_path, opener=op, items=[ITEM]) == {"x": "present"}
52 assert len(op.calls) == 1
72 op = Opener()
73 assert fetch.fetch(offline=True, cache=tmp_path, opener=op, items=[ITEM]) == {"x": "missing"}
74 assert op.calls == []
85 op = Opener()
86 … assert fetch.fetch(cache=tmp_path, opener=op, items=[http])["x"].startswith("failed: only https")
87 assert op.calls == []
/trunk/test/odf-validate/fixtures/calc/
H A Dmake.py76 def setval(cell, typ, op, f1, f2, alert="STOP", show_list=1, ignore=True, inp=("", ""), err=("", ""… argument
79 v.setOperator(E("ConditionOperator", op))
121 for op in OPS:
123 … cases.append(("%s/%s" % (t, op), (t, op, f1, f2 if op in ("BETWEEN", "NOT_BETWEEN") else ""), {}))
126 for op in OPS:
127 cases.append(("CUSTOM/%s" % op, ("CUSTOM", op, "$Sheet1.$B$1>0", ""), {}))
128 cases.append(("LIST/%s" % op, ("LIST", op, '"a";"b";"c"', ""), {}))
129 cases.append(("ANY/%s" % op, ("ANY", op, "", ""), {"err": ("t", "m")}))
159 for op in ("EQUAL", "BETWEEN", "NOT_BETWEEN"):
160 cases.append(("%s/%s/f1-empty" % (t, op), (t, op, "", "7"), {}))
[all …]
/trunk/test/aoo-test/src/aootest_worker/fixtures/
H A Dcalc.py76 def setval(cell, typ, op, f1, f2, alert="STOP", show_list=1, ignore=True, inp=("", ""), err=("", ""… argument
79 v.setOperator(E("ConditionOperator", op))
121 for op in OPS:
123 … cases.append(("%s/%s" % (t, op), (t, op, f1, f2 if op in ("BETWEEN", "NOT_BETWEEN") else ""), {}))
126 for op in OPS:
127 cases.append(("CUSTOM/%s" % op, ("CUSTOM", op, "$Sheet1.$B$1>0", ""), {}))
128 cases.append(("LIST/%s" % op, ("LIST", op, '"a";"b";"c"', ""), {}))
129 cases.append(("ANY/%s" % op, ("ANY", op, "", ""), {"err": ("t", "m")}))
159 for op in ("EQUAL", "BETWEEN", "NOT_BETWEEN"):
160 cases.append(("%s/%s/f1-empty" % (t, op), (t, op, "", "7"), {}))
[all …]
/trunk/test/aoo-test/src/aootest_worker/
H A Dproto.py57 rid, op, args = req["id"], req["op"], req.get("args") or {}
61 if op == "shutdown":
66 if op == "ping":
68 elif op in ops:
70 inspect.signature(ops[op]).bind(**args)
72 raise Fail("bad_args", "%s: %s" % (op, e))
73 result = ops[op](**args)
75 raise Fail("bad_args", "unknown op %r" % op)
/trunk/main/sot/source/sdstor/
H A Dstgdir.cxx590 StgDirEntry* op = aOIter.First(); in Revert() local
591 while( op ) in Revert()
593 op->aEntry = op->aSave; in Revert()
594 op->bDirty = sal_False; in Revert()
595 bSomeRenamed = sal_Bool( bSomeRenamed | op->bRenamed ); in Revert()
597 if( op->bCreated ) in Revert()
599 op->bCreated = sal_False; in Revert()
600 op->Close(); in Revert()
601 op->bInvalid = sal_True; in Revert()
604 else if( op->bRemoved ) in Revert()
[all …]
/trunk/main/configmgr/source/
H A Dxcuparser.cxx274 Operation op = OPERATION_MODIFY; in handleComponentData() local
314 op = parseOperation(reader.getAttributeValue(true)); in handleComponentData()
361 switch (op) { in handleComponentData()
536 Operation op = OPERATION_FUSE; in handleLocpropValue() local
580 op = parseOperation(reader.getAttributeValue(true)); in handleLocpropValue()
607 switch (op) { in handleLocpropValue()
659 Operation op = OPERATION_MODIFY; in handleGroupProp() local
679 op = parseOperation(reader.getAttributeValue(true)); in handleGroupProp()
706 handleUnknownGroupProp(reader, group, name, type, op, finalized); in handleGroupProp()
710 handlePlainGroupProp(reader, group, i, name, type, op, finalized); in handleGroupProp()
[all …]
/trunk/main/offapi/com/sun/star/sheet/
H A DFormulaMapGroupSpecialOffset.idl43 /** Formula tokens containing the op-code obtained from this offset
73 /** Formula tokens containing the op-code obtained from this offset
84 /** Formula tokens containing the op-code obtained from this offset
97 /** Formula tokens containing the op-code obtained from this offset
112 /** Formula tokens containing the op-code obtained from this offset
122 /** Formula tokens containing the op-code obtained from this offset
127 "missing" op-code.</p>
136 /** Formula tokens containing the op-code obtained from this offset
148 /** Formula tokens containing the op-code obtained from this offset
171 /** Formula tokens containing the op-code obtained from this offset
[all …]
/trunk/main/toolkit/src2xml/source/
H A Dexpression.py38 chars += node.op
54 self.op = None
74 self.ptr.op = token
80 self.ptr.op = token
86 self.ptr.op = token
92 self.ptr.right.op = token
/trunk/main/vcl/unx/generic/window/
H A Dsalobj.cxx294 const int op = ShapeSet; in ResetClipRegion() local
317 op, ordering ); in ResetClipRegion()
344 int op; in EndSetClipRegion() local
349 op = ShapeSet; in EndSetClipRegion()
352 op = ShapeSubtract; in EndSetClipRegion()
355 op = ShapeSet; in EndSetClipRegion()
358 op = ShapeUnion; in EndSetClipRegion()
369 op, ordering ); in EndSetClipRegion()
/trunk/main/setup_native/source/win32/customactions/reg64/
H A Dreg64.cxx82 bool WriteRegistry( MSIHANDLE & hMSI, OPERATION op, const wchar_t* componentName) in WriteRegistry() argument
115 switch (op) in WriteRegistry()
280 bool DoRegEntries( MSIHANDLE& rhMSI, OPERATION op, MSIHANDLE& rhView) in DoRegEntries() argument
395 switch (op) in DoRegEntries()
425 bool Reg64(MSIHANDLE& rhMSI, OPERATION op) in Reg64() argument
441 DoRegEntries( rhMSI, op, hView); in Reg64()
/trunk/main/solenv/inc/
H A Dos2.mk277 LINKFLAGS=op symf op caseexact op statics op MANY
282 LINKFLAGSTACK=op stack=
284 LINKFLAGSDEBUG=debug all op undefsok
/trunk/test/aoo-test/src/aootest/
H A Dclient.py170 def call(self, op, args=None, timeout=60.0): argument
177 …data = json.dumps({"id": rid, "op": op, "args": args or {}, "timeout": timeout}).encode("utf-8") +…
183 msg = self._parse(self._next(op, timeout), op)
185 … self._fail_protocol("%s: reply does not match request %d: %r" % (op, rid, str(msg)[:120]))
/trunk/main/oox/source/export/
H A Dpreset-definitions-to-shape-types.pl695 my $op = $conv_op_ref->[$i];
697 $op =~ s/__last_x__/$last_pos_x/g;
698 $op =~ s/__last_y__/$last_pos_y/g;
699 $op =~ s/__wR__/$wR/g;
700 $op =~ s/__hR__/$hR/g;
702 my $fmla = insert_formula( "", $op );
/trunk/main/solenv/bin/
H A Dthrowspec.py216 op = skip_fwd(text, m, mo.end())
217 if op >= len(text) or text[op] != '(':
219 cl = match_paren(text, m, op)
227 inner_a, inner_b = op + 1, cl
230 a = skip_fwd(text, m, op + 1)

1234