/external/chromium/chrome/common/ |
H A D | jstemplate_builder.h | 20 namespace base { namespace 29 std::string GetTemplateHtml(const base::StringPiece& html_template, 31 const base::StringPiece& template_id); 36 std::string GetI18nTemplateHtml(const base::StringPiece& html_template, 42 std::string GetTemplatesHtml(const base::StringPiece& html_template, 44 const base::StringPiece& template_id); 58 void AppendJsTemplateProcessHtml(const base::StringPiece& template_id,
|
/external/v8/test/mjsunit/ |
H A D | negate.js | 32 var base = a * b; 33 assertEquals(-base, a * -b, "a * -b where a = " + a + ", b = " + b); 34 assertEquals(-base, -a * b, "-a * b where a = " + a + ", b = " + b); 35 assertEquals(base, -a * -b, "*-a * -b where a = " + a + ", b = " + b); 55 var base = v * w; variable 57 assertEquals(-base, -v * w); 59 assertEquals(base, -v * -w);
|
/external/astl/include/ |
H A D | iomanip | 46 struct SetBase { int base; }; 66 inline android::SetBase setbase(int base) { 68 params.base = base; 73 os.setf(params.base == 8 ? ios_base::oct : 74 params.base == 10 ? ios_base::dec : 75 params.base == 16 ? ios_base::hex :
|
/external/chromium/chrome/browser/net/ |
H A D | url_info.h | 23 #include "base/time.h" 25 #include "net/base/host_port_pair.h" 67 static const base::TimeDelta kMaxNonNetworkDnsLookupDuration; 74 static const base::TimeDelta kNullDuration; 89 static void set_cache_expiration(base::TimeDelta time); 90 static base::TimeDelta get_cache_expiration(); 122 base::TimeDelta resolve_duration() const { return resolve_duration_;} 123 base::TimeDelta queue_duration() const { return queue_duration_;} 135 void set_time(const base::TimeTicks& time) { time_ = time; } 138 base [all...] |
/external/skia/tests/ |
H A D | MemsetTest.cpp | 26 static bool compare16(const uint16_t base[], uint16_t value, int count) { argument 28 if (base[i] != value) { 29 SkDebugf("[%d] expected %x found %x\n", i, value, base[i]); 36 static bool compare32(const uint32_t base[], uint32_t value, int count) { argument 38 if (base[i] != value) { 39 SkDebugf("[%d] expected %x found %x\n", i, value, base[i]); 53 uint16_t* base = &buffer[PAD + alignment]; local 54 sk_memset16(base, VALUE16, count); 57 compare16(base, VALUE16, count); 58 compare16(base 70 uint32_t* base = &buffer[PAD + alignment]; local [all...] |
/external/chromium/base/memory/ |
H A D | singleton.h | 9 #include "base/at_exit.h" 10 #include "base/atomicops.h" 11 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 12 #include "base/threading/platform_thread.h" 13 #include "base/threading/thread_restrictions.h" 79 if (base::subtle::NoBarrier_AtomicExchange(&dead_, 1)) 89 base::subtle::NoBarrier_Store(&dead_, 1); 90 base::subtle::MemoryBarrier(); 100 base::subtle::NoBarrier_Store(&dead_, 0); 109 static base [all...] |
/external/chromium/third_party/libevent/ |
H A D | event.c | 135 gettime(struct event_base *base, struct timeval *tp) argument 137 if (base->tv_cache.tv_sec) { 138 *tp = base->tv_cache; 161 struct event_base *base = event_base_new(); local 163 if (base != NULL) 164 current_base = base; 166 return (base); 173 struct event_base *base; local 175 if ((base = calloc(1, sizeof(struct event_base))) == NULL) 179 gettime(base, 207 event_base_free(struct event_base *base) argument 268 event_reinit(struct event_base *base) argument 313 event_base_priority_init(struct event_base *base, int npriorities) argument 345 event_haveevents(struct event_base *base) argument 357 event_process_active(struct event_base *base) argument 409 event_base_get_method(struct event_base *base) argument 418 struct event_base *base = arg; local 465 event_base_loop(struct event_base *base, int flags) argument 569 event_base_once(struct event_base *base, int fd, short events, void (*callback)(int, short, void *), void *arg, const struct timeval *tv) argument 638 event_base_set(struct event_base *base, struct event *ev) argument 702 struct event_base *base = ev->ev_base; local 780 struct event_base *base; local 833 timeout_next(struct event_base *base, struct timeval **tv_p) argument 869 timeout_correct(struct event_base *base, struct timeval *tv) argument 904 timeout_process(struct event_base *base) argument 928 event_queue_remove(struct event_base *base, struct event *ev, int queue) argument 956 event_queue_insert(struct event_base *base, struct event *ev, int queue) argument [all...] |
H A D | signal.c | 96 evsignal_init(struct event_base *base) argument 106 AF_UNIX, SOCK_STREAM, 0, base->sig.ev_signal_pair) == -1) { 117 FD_CLOSEONEXEC(base->sig.ev_signal_pair[0]); 118 FD_CLOSEONEXEC(base->sig.ev_signal_pair[1]); 119 base->sig.sh_old = NULL; 120 base->sig.sh_old_max = 0; 121 base->sig.evsignal_caught = 0; 122 memset(&base->sig.evsigcaught, 0, sizeof(sig_atomic_t)*NSIG); 125 TAILQ_INIT(&base->sig.evsigevents[i]); 127 evutil_make_socket_nonblocking(base 140 _evsignal_set_handler(struct event_base *base, int evsignal, void (*handler)(int)) argument 207 struct event_base *base = ev->ev_base; local 237 _evsignal_restore_handler(struct event_base *base, int evsignal) argument 269 struct event_base *base = ev->ev_base; local 311 evsignal_process(struct event_base *base) argument 337 evsignal_dealloc(struct event_base *base) argument [all...] |
/external/chromium/chrome/browser/sync/notifier/ |
H A D | registration_manager.h | 14 #include "base/basictypes.h" 15 #include "base/time.h" 16 #include "base/timer.h" 17 #include "base/threading/non_thread_safe.h" 46 base::Time last_registration_request; 48 base::Time registration_attempt; 51 base::TimeDelta delay; 53 base::TimeDelta actual_delay; 119 base::Time last_registration_request; 121 base [all...] |
/external/chromium/net/base/ |
H A D | platform_mime_util_mac.cc | 5 #include "net/base/platform_mime_util.h" 11 #include "base/mac/scoped_cftyperef.h" 12 #include "base/sys_string_conversions.h" 21 base::mac::ScopedCFTypeRef<CFStringRef> ext_ref( 22 base::SysUTF8ToCFStringRef(ext_nodot)); 25 base::mac::ScopedCFTypeRef<CFStringRef> uti( 31 base::mac::ScopedCFTypeRef<CFStringRef> mime_ref( 36 *result = base::SysCFStringRefToUTF8(mime_ref); 42 base::mac::ScopedCFTypeRef<CFStringRef> mime_ref( 43 base [all...] |
H A D | network_change_notifier_win.h | 11 #include "base/basictypes.h" 12 #include "base/timer.h" 13 #include "base/win/object_watcher.h" 14 #include "net/base/network_change_notifier.h" 19 public base::win::ObjectWatcher::Delegate { 38 base::win::ObjectWatcher addr_watcher_; 41 base::OneShotTimer<NetworkChangeNotifierWin> timer_;
|
/external/chromium/net/tools/flip_server/ |
H A D | split.cc | 11 #include "base/string_piece.h" 17 void SplitStringPieceToVector(const base::StringPiece& full, 19 std::vector<base::StringPiece>* vec, 26 base::StringPiece::const_iterator s = full.begin(); 27 base::StringPiece::const_iterator e = s; 31 vec->push_back(base::StringPiece(s, e - s)); 40 vec->push_back(base::StringPiece(s, e - s)); 44 base::StringPiece::const_iterator s = full.begin(); 45 base::StringPiece::const_iterator e = s; 56 vec->push_back(base [all...] |
/external/openssh/openbsd-compat/ |
H A D | strtoul.c | 48 strtoul(const char *nptr, char **endptr, int base) argument 70 if ((base == 0 || base == 16) && 74 base = 16; 76 if (base == 0) 77 base = c == '0' ? 8 : 10; 79 cutoff = ULONG_MAX / (unsigned long)base; 80 cutlim = ULONG_MAX % (unsigned long)base; 88 if (c >= base) 98 acc *= (unsigned long)base; [all...] |
/external/chromium/net/http/ |
H A D | http_request_headers.h | 16 #include "base/basictypes.h" 17 #include "base/string_piece.h" 18 #include "net/base/net_export.h" 26 HeaderKeyValuePair(const base::StringPiece& key, 27 const base::StringPiece& value); 84 bool HasHeader(const base::StringPiece& key) const { 90 bool GetHeader(const base::StringPiece& key, std::string* out) const; 98 void SetHeader(const base::StringPiece& key, const base::StringPiece& value); 103 void SetHeaderIfMissing(const base [all...] |
/external/chromium/base/ |
H A D | file_util_proxy.cc | 5 #include "base/file_util_proxy.h" 7 #include "base/message_loop_proxy.h" 9 // TODO(jianli): Move the code from anonymous namespace to base namespace so 10 // that all of the base:: prefixes would be unnecessary. 19 static base::PlatformFileError PerformCommonCheckAndPreparationForMoveAndCopy( 24 return base::PLATFORM_FILE_ERROR_NOT_FOUND; 28 return base::PLATFORM_FILE_ERROR_NOT_FOUND; 32 return base::PLATFORM_FILE_ERROR_INVALID_OPERATION; 36 return base::PLATFORM_FILE_OK; 43 return base 731 namespace base { namespace [all...] |
H A D | base_paths_linux.cc | 5 #include "base/base_paths.h" 11 #include "base/environment.h" 12 #include "base/file_path.h" 13 #include "base/file_util.h" 14 #include "base/logging.h" 15 #include "base/memory/scoped_ptr.h" 16 #include "base/path_service.h" 17 #include "base/nix/xdg_util.h" 24 namespace base { namespace 34 static const char kThisSourceFile[] = "base/base_paths_linu [all...] |
/external/skia/include/core/ |
H A D | SkTSearch.h | 16 int SkTSearch(const T* base, int count, const T& target, size_t elemSize) argument 22 SkASSERT(base != NULL); // base may be NULL if count is zero 30 const T* elem = (const T*)((const char*)base + mid * elemSize); 38 const T* elem = (const T*)((const char*)base + hi * elemSize); 49 int SkTSearch(const T* base, int count, const T& target, size_t elemSize, argument 57 SkASSERT(base != NULL); // base may be NULL if count is zero 64 const T* elem = (const T*)((const char*)base + mid * elemSize); 72 const T* elem = (const T*)((const char*)base 83 SkTSearch(const T** base, int count, const T* target, size_t elemSize, int (*compare)(const T*, const T*)) argument [all...] |
/external/webkit/Source/WebCore/rendering/mathml/ |
H A D | RenderMathMLUnderOver.cpp | 75 // this is the base so just append it 124 RenderObject* base = firstChild(); local 125 if (!base) 128 // For over or underover, the base is the sibling of the first child 130 base = base->nextSibling(); 132 if (!base) 135 // use the child of the row which is the actual base 136 base = base 149 RenderObject* base = 0; local 260 RenderObject* base = current->firstChild(); local 269 RenderObject* base = current->firstChild(); local [all...] |
/external/freetype/ |
H A D | Android.mk | 17 src/base/ftbbox.c \ 18 src/base/ftbitmap.c \ 19 src/base/ftfstype.c \ 20 src/base/ftglyph.c \ 21 src/base/ftlcdfil.c \ 22 src/base/ftstroke.c \ 23 src/base/fttype1.c \ 24 src/base/ftxf86.c \ 25 src/base/ftbase.c \ 26 src/base/ftsyste [all...] |
/external/libsepol/tests/ |
H A D | test-linker-cond-map.c | 37 * - single boolean in base 39 * - single boolean in base optional 41 * - 2 booleans in base 43 * - 2 booleans in base optional 45 * - 2 booleans, base and module 46 * - 2 booleans, base optional and module 47 * - 2 booleans, base optional and module optional 48 * - 3 booleans, base, base optional, module 49 * - 4 boolean, base, bas 87 base_cond_tests(policydb_t * base) argument 118 module_cond_tests(policydb_t * base) argument [all...] |
/external/chromium/android/autofill/ |
H A D | android_url_request_context_getter.h | 29 #include "base/message_loop_proxy.h" 30 #include "base/threading/thread.h" 31 #include "net/base/net_export.h" 37 AndroidURLRequestContextGetter(net::URLRequestContext* context, base::Thread* ioThread) 47 virtual scoped_refptr<base::MessageLoopProxy> GetIOMessageLoopProxy() const; 51 mutable base::Thread* io_thread_;
|
/external/chromium/chrome/browser/first_run/ |
H A D | upgrade_util_linux.cc | 7 #include "base/base_paths.h" 8 #include "base/command_line.h" 9 #include "base/file_path.h" 10 #include "base/file_util.h" 11 #include "base/logging.h" 12 #include "base/path_service.h" 13 #include "base/platform_file.h" 14 #include "base/process_util.h" 26 return base::LaunchApp(command_line, false, false, NULL); 39 if (!PathService::Get(base [all...] |
/external/chromium/chrome/browser/visitedlink/ |
H A D | visitedlink_event_listener.h | 13 #include "base/timer.h" 16 namespace base { namespace 25 virtual void NewTable(base::SharedMemory* table_memory); 32 base::OneShotTimer<VisitedLinkEventListener> coalesce_timer_;
|
/external/chromium/net/ftp/ |
H A D | ftp_directory_listing_parser_windows.cc | 9 #include "base/string_number_conversions.h" 10 #include "base/string_split.h" 11 #include "base/string_util.h" 12 #include "base/time.h" 19 base::Time* time) { 22 base::Time::Exploded time_exploded = { 0 }; 26 base::SplitString(columns[0], '-', &date_parts); 29 if (!base::StringToInt(date_parts[0], &time_exploded.month)) 31 if (!base::StringToInt(date_parts[1], &time_exploded.day_of_month)) 33 if (!base [all...] |
/external/dbus/tools/ |
H A D | strtoll.c | 65 strtoll(const char * nptr, char ** endptr, int base) argument 75 * If base is 0, allow 0x for hex and 0 for octal, else 76 * assume decimal; if base is already 16, allow 0x. 90 if ((base == 0 || base == 16) && 97 base = 16; 99 if (base == 0) 100 base = c == '0' ? 8 : 10; 102 if (base < 2 || base > 3 [all...] |