/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
H A D | SDL_iconv.c | 162 *ptr = '\0'; /* chop end of string. */ 818 char *string; local 840 string = SDL_malloc(stringsize); 841 if ( !string ) { 845 outbuf = string; 854 char *oldstring = string; 856 string = SDL_realloc(string, stringsize); 857 if ( !string ) { 861 outbuf = string [all...] |
/external/qemu/hw/ |
H A D | goldfish_battery.c | 204 void goldfish_battery_display(void (* callback)(void *data, const char* string), void *data) argument
|
/external/qemu/ |
H A D | os-win32.c | 44 char *string = qemu_malloc(length); local 45 snprintf(string, length, "%s=%s", name, value); 46 result = putenv(string);
|
/external/quake/quake/src/QW/server/ |
H A D | pr_exec.c | 264 char string[1024]; local 267 vsprintf (string,error,argptr); 272 Con_Printf ("%s\n", string); 486 c->_float = !a->string || !*PR_GetString(a->string); 504 c->_float = !strcmp(PR_GetString(a->string), PR_GetString(b->string)); 523 c->_float = strcmp(PR_GetString(a->string), PR_GetString(b->string));
|
H A D | sv_send.c | 159 static void SV_PrintToClient(client_t *cl, int level, char *string) argument 161 ClientReliableWrite_Begin (cl, svc_print, strlen(string)+3); 163 ClientReliableWrite_String (cl, string); 177 char string[1024]; local 183 vsprintf (string, fmt,argptr); 186 SV_PrintToClient(cl, level, string); 199 char string[1024]; local 204 vsprintf (string, fmt,argptr); 207 Sys_Printf ("%s", string); // print to the console 216 SV_PrintToClient(cl, level, string); 230 char string[1024]; local [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | net_mp.cpp | 80 if (Q_strcmp(hostname.string, "UNNAMED") == 0)
346 int MPATH_StringToAddr (char *string, struct qsockaddr *addr)
argument 351 sscanf(string, "%d.%d.%d.%d:%d", &ha1, &ha2, &ha3, &ha4, &hp);
|
H A D | net_wipx.cpp | 81 if (Q_strcmp(hostname.string, "UNNAMED") == 0)
315 int WIPX_StringToAddr (char *string, struct qsockaddr *addr)
argument 325 buf[0] = string[src]; \
326 buf[1] = string[src + 1]; \
343 sscanf (&string[22], "%u", &val);
|
/external/skia/android_sample/SampleApp/jni/ |
H A D | sample-jni.cpp | 61 jstring string = env->NewStringUTF(title); local 63 string); 64 env->DeleteLocalRef(string);
|
/external/skia/src/animator/ |
H A D | SkDisplayPost.cpp | 87 SkString string; local 88 SkDump::GetEnumString(SkType_EventMode, mode, &string); 89 if (!string.equals("immediate")) 90 SkDebugf("mode=\"%s\" ", string.c_str()); 141 SkDebugf("string=\"%s\" ", meta.findString(name)); 291 SkString* string = value.fOperand.fString; local 295 fEvent.setString("id", *string); 299 fEvent.setType(*string);
|
H A D | SkMemberInfo.cpp | 124 void SkMemberInfo::getString(const SkDisplayable* displayable, SkString** string) const { 129 *string = value.fOperand.fString; 135 *string = (SkString*) valuePtr; 148 SkString* string = (SkString*) memberData(displayable); local 149 string->set(*value); 232 if (strncmp(rawValue, "#string:", sizeof("#string:") - 1) == 0) { 233 SkASSERT(sizeof("string") == sizeof("script")); 312 SkString string(rawValue, rawValueLen); 314 scriptValue.fOperand.fString = &string; 318 SkString* string = (SkString*) memberData(displayable); local 423 SkString* string = untypedStorage ? (SkString*) untypedStorage : (*arrayStorage)[storageOffset].fString; local [all...] |
/external/skia/src/xml/ |
H A D | SkJS.cpp | 197 SkBool SkJS::ValueToString(jsval value, SkString* string) { argument 201 string->set(JS_GetStringBytes(str)); 211 SkString string; local 212 success = js.ValueToString(val, &string); 214 SkASSERT(strcmp(string.c_str(), "3.142857142857143") == 0); 225 success = js.ValueToString(val, &string);
|
H A D | SkJSDisplayable.cpp | 234 SkString* string= NULL; local 257 info->getString(displayable, &string); 287 str = JS_NewStringCopyN(cx, string->c_str(), string->size()); 310 SkString string; local 335 string.set(JS_GetStringBytes(str)); 360 info->setString(displayable, &string);
|
/external/srec/portable/src/ |
H A D | LCHAR.c | 190 ESR_ReturnCode lstrlwr(LCHAR* string) argument 192 if (string) 194 while (*string) 196 if (LISALPHA(*string)) 197 *string = (LCHAR) LTOLOWER(*string); 198 ++string; 207 ESR_ReturnCode lstrupr(LCHAR* string) argument 209 if (string) 211 while (*string) 302 litostr(int value, LCHAR *string, size_t *len, int radix) argument 331 lultostr(unsigned long value, LCHAR *string, size_t *len, int radix) argument [all...] |
H A D | PANSIFileImpl.c | 387 ESR_ReturnCode PANSIFileFgetsImpl(PFile* self, LCHAR* string, int n, LCHAR** result) argument 394 temp = fgets(string, n, impl->value);
|
H A D | PFile.c | 185 ESR_ReturnCode PFileFgets(PFile* self, LCHAR* string, int n, LCHAR** result) argument 192 return self->fgets(self, string, n, result); 450 LCHAR* pfgets(LCHAR* string, int n, PFile* self) argument 455 rc = PFileFgets(self, string, n, &result);
|
/external/srec/srec/clib/ |
H A D | voc_read.c | 31 #include <string.h> 34 #include <string.h> 262 static int endeql(const char* string, const char* end) { argument 263 return strlen(end) <= strlen(string) && !strcmp(string + strlen(string) - strlen(end), end);
|
/external/srtp/test/ |
H A D | rtpw.c | 62 #include <string.h> /* for strncpy() */ 339 * read key from hexadecimal on command line into an octet string 343 /* check that hex string is the right length */ 494 usage(char *string) { argument 506 string, string);
|
/external/tcpdump/ |
H A D | print-zephyr.c | 35 #include <string.h> 120 str_to_lower(char *string) argument 122 strncpy(z_buf, string, sizeof(z_buf)); 125 string = z_buf; 126 while (*string) { 127 *string = tolower((unsigned char)(*string)); 128 string++;
|
/external/tinyalsa/ |
H A D | mixer.c | 31 #include <string.h> 394 int mixer_ctl_set_enum_by_string(struct mixer_ctl *ctl, const char *string) argument 405 if (!strcmp(string, ctl->ename[i])) {
|
/external/v8/src/ia32/ |
H A D | codegen-ia32.cc | 238 // At most 15 bytes to copy. Copy 16 bytes at end of string. 284 // At most 15 bytes to copy. Copy 16 bytes at end of string. 327 // At most 3 bytes left to copy. Copy 4 bytes at end of string. 641 Register string, 646 __ mov(result, FieldOperand(string, HeapObject::kMapOffset)); 654 // Dispatch on the indirect string shape: slice or cons. 661 __ mov(result, FieldOperand(string, SlicedString::kOffsetOffset)); 664 __ mov(string, FieldOperand(string, SlicedString::kParentOffset)); 668 // Check whether the right hand side is the empty string ( 639 Generate(MacroAssembler* masm, Factory* factory, Register string, Register index, Register result, Label* call_runtime) argument [all...] |
/external/v8/src/ |
H A D | preparse-data.h | 197 static int vector_hash(Vector<const Char> string) { argument 199 for (int i = 0; i < string.length(); i++) { 200 int c = static_cast<int>(string[i]);
|
H A D | spaces-inl.h | 322 void NewSpace::ShrinkStringAtAllocationBoundary(String* string, int length) { argument 323 ASSERT(length <= string->length()); 324 ASSERT(string->IsSeqString()); 325 ASSERT(string->address() + StringType::SizeFor(string->length()) == 329 string->address() + StringType::SizeFor(length); 330 string->set_length(length); 331 if (Marking::IsBlack(Marking::MarkBitFrom(string))) { 333 MemoryChunk::IncrementLiveBytesFromMutator(string->address(), -delta);
|
/external/v8/src/x64/ |
H A D | codegen-x64.cc | 477 Register string, 482 __ movq(result, FieldOperand(string, HeapObject::kMapOffset)); 490 // Dispatch on the indirect string shape: slice or cons. 497 __ SmiToInteger32(result, FieldOperand(string, SlicedString::kOffsetOffset)); 499 __ movq(string, FieldOperand(string, SlicedString::kParentOffset)); 503 // Check whether the right hand side is the empty string (i.e. if 504 // this is really a flat string in a cons string). If that is not 506 // the string 476 Generate(MacroAssembler* masm, Register string, Register index, Register result, Label* call_runtime) argument [all...] |
/external/v8/test/cctest/ |
H A D | test-compiler.cc | 75 uint16_t* string = NewArray<uint16_t>(length + 1); local 76 string_obj->Write(string); 78 printf("%lc", static_cast<wchar_t>(string[j])); 79 DeleteArray(string);
|
/external/valgrind/main/coregrind/m_debuginfo/ |
H A D | readstabs.c | 145 Char *string; local 156 /* handle continued string stabs */ 166 string = stabstr + qstringidx; 167 qlen = VG_(strlen)(string); 169 while (string 171 && (qcontinuing || string[qlen-1] == '\\')) { 177 qcontinuing = string[qlen-1] == '\\'; 180 while (string[qlen-1] == '\\' && qlen > 0) 184 VG_(printf)("found extension string: \"%s\" " 186 string, qle [all...] |