Searched defs:dup (Results 1 - 25 of 49) sorted by relevance

12

/external/bison/lib/
H A Dunistd--.h24 #undef dup macro
25 #define dup dup_safer macro
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DRewriteRuleNodeStream.java65 protected Object dup(Object el) { method in class:RewriteRuleNodeStream
66 // we dup every node, so don't have to worry about calling dup; short-
68 throw new UnsupportedOperationException("dup can't be called for a node stream.");
H A DRewriteRuleSubtreeStream.java58 * must dup the type node, but ID has been added.
60 * Referencing a rule result twice is ok; dup entire tree as
64 * a proper way to refactor. This needs to always call dup node
65 * and super.next() doesn't know which to call: dup node or dup tree.
71 // if out of elements and size is 1, dup (at most a single node
81 Object el = adaptor.dupNode(tree); // dup just the root (want node here)
85 protected Object dup(Object el) { method in class:RewriteRuleSubtreeStream
H A DRewriteRuleTokenStream.java73 protected Object dup(Object el) { method in class:RewriteRuleTokenStream
74 throw new UnsupportedOperationException("dup can't be called for a token stream.");
H A DRewriteRuleElementStream.java58 /** Once a node / subtree has been used in a stream, it must be dup'd
61 * If dirty, then next() always returns a dup.
134 * size==1. If we've already used the element, dup (dirty bit set).
139 // if out of elements and size is 1, dup
141 return dup(el);
160 if ( n ==1 ) { // if size is 1, it's ok; return and we'll dup
163 // out of elements and size was not 1, so we can't dup
177 /** When constructing trees, sometimes we need to dup a token or AST
180 * the element is for a tree root; then it must be a node dup.
182 protected abstract Object dup(Objec method in class:RewriteRuleElementStream
[all...]
/external/oprofile/daemon/
H A Dopd_extended.h51 int (*dup)(struct sfile *, struct sfile *); member in struct:opd_ext_sfile_handlers
/external/stlport/test/eh/
H A DLeakCheck.h72 Value dup = v; local
77 op( dup );
84 CheckInvariant(dup);
153 Value dup = v; local
159 op( dup );
166 bool unchanged = (dup == v);
174 EH_STD::copy(dup.begin(), dup.end(), o);
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3rewritestreams.h92 /// Once a node / subtree has been used in a stream, it must be dup'ed
95 /// If dirty, then next() always returns a dup.
122 /// When constructing trees, sometimes we need to dup a token or AST
126 void * (*dup) (struct ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct * stream, void * el); member in struct:ANTLR3_REWRITE_RULE_ELEMENT_STREAM_struct
141 /// must dup the type node, but ID has been added.
143 /// Referencing to a rule result twice is ok; dup entire tree as
/external/icu4c/common/
H A Dcstring.c304 char *dup = (char *) uprv_malloc(len); local
306 if (dup) {
307 uprv_memcpy(dup, src, len);
310 return dup;
315 char *dup; local
318 dup = uprv_strdup(src);
320 dup = (char*)uprv_malloc(n+1);
321 if (dup) {
322 uprv_memcpy(dup, src, n);
323 dup[
[all...]
/external/proguard/src/proguard/evaluation/
H A DTracedStack.java202 public void dup() method in class:TracedStack
204 super.dup();
H A DStack.java367 public void dup() method in class:Stack
/external/webkit/Source/JavaScriptCore/wtf/
H A DFastMalloc.cpp187 char* dup = static_cast<char*>(fastMalloc(len)); local
188 memcpy(dup, src, len);
189 return dup;
/external/clang/test/Analysis/
H A Dtaint-generic.c103 char *dup; local
104 dup = strndup(s, 20);
105 setproctitle(dup, 3); // expected-warning {{Uncontrolled Format String}}
/external/kernel-headers/original/linux/
H A Dsync.h32 * @dup: duplicate a sync_pt
56 struct sync_pt *(*dup)(struct sync_pt *pt); member in struct:sync_timeline_ops
/external/chromium/base/
H A Dstring_util_unittest.cc655 va_list dup; local
656 GG_VA_COPY(dup, org);
663 int i2 = va_arg(dup, int);
664 int j2 = va_arg(dup, int);
665 char* s2 = va_arg(dup, char*);
666 double d2 = va_arg(dup, double);
673 va_end(dup);
/external/libvorbis/vq/
H A Dvqgen.c92 long dup=0,unused=0; local
115 dup++;
138 fprintf(stderr,"cell diameter: %.03g::%.03g::%.03g (%ld unused/%ld dup)\n",
139 min,mean/acc,max,unused,dup);
/external/sonivox/arm-fm-22k/host_src/
H A Deas_hostmm.c25 * the dup flag, which when sets, indicates that the file handle has
78 * to malloc and free, the dup flag, and simply track
85 EAS_BOOL dup; member in struct:eas_hw_file_tag
254 file->dup = EAS_FALSE;
512 dupFile->dup = file->dup = EAS_TRUE;
543 if (file1->dup)
567 /* there is only one duplicate, clear the dup flag */
569 dupFile->dup = EAS_FALSE;
/external/sonivox/arm-hybrid-22k/host_src/
H A Deas_hostmm.c25 * the dup flag, which when sets, indicates that the file handle has
78 * to malloc and free, the dup flag, and simply track
85 EAS_BOOL dup; member in struct:eas_hw_file_tag
254 file->dup = EAS_FALSE;
512 dupFile->dup = file->dup = EAS_TRUE;
543 if (file1->dup)
567 /* there is only one duplicate, clear the dup flag */
569 dupFile->dup = EAS_FALSE;
/external/sonivox/arm-wt-22k/host_src/
H A Deas_hostmm.c19 * the dup flag, which when set, indicates that the file handle has
84 * to malloc and free, the dup flag, and simply track
91 EAS_BOOL dup; member in struct:eas_hw_file_tag
265 fd = dup(locator->fd);
290 file->dup = EAS_FALSE;
543 dupFile->dup = file->dup = EAS_TRUE;
574 if (file1->dup)
598 /* there is only one duplicate, clear the dup flag */
600 dupFile->dup
[all...]
/external/sonivox/arm-wt-22k/misc/
H A Deas_host.c18 * buffer, the position of the next byte of data to be read, the dup
91 EAS_BOOL dup; member in struct:eas_hw_file_tag
264 file->dup = EAS_FALSE;
637 dupfile->dup = file->dup = EAS_TRUE;
671 if (file1->dup)
694 /* there is only one duplicate, clear the dup flag */
696 dupFile->dup = EAS_FALSE;
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DGrammarAST.java460 public static GrammarAST dup(Tree t) { method in class:GrammarAST
471 return dup(this);
518 GrammarAST root = dup(t); // make copy of root
/external/quake/quake/src/WinQuake/
H A Dvid_dos.cpp575 int nummodes, i, j, column, row, dup; local
594 dup = 0;
603 dup = 1;
610 dup = 1;
617 if (!dup)
/external/tremolo/Tremolo/
H A Dframing.c1163 void ogg_page_dup(ogg_page *dup,ogg_page *orig){ argument
1164 dup->header_len=orig->header_len;
1165 dup->body_len=orig->body_len;
1166 dup->header=ogg_buffer_dup(orig->header);
1167 dup->body=ogg_buffer_dup(orig->body);
H A Dvorbisfile.c1120 ogg_page dup; local
1121 ogg_page_dup(&dup,&og);
1124 ogg_stream_pagein(work_os,&dup);
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dtree.py2591 # Once a node / subtree has been used in a stream, it must be dup'd
2594 # If dirty, then next() always returns a dup.
2651 size==1. If we've already used the element, dup (dirty bit set).
2657 # if out of elements and size is 1, dup
2659 return self.dup(el)
2679 if len(self) == 1: # if size is 1, it's ok; return and we'll dup
2682 # out of elements and size was not 1, so we can't dup
2696 def dup(self, el): member in class:RewriteRuleElementStream
2698 When constructing trees, sometimes we need to dup a token or AST
2701 the element is for a tree root; then it must be a node dup
2760 def dup(self, el): member in class:RewriteRuleTokenStream
2800 def dup(self, el): member in class:RewriteRuleSubtreeStream
2819 def dup(self, el): member in class:RewriteRuleNodeStream
[all...]

Completed in 1187 milliseconds

12