/external/antlr/runtime/C/include/ |
antlr3rewritestreams.h | 92 /// 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 123 /// subtree. Dup'ing a token means just creating another AST node 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/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
RewriteRuleElementStream.java | 58 /** Once a node / subtree has been used in a stream, it must be dup'd 61 * If dirty, then next() always returns a dup. 135 * size==1. If we've already used the element, dup (dirty bit set). 140 // if out of elements and size is 1, dup 142 return dup(el); 161 if ( n ==1 ) { // if size is 1, it's ok; return and we'll dup 164 // out of elements and size was not 1, so we can't dup 178 /** When constructing trees, sometimes we need to dup a token or AST 179 * subtree. Dup'ing a token means just creating another AST node 181 * the element is for a tree root; then it must be a node dup 183 protected abstract Object dup(Object el); method in class:RewriteRuleElementStream [all...] |
/external/bcc/src/cc/ |
table_desc.h | 40 /// owned by this table are not implicitly copyable. One should call the dup() 47 fd(that.fd.dup()), 87 TableDesc dup() const { return TableDesc(*this); } function in class:ebpf::TableDesc
|
/external/catch2/include/internal/ |
catch_output_redirect.cpp | 20 #define dup _dup macro 24 #include <unistd.h> // dup and dup2 113 m_originalStdout(dup(1)), 114 m_originalStderr(dup(2)), 143 #undef dup macro
|
/external/icu/icu4c/source/common/ |
cstring.cpp | 317 char *dup = (char *) uprv_malloc(len); local 319 if (dup) { 320 uprv_memcpy(dup, src, len); 323 return dup; 328 char *dup; local 331 dup = uprv_strdup(src); 333 dup = (char*)uprv_malloc(n+1); 334 if (dup) { 335 uprv_memcpy(dup, src, n); 336 dup[n] = 0 [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/ |
CoverageBuilder.java | 104 final IClassCoverage dup = classes.put(name, coverage); local 105 if (dup != null) { 106 if (dup.getId() != coverage.getId()) {
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
anno.py | 143 def dup(node, copy_map, field_name='___pyct_anno'): function
|
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/ |
main.c | 83 char *dup = malloc(n); local 84 if (dup) { 85 strcpy(dup, str); 87 return dup;
|
/external/libusb/tests/ |
testlib.c | 38 #define dup _dup macro 114 ctx->old_stdout = dup(STDOUT_FILENO); 120 ctx->old_stderr = dup(STDERR_FILENO);
|
/external/perfetto/include/perfetto/base/ |
string_writer.h | 128 char* dup = reinterpret_cast<char*>(malloc(pos_ + 1)); local 129 if (dup) { 130 strncpy(dup, buffer_, pos_); 131 dup[pos_] = '\0'; 133 return dup;
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
CodedOutputStreamTest.java | 135 ByteBuffer dup = buffer.duplicate(); local 136 dup.position(initialPosition); 137 dup.limit(buffer.position()); 139 byte[] bytes = new byte[dup.remaining()]; 140 dup.get(bytes); 173 ByteBuffer dup = buffer.duplicate(); local 174 dup.position(initialPosition); 175 dup.limit(buffer.position()); 177 byte[] bytes = new byte[dup.remaining()]; 178 dup.get(bytes) [all...] |
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
RubyMessage.java | 249 * Message.dup => new_message 253 public IRubyObject dup(ThreadContext context) { method in class:RubyMessage 254 RubyMessage dup = (RubyMessage) metaClass.newInstance(context, Block.NULL_BLOCK); local 258 dup.addRepeatedField(fieldDescriptor, this.getRepeatedField(context, fieldDescriptor)); 260 dup.fields.put(fieldDescriptor, fields.get(fieldDescriptor)); 262 dup.fields.put(fieldDescriptor, wrapField(context, fieldDescriptor, this.builder.getField(fieldDescriptor))); 266 dup.maps.put(fieldDescriptor, maps.get(fieldDescriptor)); 268 return dup; [all...] |
RubyMap.java | 327 * Map.dup => new_map 333 public IRubyObject dup(ThreadContext context) { method in class:RubyMap 353 newMap.table.put(key.dup(), message.deepCopy(context)); 358 newMap.table.put(key.dup(), table.get(key).dup());
|
/external/squashfs-tools/squashfs-tools/ |
process_fragments.c | 354 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/antlr/tool/src/test/java/org/antlr/test/ |
TestTrees.java | 163 CommonTree dup = (CommonTree)(new CommonTreeAdaptor()).dupTree(r0); local 165 assertNull(dup.parent); 166 assertEquals(-1, dup.childIndex); 167 dup.sanityCheckParentAndChildIndexes();
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
socket.py | 180 # a platform-independent dup() functionality. The
210 def dup(self):
member in class:_socketobject 211 """dup() -> socket object
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
socket.py | 176 # a platform-independent dup() functionality. The
206 def dup(self):
member in class:_socketobject 207 """dup() -> socket object
|
/external/clang/test/Analysis/ |
taint-generic.c | 103 char *dup; local 104 dup = strndup(s, 20); 105 setproctitle(dup, 3); // expected-warning {{Uncontrolled Format String}}
|
/external/gemmlowp/internal/ |
simd_wrappers.h | 472 const RegisterType dup = Dup<RegisterType>(ConstantValue); local 474 block->buf.reg[i] = Add(block->buf.reg[i], dup);
|
/external/ltp/utils/ffsb-6.0-rc2/ |
util.c | 85 char *dup = ffsb_malloc(len + 1); local 87 strncpy(dup, str, len + 1); 88 return dup;
|
/external/proguard/src/proguard/evaluation/ |
Stack.java | 366 public void dup() method in class:Stack
|
/external/python/cpython2/Lib/bsddb/ |
dbshelve.py | 303 def dup(self, flags=0): member in class:DBShelfCursor 304 c = DBShelfCursor(self.dbc.dup(flags))
|
/external/python/cpython2/Lib/ |
socket.py | 180 # a platform-independent dup() functionality. The 210 def dup(self): member in class:_socketobject 211 """dup() -> socket object
|
/external/python/cpython3/Lib/ |
socket.py | 194 def dup(self): member in class:socket 195 """dup() -> socket object 200 fd = dup(self.fileno()) 463 nfd = dup(fd)
|
/external/sonivox/arm-wt-22k/misc/ |
eas_host.c | 18 * 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;
|