Home
last modified time | relevance | path

Searched refs:delim (Results 51 - 75 of 178) sorted by relevance

12345678

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_upnp.c322 char *delim; in subscr_addr_add_url() local
353 delim = os_strchr(host, ':'); in subscr_addr_add_url()
354 if (delim) { in subscr_addr_add_url()
355 *delim = '\0'; /* null terminate host name for now */ in subscr_addr_add_url()
356 if (isdigit(delim[1])) in subscr_addr_add_url()
357 port = atol(delim + 1); in subscr_addr_add_url()
388 if (delim) in subscr_addr_add_url()
389 *delim = ':'; /* Restore port */ in subscr_addr_add_url()
/third_party/elfutils/src/
H A Delfclassify.c841 char delim; in process_stdin() local
843 delim = '\0'; in process_stdin()
845 delim = '\n'; in process_stdin()
851 ssize_t ret = getdelim (&buffer, &buffer_size, delim, stdin); in process_stdin()
862 if (delim != '\0' && ret > 0 && buffer[ret - 1] == '\n') in process_stdin()
/third_party/alsa-lib/src/control/
H A Dnamehint.c714 const char *hint1 = (const char *)hint, *delim; in snd_device_name_get_hint() local
721 delim = strchr(hint1, '|'); in snd_device_name_get_hint()
723 if (delim == NULL) in snd_device_name_get_hint()
725 hint1 = delim + 1; in snd_device_name_get_hint()
728 if (delim == NULL) in snd_device_name_get_hint()
730 size = delim - hint1 - 4; in snd_device_name_get_hint()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dcommon.c1011 * @delim: a string of delimiters
1024 const char * cstr_token(const char *str, const char *delim, const char **last) in cstr_token() argument
1028 if (!str || !delim || !last) in cstr_token()
1034 while (*token && os_strchr(delim, *token)) in cstr_token()
1042 while (*end && !os_strchr(delim, *end)) in cstr_token()
1053 * @delim: String of delimiters
1058 char * str_token(char *str, const char *delim, char **context) in str_token() argument
1060 char *token = (char *) cstr_token(str, delim, (const char **) context); in str_token()
/third_party/python/Tools/c-analyzer/c_parser/preprocessor/
H A Dgcc.py90 delim, = m.groups()
91 partial += 1 if delim == '(' else -1 # opened/closed
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
H A Dattributes.py11 r"(?P<name>[\w]+)(?P<brackets>\[\])?(?P<delim>\.|::|->)?")
22 for name, brackets, delim in reversed(matches):
25 if delim:
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_split_test.cc741 absl::string_view delim("//"); in TEST()
743 results = absl::StrSplit("", delim); in TEST()
746 results = absl::StrSplit("//", delim); in TEST()
749 results = absl::StrSplit("ab", delim); in TEST()
752 results = absl::StrSplit("ab//", delim); in TEST()
755 results = absl::StrSplit("ab/", delim); in TEST()
758 results = absl::StrSplit("a/b", delim); in TEST()
761 results = absl::StrSplit("a//b", delim); in TEST()
764 results = absl::StrSplit("a///b", delim); in TEST()
767 results = absl::StrSplit("a////b", delim); in TEST()
[all...]
/third_party/musl/src/regex/
H A Dglob.c199 char delim, *name_end = __strchrnul(p, '/'); in expand_tilde() local
200 if ((delim = *name_end)) *name_end++ = 0; in expand_tilde()
221 if ((buf[i] = delim)) in expand_tilde()
/third_party/rust/crates/syn/src/
H A Dbuffer.rs184 pub fn group(mut self, delim: Delimiter) -> Option<(Cursor<'a>, DelimSpan, Cursor<'a>)> { in group()
188 if delim != Delimiter::None { in group()
193 if group.delimiter() == delim { in group()
/third_party/nghttp2/src/
H A Dutil.cc918 std::vector<StringRef> split_str(const StringRef &s, char delim) { in split_str() argument
922 for (auto first = std::begin(s); (d = std::find(first, last, delim)) != last; in split_str()
930 auto stop = std::find(first, last, delim); in split_str()
940 std::vector<StringRef> split_str(const StringRef &s, char delim, size_t n) { in split_str() argument
942 return split_str(s, delim); in split_str()
953 len < n && (d = std::find(first, last, delim)) != last; in split_str()
966 auto stop = std::find(first, last, delim); in split_str()
976 std::vector<std::string> parse_config_str_list(const StringRef &s, char delim) { in parse_config_str_list() argument
977 auto sublist = split_str(s, delim); in parse_config_str_list()
/third_party/mksh/
H A Dtree.c283 /* iop->delim is set before iop->heredoc */ in pioact()
284 shf_puts(evalstr(iop->delim, 0), &ptree_heredoc); in pioact()
287 /* delim is NULL during syntax error printing */ in pioact()
288 if (iop->delim && !(iop->ioflag & IONDELIM)) in pioact()
289 wdvarput(shf, iop->delim, 0, WDS_TPUTS); in pioact()
707 if (p->delim != NULL) in iocopy()
708 q->delim = wdcopy(p->delim, ap); in iocopy()
764 afree(p->delim, ap); in iofree()
975 if (iop->delim in dumpioact()
[all...]
/test/testfwk/arkxtest/uitest/record/
H A Dui_record.h115 static std::vector<std::string> split(const std::string &in, const std::string &delim) in split() argument
117 std::regex reg(delim); in split()
/third_party/f2fs-tools/lib/
H A Dlibf2fs_zoned.c41 char *delim; in get_sysfs_path() local
77 delim = strrchr(sysfs_path, '/'); in get_sysfs_path()
78 if (!delim) in get_sysfs_path()
80 *delim = '\0'; in get_sysfs_path()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
H A DConformanceTest.java453 int delim = s.indexOf(delimiter, pos); in hexsplit()
454 if (delim < 0) { in hexsplit()
457 // Our field is from pos..delim-1. in hexsplit()
460 String toHex = s.substring(pos,delim); in hexsplit()
461 pos = delim; in hexsplit()
483 ++pos; // Skip over delim in hexsplit()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DConformanceTest.java450 int delim = s.indexOf(delimiter, pos); in hexsplit()
451 if (delim < 0) { in hexsplit()
454 // Our field is from pos..delim-1. in hexsplit()
457 String toHex = s.substring(pos,delim); in hexsplit()
458 pos = delim; in hexsplit()
480 ++pos; // Skip over delim in hexsplit()
/third_party/ltp/testcases/lib/
H A Dtst_test.sh430 local delim
435 delim="$TST_NEEDS_KCONFIGS_IFS"
437 delim="$2"
442 tst_check_kconfigs "$1" "$delim" > /dev/null
/third_party/vk-gl-cts/external/vulkan-docs/src/katex/contrib/
H A Drender-a11y-string.min.js1 !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("katex"));else if("function"==typeof define&&define.amd)define(["katex"],r);else{var t="object"==typeof exports?r(require("katex")):r(e.katex);for(var a in t)("object"==typeof exports?exports:e)[a]=t[a]}}("undefined"!=typeof self?self:this,function(e){return function(e){var r={};function t(a){if(r[a])return r[a].exports;var o=r[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(a,o,function(r){return e[r]}.bind(null,o));return a},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=1)}([function(r,t){r.exports=e},function(e,r,t){"use strict";t.r(r);var a=t(0),o=t.n(a),n={"(":"left parenthesis",")":"right parenthesis","[":"open bracket","]":"close bracket","\\{":"left brace","\\}":"right brace","\\lvert":"open vertical bar","\\rvert":"close vertical bar","|":"vertical bar","\\uparrow":"up arrow","\\Uparrow":"up arrow","\\downarrow":"down arrow","\\Downarrow":"down arrow","\\updownarrow":"up down arrow","\\leftarrow":"left arrow","\\Leftarrow":"left arrow","\\rightarrow":"right arrow","\\Rightarrow":"right arrow","\\langle":"open angle","\\rangle":"close angle","\\lfloor":"open floor","\\rfloor":"close floor","\\int":"integral","\\intop":"integral","\\lim":"limit","\\ln":"natural log","\\log":"log","\\sin":"sine","\\cos":"cosine","\\tan":"tangent","\\cot":"cotangent","\\sum":"sum","/":"slash",",":"comma",".":"point","-":"negative","+":"plus","~":"tilde",":":"colon","?":"question mark","'":"apostrophe","\\%":"percent"," ":"space","\\ ":"space","\\$":"dollar sign","\\angle":"angle","\\degree":"degree","\\circ":"circle","\\vec":"vector","\\triangle":"triangle","\\pi":"pi","\\prime":"prime","\\infty":"infinity","\\alpha":"alpha","\\beta":"beta","\\gamma":"gamma","\\omega":"omega","\\theta":"theta","\\sigma":"sigma","\\lambda":"lambda","\\tau":"tau","\\Delta":"delta","\\delta":"delta","\\mu":"mu","\\rho":"rho","\\nabla":"del","\\ell":"ell","\\ldots":"dots","\\hat":"hat","\\acute":"acute"},s={prime:"prime",degree:"degrees",circle:"degrees",2:"squared",3:"cubed"},i={"|":"open vertical bar",".":""},l={"|":"close vertical bar",".":""},c={"+":"plus","-":"minus","\\pm":"plus minus","\\cdot":"dot","*":"times","/":"divided by","\\times":"times","\\div":"divided by","\\circ":"circle","\\bullet":"bullet"},u={"=":"equals","\\approx":"approximately equals","\u2260":"does not equal","\\geq":"is greater than or equal to","\\ge":"is greater than or equal to","\\leq":"is less than or equal to","\\le":"is less than or equal to",">":"is greater than","<":"is less than","\\leftarrow":"left arrow","\\Leftarrow":"left arrow","\\rightarrow":"right arrow","\\Rightarrow":"right arrow",":":"colon"},p={"\\underleftarrow":"left arrow","\\underrightarrow":"right arrow","\\underleftrightarrow":"left-right arrow","\\undergroup":"group","\\underlinesegment":"line segment","\\utilde":"tilde"},d=function(e,r,t){var a;e&&(/^\d+$/.test(a="open"===r?e in i?i[e]:n[e]||e:"close"===r?e in l?l[e]:n[e]||e:"bin"===r?c[e]||e:"rel"===r?u[e]||e:n[e]||e)&&t.length>0&&/^\d+$/.test(t[t.length-1])?t[t.length-1]+=a:a&&t.push(a))},b=function(e,r){var t=[];e.push(t),r(t)},h=function(e,r,t){switch(e.type){case"accent":b(r,function(r){f(e.base,r,t),r.push("with"),d(e.label,"normal",r),r.push("on top")});break;case"accentUnder":b(r,function(r){f(e.base,r,t),r.push("with"),d(p[e.label],"normal",r),r.push("underneath")});break;case"accent-token":break;case"atom":var a=e.text;switch(e.family){case"bin":d(a,"bin",r);break;case"close":d(a,"close",r);break;case"inner":d(e.text,"inner",r);break;case"open":d(a,"open",r);break;case"punct":d(a,"punct",r);break;case"rel":d(a,"rel",r);break;default:throw e.family,new Error('"'+e.family+'" is not a valid atom type')}break;case"color":var o=e.color.replace(/katex-/,"");b(r,function(r){r.push("start color "+o),f(e.body,r,t),r.push("end color "+o)});break;case"color-token":break;case"delimsizing":e.delim&&"."!==e.delim&&d(e.delim,"normal",r);break;case"genfrac":b(r,function(r){var a=e.leftDelim,o=e.rightDelim;e.hasBarLine?(r.push("start fraction"),a&&d(a,"open",r),f(e.numer,r,t),r.push("divided by"),f(e.denom,r,t),o&&d(o,"close",r),r.push("end fraction")):(r.push("start binomial"),a&&d(a,"open",r),f(e.numer,r,t),r.push("over"),f(e.denom,r,t),o&&d(o,"close",r),r.push("end binomial"))});break;case"kern":break;case"leftright":b(r,function(r){d(e.left,"open",r),f(e.body,r,t),d(e.right,"close",r)});break;case"leftright-right":break;case"lap":f(e.body,r,t);break;case"mathord":d(e.text,"normal",r);break;case"op":var n=e.body,i=e.name;n?f(n,r,t):i&&d(i,"normal",r);break;case"op-token":d(e.text,t,r);break;case"ordgroup":f(e.body,r,t);break;case"overline":b(r,function(r){r.push("start overline"),f(e.body,r,t),r.push("end overline")});break;case"phantom":r.push("empty space");break;case"raisebox":f(e.body,r,t);break;case"rule":r.push("rectangle");break;case"sizing":f(e.body,r,t);break;case"spacing":r.push("space");break;case"styling":f(e.body,r,t);break;case"sqrt":b(r,function(r){var a=e.body,o=e.index;if(o)return"3"===m(f(o,[],t)).join(",")?(r.push("cube root of"),f(a,r,t),void r.push("end cube root")):(r.push("root"),r.push("start index"),f(o,r,t),void r.push("end index"));r.push("square root of"),f(a,r,t),r.push("end square root")});break;case"supsub":var l=e.base,c=e.sub,u=e.sup,h=!1;if(l&&(f(l,r,t),h="op"===l.type&&"\\log"===l.name),c){var y=h?"base":"subscript";b(r,function(e){e.push("start "+y),f(c,e,t),e.push("end "+y)})}u&&b(r,function(e){var r=m(f(u,[],t)).join(",");r in s?e.push(s[r]):(e.push("start superscript"),f(u,e,t),e.push("end superscript"))});break;case"text":if("\\textbf"===e.font){b(r,function(r){r.push("start bold text"),f(e.body,r,t),r.push("end bold text")});break}b(r,function(r){r.push("start text"),f(e.body,r,t),r.push("end text")});break;case"textord":d(e.text,t,r);break;case"smash":f(e.body,r,t);break;case"enclose":if(/cancel/.test(e.label)){b(r,function(r){r.push("start cancel"),f(e.body,r,t),r.push("end cancel")});break}if(/box/.test(e.label)){b(r,function(r){r.push("start box"),f(e.body,r,t),r.push("end box")});break}if(/sout/.test(e.label)){b(r,function(r){r.push("start strikeout"),f(e.body,r,t),r.push("end strikeout")});break}throw new Error("KaTeX-a11y: enclose node with "+e.label+" not supported yet");case"vphantom":throw new Error("KaTeX-a11y: vphantom not implemented yet");case"hphantom":throw new Error("KaTeX-a11y: hphantom not implemented yet");case"operatorname":f(e.body,r,t);break;case"array":throw new Error("KaTeX-a11y: array not implemented yet");case"raw":throw new Error("KaTeX-a11y: raw not implemented yet");case"size":break;case"url":throw new Error("KaTeX-a11y: url not implemented yet");case"tag":throw new Error("KaTeX-a11y: tag not implemented yet");case"verb":d("start verbatim","normal",r),d(e.body,"normal",r),d("end verbatim","normal",r);break;case"environment":throw new Error("KaTeX-a11y: environment not implemented yet");case"horizBrace":d("start "+e.label.slice(1),"normal",r),f(e.base,r,t),d("end "+e.label.slice(1),"normal",r);break;case"infix":break;case"includegraphics":throw new Error("KaTeX-a11y: includegraphics not implemented yet");case"font":f(e.body,r,t);break;case"href":throw new Error("KaTeX-a11y: href not implemented yet");case"cr":throw new Error("KaTeX-a11y: cr not implemented yet");case"underline":b(r,function(r){r.push("start underline"),f(e.body,r,t),r.push("end underline")});break;case"xArrow":throw new Error("KaTeX-a11y: xArrow not implemented yet");case"mclass":var g=e.mclass.slice(1);f(e.body,r,g);break;case"mathchoice":f(e.text,r,t);break;case"htmlmathml":f(e.mathml,r,t);break;case"middle":d(e.delim,t,r);break;default:throw e.type,new Error("KaTeX a11y un-recognized type: "+e.type)}},f=function e (…)
/third_party/curl/lib/
H A Dstrtok.h30 char *Curl_strtok_r(char *s, const char *delim, char **last);
/third_party/googletest/googletest/include/gtest/hwext/
H A Dgtest-utils.h17 vector<string> SplitString(const string& str, const string& delim);
/third_party/python/Lib/tomllib/
H A D_parser.py527 delim = "'"
538 delim = '"'
543 if not src.startswith(delim, pos):
546 if not src.startswith(delim, pos):
547 return pos, result + delim
549 return pos, result + (delim * 2)
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dcommon.c1076 * @delim: a string of delimiters
1089 const char * cstr_token(const char *str, const char *delim, const char **last) in cstr_token() argument
1093 if (!str || !delim || !last) in cstr_token()
1099 while (*token && os_strchr(delim, *token)) in cstr_token()
1107 while (*end && !os_strchr(delim, *end)) in cstr_token()
1118 * @delim: String of delimiters
1123 char * str_token(char *str, const char *delim, char **context) in str_token() argument
1125 char *token = (char *) cstr_token(str, delim, (const char **) context); in str_token()
/third_party/selinux/libsepol/include/sepol/policydb/
H A Dutil.h43 extern int tokenize(char *line_buf, char delim, int num_args, ...);
/third_party/python/Lib/
H A Doptparse.py234 def set_short_opt_delimiter(self, delim):
235 if delim not in ("", " "):
237 "invalid metavar delimiter for short options: %r" % delim)
238 self._short_opt_fmt = "%s" + delim + "%s"
240 def set_long_opt_delimiter(self, delim):
241 if delim not in ("=", " "):
243 "invalid metavar delimiter for long options: %r" % delim)
244 self._long_opt_fmt = "%s" + delim + "%s"
/third_party/selinux/checkpolicy/
H A Dmodule_compiler.c220 char *bounds_id, *delim; in role_implicit_bounds() local
222 delim = strrchr(role_id, '.'); in role_implicit_bounds()
223 if (!delim) in role_implicit_bounds()
231 bounds_id[(size_t)(delim - role_id)] = '\0'; in role_implicit_bounds()
465 char *bounds_id, *delim; in user_implicit_bounds() local
467 delim = strrchr(user_id, '.'); in user_implicit_bounds()
468 if (!delim) in user_implicit_bounds()
476 bounds_id[(size_t)(delim - user_id)] = '\0'; in user_implicit_bounds()
/third_party/ntfs-3g/include/ntfs-3g/
H A Dcompat.h72 extern char *strsep(char **stringp, const char *delim);

Completed in 23 milliseconds

12345678