Searched defs:string (Results 1 - 25 of 1194) sorted by relevance

1234567891011>>

/external/elfutils/lib/
H A Dxstrdup.c1 /* Convenience function for string allocation.
33 #include <string.h>
39 xstrdup (const char *string) argument
41 return strcpy (xmalloc (strlen (string) + 1), string);
H A Dxstrndup.c1 /* Convenience function for string allocation.
33 #include <string.h>
39 xstrndup (const char *string, size_t n) argument
42 size_t len = strnlen (string, n);
43 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
/external/elfutils/libelf/
H A Delf_hash.c40 elf_hash (const char *string) argument
42 return _dl_elf_hash (string);
H A Delf_gnu_hash.c40 elf_gnu_hash (const char *string) argument
43 for (unsigned char c = *string; c != '\0'; c = *++string)
/external/v8/test/mjsunit/
H A Derror-tostring.js29 // Test default string representation of an Error object.
35 // Test printing of cyclic errors which return the empty string for
56 // on a given Error object. Verify the produced string representation.
74 var string = Error.prototype.toString.call(e); variable
75 return [string,seq];
H A Dregexp-results-cache.js28 // Long string to trigger caching.
29 var string = variable
66 var replaced = string.replace(/\b\w+\b/g, function() { return "foo"; });
69 string.replace(/\b\w+\b/g, function() { return "foo"; }));
73 var words = string.split(" ");
76 words = string.split(" ");
H A Dregexp-standalones.js34 var string = 'aaa\n789\r\nccc\r\n345'; variable
36 var result = string.match(pattern);
42 result = string.match(pattern);
47 string = 'aaa\n789\r\nccc\r\nddd';
49 result = string.match(pattern);
54 result = string.match(pattern);
60 string = '\u00BF\u00CD\u00BB\u00A7';
61 result = string.match(pattern);
63 assertEquals(string, result[0], "12");
65 string
[all...]
/external/v8/test/mjsunit/regress/
H A Dregress-crbug-142087.js28 var string = "What are you looking for?"; variable
31 for (var i = 0; i < string.length; i++) {
35 string.replace(/(_)|(_|)/g, "");
36 assertArrayEquals(expected_match, string.match(/(_)|(_|)/g, ""));
H A Dregress-515.js38 var string = s + 'x' + s + 'x' + s; variable
40 string.replace(/x/g, "")
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/closure/string/
H A Dstring.js16 * @fileoverview Utilities for string manipulation.
21 * Namespace for string utilities
23 goog.provide('goog.string');
24 goog.provide('goog.string.Unicode');
28 * Common Unicode string characters.
29 * @enum {string}
31 goog.string.Unicode = {
38 * @param {string} str The string to check.
39 * @param {string} prefi
[all...]
/external/bison/lib/
H A Dmbschr.c1 /* Searching a string for a character.
21 #include <string.h>
25 /* Locate the first single-byte character C in the character string STRING,
28 mbschr (const char *string, int c) argument
38 for (mbui_init (iter, string);; mbui_advance (iter))
51 return strchr (string, c);
H A Dstrnlen.c20 #include <string.h>
26 strnlen (const char *string, size_t maxlen) argument
28 const char *end = memchr (string, '\0', maxlen);
29 return end ? (size_t) (end - string) : maxlen;
H A Dstrnlen1.c22 #include <string.h>
26 /* This is the same as strnlen (string, maxlen - 1) + 1. */
28 strnlen1 (const char *string, size_t maxlen) argument
30 const char *end = (const char *) memchr (string, '\0', maxlen);
32 return end - string + 1;
H A Dxstrndup.c1 /* Duplicate a bounded initial segment of a string, with out-of-memory
23 #include <string.h>
30 xstrndup (const char *string, size_t n) argument
32 char *s = strndup (string, n);
H A Dmbsrchr.c1 /* Searching a string for the last occurrence of a character.
21 #include <string.h>
25 /* Locate the last single-byte character C in the character string STRING,
28 mbsrchr (const char *string, int c) argument
39 for (mbui_init (iter, string); mbui_avail (iter); mbui_advance (iter))
48 return strrchr (string, c);
H A Dperror.c25 #include <string.h>
33 perror (const char *string) argument
39 string, even if it returns EINVAL; and stackbuf should be sized
45 if (string != NULL && *string != '\0')
46 fprintf (stderr, "%s: %s\n", string, stackbuf);
/external/clang/test/Modules/Inputs/using-decl-redecl/
H A Da.h1 struct string {}; struct
2 namespace N { typedef ::string clstring; }
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/builder/
H A DStringModule.java23 final String string; field in class:StringModule
25 StringModule(String string) { argument
26 this.string = string;
30 String string() { method in class:StringModule
31 return string;
/external/fio/
H A Dtickmarks.h6 char string[20]; member in struct:tickmark
/external/javasqlite/src/main/java/SQLite/
H A DException.java12 * @param string error message
15 public Exception(String string) { argument
16 super(string);
/external/selinux/policycoreutils/restorecond/
H A Dstringslist.h28 char *string; member in struct:stringsList
32 void strings_list_add(struct stringsList **list, const char *string);
34 int strings_list_find(struct stringsList *list, const char *string, int *exact);
/external/sonivox/jet_tools/JetCreator/
H A DJetSystemInfo.py25 import string namespace
38 for dir in string.split(os.environ['PYTHONPATH'], os.pathsep):
/external/skia/tools/lua/
H A Dbitmap_statistics.lua1 function string.startsWith(String,Start)
2 return string.sub(String,1,string.len(Start))==Start
5 function string.endsWith(String,End)
6 return End=='' or string.sub(String,-string.len(End))==End
29 if (string.startsWith(t.verb,"drawBitmap")) then
/external/clang/test/SemaCXX/
H A Dcxx1y-user-defined-literals.cpp18 struct string {}; struct in namespace:std
19 string operator""s(const char*, size_t);
34 string s = "foo"s;
/external/proguard/src/proguard/util/
H A DConstantMatcher.java24 * This StringMatcher matches any string or no string at all.
44 public boolean matches(String string) argument

Completed in 901 milliseconds

1234567891011>>