Searched refs:new (Results 126 - 150 of 2217) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/modules/performance/
H A DWorkerPerformance.h49 return new WorkerPerformance();
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/
H A Dprettify.rb7 $LOAD_PATH << Pathname.new(__FILE__).dirname.realpath.to_s
14 OptionParser.new do |opts|
H A Ddiff.rb3 Match = Struct.new(:start_in_old, :start_in_new, :size)
14 Operation = Struct.new(:action, :start_in_old, :end_in_old, :start_in_new, :end_in_new)
30 @word_indices = Hash.new { |h, word| h[word] = [] }
41 matches << Match.new(@old_words.length, @new_words.length, 0)
62 Operation.new(action_upto_match_positions,
68 match_operation = Operation.new(:equal,
108 match_length_at = Hash.new { |h, index| h[index] = 0 }
112 new_match_length_at = Hash.new { |h, index| h[index] = 0 }
135 return (best_match_size != 0 ? Match.new(best_match_in_old, best_match_in_new, best_match_size) : nil)
/external/chromium_org/third_party/icu/source/common/unicode/
H A Duobject.h33 * UMemory operator new methods should have the throw() specification
35 * before calling constructors. Without, if <code>operator new</code> returns NULL the
100 * C++ memory management by adding new/delete operators to this base class.
125 * they or something else could be used here to implement C++ new/delete
129 static void * U_EXPORT2 operator new(size_t size) U_NO_THROW;
133 * See new().
136 static void * U_EXPORT2 operator new[](size_t size) U_NO_THROW;
142 * they or something else could be used here to implement C++ new/delete
158 * See new().
161 static inline void * U_EXPORT2 operator new(size_
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dscoped_autorelease_pool.h12 // an instance of this class using "new" - that will result in a compile-time
42 // Declaring private overrides of new and delete here enforces the "only use
45 // Note: new is declared as "throw()" to get around a gcc warning about new
48 void* operator new(size_t size) throw() { return NULL; }
/external/chromium_org/v8/src/
H A Dallocation.h18 // Superclass for classes managed with new & delete.
21 void* operator new(size_t size) { return New(size); }
32 // superclass. The macro prevents the use of new & delete in debug mode.
40 void* operator new(size_t size);
53 void* operator new(size_t size);
61 T* result = new T[size];
74 // and StrNDup uses new and calls the FatalProcessOutOfMemory handler
/external/clang/lib/Index/
H A DSimpleFormatContext.h38 : DiagOpts(new DiagnosticOptions()),
39 Diagnostics(new DiagnosticsEngine(new DiagnosticIDs,
44 Diagnostics->setClient(new IgnoringDiagConsumer, true);
/external/clang/test/Modules/Inputs/
H A Dcxx-decls-imported.h22 void *operator new[](__SIZE_TYPE__);
/external/elfutils/0.153/config/
H A DMakefile.am45 sed "/^%changelog/r $$tmpname" $@ > $@.new; \
47 mv -f $@.new $@
/external/icu/icu4c/source/common/unicode/
H A Duobject.h33 * UMemory operator new methods should have the throw() specification
35 * before calling constructors. Without, if <code>operator new</code> returns NULL the
100 * C++ memory management by adding new/delete operators to this base class.
125 * they or something else could be used here to implement C++ new/delete
129 static void * U_EXPORT2 operator new(size_t size) U_NO_THROW;
133 * See new().
136 static void * U_EXPORT2 operator new[](size_t size) U_NO_THROW;
142 * they or something else could be used here to implement C++ new/delete
158 * See new().
161 static inline void * U_EXPORT2 operator new(size_
[all...]
/external/valgrind/main/massif/tests/
H A Ddeep-B.stderr.exp4 Massif: operator new(unsigned)
5 Massif: operator new(unsigned long)
7 Massif: operator new[](unsigned)
8 Massif: operator new[](unsigned long)
14 Massif: operator new(unsigned, std::nothrow_t const&)
15 Massif: operator new[](unsigned, std::nothrow_t const&)
16 Massif: operator new(unsigned long, std::nothrow_t const&)
17 Massif: operator new[](unsigned long, std::nothrow_t const&)
H A Drealloc.stderr.exp4 Massif: operator new(unsigned)
5 Massif: operator new(unsigned long)
7 Massif: operator new[](unsigned)
8 Massif: operator new[](unsigned long)
14 Massif: operator new(unsigned, std::nothrow_t const&)
15 Massif: operator new[](unsigned, std::nothrow_t const&)
16 Massif: operator new(unsigned long, std::nothrow_t const&)
17 Massif: operator new[](unsigned long, std::nothrow_t const&)
H A Dnew-cpp.post.exp2 Command: ./new-cpp
44 99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
45 ->33.24% (4,000B) 0x........: main (new-cpp.cpp:19)
47 ->33.24% (4,000B) 0x........: main (new-cpp.cpp:20)
49 ->16.62% (2,000B) 0x........: main (new-cpp.cpp:21)
51 ->16.62% (2,000B) 0x........: main (new-cpp.cpp:22)
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
H A DIDBKey.h43 return new IDBKey();
48 return new IDBKey(NumberType, number);
53 return new IDBKey(binary);
58 return new IDBKey(string);
63 return new IDBKey(DateType, date);
85 IDBKey* idbKey = new IDBKey(result);
92 return new IDBKey(array);
/external/chromium_org/base/memory/
H A Dmanual_constructor.h35 static void* operator new[](size_t size) {
61 new(space_.void_data()) Type;
66 new(space_.void_data()) Type(p1);
71 new(space_.void_data()) Type(p1, p2);
76 new(space_.void_data()) Type(p1, p2, p3);
81 new(space_.void_data()) Type(p1, p2, p3, p4);
87 new(space_.void_data()) Type(p1, p2, p3, p4, p5);
94 new(space_.void_data()) Type(p1, p2, p3, p4, p5, p6);
101 new(space_.void_data()) Type(p1, p2, p3, p4, p5, p6, p7);
108 new(space
[all...]
/external/chromium_org/cc/test/
H A Dfake_output_surface.h26 return make_scoped_ptr(new FakeOutputSurface(
32 return make_scoped_ptr(new FakeOutputSurface(context_provider, false));
37 return make_scoped_ptr(new FakeOutputSurface(
43 return make_scoped_ptr(new FakeOutputSurface(software_device.Pass(),
48 return make_scoped_ptr(new FakeOutputSurface(
54 return make_scoped_ptr(new FakeOutputSurface(context_provider, true));
59 return make_scoped_ptr(new FakeOutputSurface(
66 new FakeOutputSurface(software_device.Pass(), true));
73 new FakeOutputSurface(software_device.Pass(), delegated_rendering));
86 scoped_ptr<FakeOutputSurface> surface(new FakeOutputSurfac
[all...]
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
H A DFile.h57 return adoptRefWillBeNoop(new File(path, policy, File::IsUserVisible));
62 return adoptRefWillBeNoop(new File(name, modificationTime, blobDataHandle));
68 return adoptRefWillBeNoop(new File(path, name, relativePath, userVisibility, hasSnaphotData, size, lastModified, blobDataHandle));
72 return adoptRefWillBeNoop(new File(path, name, String(), IsNotUserVisible, true, size, lastModified, blobDataHandle));
82 return adoptRefWillBeNoop(new File(name, metadata, userVisibility));
87 return adoptRefWillBeNoop(new File(url, metadata));
96 return adoptRefWillBeNoop(new File(path, File::AllContentTypes, File::IsUserVisible));
97 return adoptRefWillBeNoop(new File(path, displayName, File::AllContentTypes, File::IsUserVisible));
103 return adoptRefWillBeNoop(new File(path, policy, File::IsNotUserVisible));
104 return adoptRefWillBeNoop(new Fil
[all...]
/external/chromium_org/third_party/skia/bench/
H A Dbench_compare.py15 print '-n <file> the new bench output file.'
29 print ' n: new time'
39 def __init__(self, old, new):
41 self.new = new
42 self.diff = old.time - new.time
50 str(self.new),
65 new = None
78 new = value
93 if old is None or new i
[all...]
/external/skia/bench/
H A Dbench_compare.py15 print '-n <file> the new bench output file.'
29 print ' n: new time'
39 def __init__(self, old, new):
41 self.new = new
42 self.diff = old.time - new.time
50 str(self.new),
65 new = None
78 new = value
93 if old is None or new i
[all...]
/external/ipsec-tools/src/racoon/
H A Dthrottle.c124 * No match, if auth failed, allocate a new throttle entry
144 time_t new; local
147 new = remaining + isakmp_cfg_config.auth_throttle;
149 if (new > THROTTLE_PENALTY_MAX)
150 new = THROTTLE_PENALTY_MAX;
152 te->penalty = now + new;
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dcallchain.c166 * Create a child for a parent. If inherit_children, then the new child
167 * will become the new parent of it's parent children
172 struct callchain_node *new; local
174 new = zalloc(sizeof(*new));
175 if (!new) {
179 new->parent = parent;
180 INIT_LIST_HEAD(&new->children);
181 INIT_LIST_HEAD(&new->val);
186 list_splice(&parent->children, &new
235 struct callchain_node *new; local
255 struct callchain_node *new; local
[all...]
/external/openfst/src/include/fst/script/
H A Dmap.h33 VectorFst<ToArc> *ofst = new VectorFst<ToArc>;
42 VectorFst<ToArc> *ofst = new VectorFst<ToArc>;
67 args->retval = new FstClass(*(fst =
70 args->retval = new FstClass(*(fst =
73 args->retval = new FstClass(*(fst =
76 args->retval = new FstClass(*(fst =
79 args->retval = new FstClass(*(fst =
82 args->retval = new FstClass(*(fst =
85 args->retval = new FstClass(*(fst =
88 args->retval = new FstClas
[all...]
/external/pdfium/core/include/fxcrt/
H A Dfx_memory.h65 #define FX_NEW new(__FILE__, __LINE__)
68 #define FX_NEW new
74 void* operator new (size_t size, FX_LPCSTR file, int line);
78 void* operator new (size_t size);
82 void* operator new[] (size_t size, FX_LPCSTR file, int line);
86 void* operator new[] (size_t size);
90 void* operator new (size_t, void* buf)
101 for (int i = 0; i < (Count); i ++) new (Pointer + i) Class; \
151 inline void* operator new(size_t size, IFX_Allocator* fxAllocator)
159 ::new(fxAllocato
[all...]
/external/dnsmasq/src/
H A Dnetwork.c394 * to create just a single new listener dynamically when our interface
397 * iface - input of the new interface details to listen on
398 * listeners - output. Creates a new struct listener and inserts at head of the list
409 struct listener *new = safe_malloc(sizeof(struct listener)); local
410 new->family = iface->addr.sa.sa_family;
411 new->iface = iface;
412 new->next = *listeners;
413 new->tftpfd = -1;
414 new->tcpfd = -1;
415 new
847 struct server *new, *tmp, *ret = NULL; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DStyleRule.h103 static PassRefPtrWillBeRawPtr<StyleRule> create() { return adoptRefWillBeNoop(new StyleRule()); }
115 PassRefPtrWillBeRawPtr<StyleRule> copy() const { return adoptRefWillBeNoop(new StyleRule(*this)); }
131 static PassRefPtrWillBeRawPtr<StyleRuleFontFace> create() { return adoptRefWillBeNoop(new StyleRuleFontFace); }
140 PassRefPtrWillBeRawPtr<StyleRuleFontFace> copy() const { return adoptRefWillBeNoop(new StyleRuleFontFace(*this)); }
153 static PassRefPtrWillBeRawPtr<StyleRulePage> create() { return adoptRefWillBeNoop(new StyleRulePage); }
165 PassRefPtrWillBeRawPtr<StyleRulePage> copy() const { return adoptRefWillBeNoop(new StyleRulePage(*this)); }
198 return adoptRefWillBeNoop(new StyleRuleMedia(media, adoptRules));
203 PassRefPtrWillBeRawPtr<StyleRuleMedia> copy() const { return adoptRefWillBeNoop(new StyleRuleMedia(*this)); }
218 return adoptRefWillBeNoop(new StyleRuleSupports(conditionText, conditionIsSupported, adoptRules));
223 PassRefPtrWillBeRawPtr<StyleRuleSupports> copy() const { return adoptRefWillBeNoop(new StyleRuleSupport
[all...]

Completed in 785 milliseconds

1234567891011>>