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

123

/external/bison/lib/
H A Dunistd--.h23 #undef dup macro
24 #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/chromium_org/third_party/WebKit/Source/wtf/
H A DFastMalloc.cpp54 char* dup = static_cast<char*>(fastMalloc(len)); local
55 memcpy(dup, src, len);
56 return dup;
/external/chromium_org/third_party/boringssl/src/crypto/digest/
H A Dinternal.h103 /* dup is called when an |EVP_MD_CTX| is copied and so the |pctx| also needs
105 EVP_PKEY_CTX* (*dup) (EVP_PKEY_CTX *pctx); member in struct:evp_md_pctx_ops
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_memory.h73 void *dup = MALLOC(size); local
74 if (dup)
75 memcpy(dup, src, size);
76 return dup;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_memory.h73 void *dup = MALLOC(size); local
74 if (dup)
75 memcpy(dup, src, size);
76 return dup;
/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/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_wrap_newlib.cc61 OP(fdio, dup); \
99 int WRAP(dup)(int fd, int* newfd) { function
/external/chromium_org/third_party/icu/source/common/
H A Dcstring.c315 char *dup = (char *) uprv_malloc(len); local
317 if (dup) {
318 uprv_memcpy(dup, src, len);
321 return dup;
326 char *dup; local
329 dup = uprv_strdup(src);
331 dup = (char*)uprv_malloc(n+1);
332 if (dup) {
333 uprv_memcpy(dup, src, n);
334 dup[
[all...]
/external/icu/icu4c/source/common/
H A Dcstring.c315 char *dup = (char *) uprv_malloc(len); local
317 if (dup) {
318 uprv_memcpy(dup, src, len);
321 return dup;
326 char *dup; local
329 dup = uprv_strdup(src);
331 dup = (char*)uprv_malloc(n+1);
332 if (dup) {
333 uprv_memcpy(dup, src, n);
334 dup[
[all...]
/external/proguard/src/proguard/evaluation/
H A DTracedStack.java202 public void dup() method in class:TracedStack
204 super.dup();
H A DStack.java366 public void dup() method in class:Stack
/external/chromium_org/chrome/browser/ui/app_list/search/
H A Dmixer_unittest.cc178 const std::string dup = "dup"; local
181 app_provider()->set_prefix(dup);
185 omnibox_provider()->set_prefix(dup);
189 webstore_provider()->set_prefix(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/bison/darwin-lib/
H A Dunistd.h88 They also declare access(), chmod(), close(), dup(), dup2(), isatty(),
631 # define dup rpl_dup
633 _GL_FUNCDECL_RPL (dup, int, (int oldfd));
634 _GL_CXXALIAS_RPL (dup, int, (int oldfd));
636 _GL_CXXALIAS_SYS (dup, int, (int oldfd));
638 _GL_CXXALIASWARN (dup);
640 # undef dup macro
642 _GL_WARN_ON_USE (dup, "dup is unportable - "
643 "use gnulib module dup fo
[all...]
/external/bison/linux-lib/
H A Dunistd.h88 They also declare access(), chmod(), close(), dup(), dup2(), isatty(),
631 # define dup rpl_dup
633 _GL_FUNCDECL_RPL (dup, int, (int oldfd));
634 _GL_CXXALIAS_RPL (dup, int, (int oldfd));
636 _GL_CXXALIAS_SYS (dup, int, (int oldfd));
638 _GL_CXXALIASWARN (dup);
640 # undef dup macro
642 _GL_WARN_ON_USE (dup, "dup is unportable - "
643 "use gnulib module dup fo
[all...]
/external/chromium_org/base/strings/
H A Dstring_util_unittest.cc606 va_list dup; local
607 GG_VA_COPY(dup, org);
614 int i2 = va_arg(dup, int);
615 int j2 = va_arg(dup, int);
616 char* s2 = va_arg(dup, char*);
617 double d2 = va_arg(dup, double);
624 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;

Completed in 1313 milliseconds

123