Searched defs:dup (Results 1 - 25 of 75) 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/boringssl/src/crypto/digest/
H A Dinternal.h102 /* dup is called when an |EVP_MD_CTX| is copied and so the |pctx| also needs
104 EVP_PKEY_CTX* (*dup) (EVP_PKEY_CTX *pctx); member in struct:evp_md_pctx_ops
/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/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/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.java33 * into account dup/swap instructions as proper instructions or ignoring them.
92 * dup/swap instructions, without disturbing it.
117 * dup/swap instructions, without disturbing it.
213 public void dup() method in class:TracedStack
215 super.dup();
221 actualProducerStack.dup();
H A DStack.java366 public void dup() method in class:Stack
/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/squashfs-tools/squashfs-tools/
H A Dprocess_fragments.c354 struct file_buffer *dup = malloc(sizeof(*dup)); local
355 if(dup == NULL)
357 memcpy(dup, file_buffer, sizeof(*dup));
359 dup->dupl_start = dupl_ptr;
360 dup->duplicate = TRUE;
361 file_buffer = dup;
/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/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/selinux/libsepol/src/
H A Dhierarchy.c61 avtab_datum_t *dup = avtab_search(avtab, avtab_key); local
63 if (!dup) {
67 dup->data |= datum->data;
75 dup = avtab_search(other, avtab_key);
76 if (dup) {
77 data = dup->data & datum->data;
79 dup = avtab_search(global, avtab_key);
80 if (!dup) {
87 dup->data |= data;
/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/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...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtree.rb288 stack.push( cursor.children.dup ) unless cursor.empty?
707 tree_node and tree_node.dup
859 from_token = from_token.dup
1189 return @nodes.dup
1278 return dup( __next__ )
1283 abstract :dup
1338 def dup( el ) method in class:ANTLR3.CommonTree.TreeAdaptor.CommonTreeNodeStream.each.RewriteRuleTokenStream
1339 raise TypeError, "dup can't be called for a token stream"
1358 def dup( el ) method in class:ANTLR3.CommonTree.TreeAdaptor.CommonTreeNodeStream.each.RewriteRuleSubtreeStream
1377 def dup( e method in class:ANTLR3.CommonTree.TreeAdaptor.CommonTreeNodeStream.each.RewriteRuleNodeStream
[all...]
/external/libxml2/
H A DSAX2.c1975 xmlChar *dup = NULL; local
2032 * the string has been dup'ed and terminates with 0
2075 dup = xmlSAX2DecodeAttrEntities(ctxt, value, valueend);
2076 if (dup == NULL) {
2086 dup = xmlStrndup(value, valueend - value);
2089 ctxt->myDoc, ctxt->node, ret, dup);
2093 * dup now contains a string of the flattened attribute
2109 ctxt->node, fullname, dup);
2116 xmlFree(dup);
2117 dup
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
H A DCodeEmitter.java213 public void dup() { mv.visitInsn(Constants.DUP); } method in class:CodeEmitter
691 dup();
783 dup();
826 dup();

Completed in 1237 milliseconds

123