/external/skia/tests/ |
MemsetTest.cpp | 26 static bool compare16(const uint16_t base[], uint16_t value, int count) { 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) { 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 + count, 0, TOTAL - count - PAD - alignment) 70 uint32_t* base = &buffer[PAD + alignment]; local [all...] |
/external/chromium/base/memory/ |
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::subtle::Atomic32 dead_ [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
snd_wavefront.h | 23 unsigned long base; /* I/O port address */ member in struct:_snd_wavefront_midi 51 unsigned long base; /* low i/o port address */ member in struct:_snd_wavefront 54 #define mpu_data_port base 55 #define mpu_command_port base + 1 /* write semantics */ 56 #define mpu_status_port base + 1 /* read semantics */ 57 #define data_port base + 2 58 #define status_port base + 3 /* read semantics */ 59 #define control_port base + 3 /* write semantics */ 60 #define block_port base + 4 /* 16 bit, writeonly */ 61 #define last_block_port base + 6 /* 16 bit, writeonly * [all...] |
/external/chromium/third_party/libevent/ |
event.c | 135 gettime(struct event_base *base, struct timeval *tp) 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, &base->event_tv) 418 struct event_base *base = arg; local 702 struct event_base *base = ev->ev_base; local 780 struct event_base *base; local [all...] |
signal.c | 96 evsignal_init(struct event_base *base) 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->sig.ev_signal_pair[0]) 207 struct event_base *base = ev->ev_base; local 269 struct event_base *base = ev->ev_base; local [all...] |
/bionic/libc/stdlib/ |
strtoul.c | 43 strtoul(const char *nptr, char **endptr, int base) 65 if ((base == 0 || base == 16) && 69 base = 16; 71 if (base == 0) 72 base = c == '0' ? 8 : 10; 74 cutoff = ULONG_MAX / (unsigned long)base; 75 cutlim = ULONG_MAX % (unsigned long)base; 83 if (c >= base) 93 acc *= (unsigned long)base; [all...] |
strtoimax.c | 43 strtoimax(const char *nptr, char **endptr, int base) 52 * If base is 0, allow 0x for hex and 0 for octal, else 53 * assume decimal; if base is already 16, allow 0x. 67 if ((base == 0 || base == 16) && 71 base = 16; 73 if (base == 0) 74 base = c == '0' ? 8 : 10; 79 * base. An input number that is greater than this value, if 84 * [-9223372036854775808..9223372036854775807] and the input base [all...] |
bsearch.c | 41 * the base up one item past p: e.g., when lim is 5 we change base 52 const char *base = base0; local 57 p = base + (lim >> 1) * size; 60 base = (char *)p + size;
|
/external/chromium/chrome/browser/sync/notifier/ |
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::Time last_registration_attempt [all...] |
/external/chromium/net/base/ |
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::SysUTF8ToCFStringRef(mime_type)) [all...] |
/external/chromium/net/tools/flip_server/ |
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::StringPiece(s, e - s)) [all...] |
/external/openssh/openbsd-compat/ |
strtoul.c | 48 strtoul(const char *nptr, char **endptr, int base) 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/ |
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::StringPiece& key [all...] |
/external/chromium/base/ |
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::PLATFORM_FILE_ERROR_NOT_A_DIRECTORY 731 namespace base { namespace [all...] |
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_linux.cc" [all...] |
/external/skia/include/core/ |
SkTSearch.h | 16 int SkTSearch(const T* base, int count, const T& target, size_t elemSize) 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, 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 + hi * elemSize) [all...] |
/external/webkit/Source/WebCore/rendering/mathml/ |
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->firstChild() 149 RenderObject* base = 0; local 260 RenderObject* base = current->firstChild(); local 269 RenderObject* base = current->firstChild(); local [all...] |
/external/freetype/ |
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/ftsystem.c [all...] |
/external/libsepol/tests/ |
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, base optional, module, module optiona [all...] |
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/ |
set-href-attribute-prevents-rebase.js | 1 description('Tests that when an href attribute is set, the href is no longer subject to updates to the document base URI.'); 4 var base = document.createElement('base'); variable 5 document.head.appendChild(base); 8 debug("Search attribute, update document base URI without attribute having been set"); 9 base.href = "http://old_base/"; 11 base.href = "http://new_base/"; 14 debug("Search attribute, update document base URI after attribute has been set"); 15 base.href = "http://old_base/"; 18 base.href = "http://new_base/" [all...] |
/external/chromium/android/autofill/ |
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/ |
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::FILE_EXE, &exe_file_path)) [all...] |
/external/chromium/chrome/browser/ |
oom_priority_manager.h | 10 #include "base/timer.h" 11 #include "base/process.h" 35 base::TimeTicks last_selected; 37 base::ProcessHandle renderer_handle; 53 base::RepeatingTimer<OomPriorityManager> timer_;
|
/external/chromium/net/ftp/ |
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::StringToInt(date_parts[2], &time_exploded.year) [all...] |
/external/dbus/tools/ |
strtoll.c | 65 strtoll(const char * nptr, char ** endptr, int base) 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 > 36 [all...] |