Home
last modified time | relevance | path

Searched refs:l2 (Results 1 – 12 of 12) sorted by relevance

/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dlstrlib.c445 const char *s2, size_t l2) { in lmemfind() argument
446 if (l2 == 0) return s1; /* empty strings are everywhere */ in lmemfind()
447 else if (l2 > l1) return NULL; /* avoids a negative `l1' */ in lmemfind()
450 l2--; /* 1st char will be checked by `memchr' */ in lmemfind()
451 l1 = l1-l2; /* `s2' cannot be found after that */ in lmemfind()
454 if (memcmp(init, s2+1, l2) == 0) in lmemfind()
496 size_t l1, l2; in str_find_aux() local
498 const char *p = luaL_checklstring(L, 2, &l2); in str_find_aux()
505 const char *s2 = lmemfind(s+init, l1-init, p, l2); in str_find_aux()
508 lua_pushinteger(L, s2-s+l2); in str_find_aux()
Dlcode.c185 void luaK_concat (FuncState *fs, int *l1, int l2) { in luaK_concat() argument
186 if (l2 == NO_JUMP) return; in luaK_concat()
188 *l1 = l2; in luaK_concat()
194 fixjump(fs, list, l2); in luaK_concat()
Dlcode.h68 LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2);
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dlstrlib.c515 const char *s2, size_t l2) { in lmemfind() argument
516 if (l2 == 0) return s1; /* empty strings are everywhere */ in lmemfind()
517 else if (l2 > l1) return NULL; /* avoids a negative `l1' */ in lmemfind()
520 l2--; /* 1st char will be checked by `memchr' */ in lmemfind()
521 l1 = l1-l2; /* `s2' cannot be found after that */ in lmemfind()
524 if (memcmp(init, s2+1, l2) == 0) in lmemfind()
Dlcode.c198 void luaK_concat (FuncState *fs, int *l1, int l2) { in luaK_concat() argument
199 if (l2 == NO_JUMP) return; in luaK_concat()
201 *l1 = l2; in luaK_concat()
207 fixjump(fs, list, l2); in luaK_concat()
Dlcode.h74 LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2);
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dlstrlib.c529 const char *s2, size_t l2) { in lmemfind() argument
530 if (l2 == 0) return s1; /* empty strings are everywhere */ in lmemfind()
531 else if (l2 > l1) return NULL; /* avoids a negative 'l1' */ in lmemfind()
534 l2--; /* 1st char will be checked by 'memchr' */ in lmemfind()
535 l1 = l1-l2; /* 's2' cannot be found after that */ in lmemfind()
538 if (memcmp(init, s2+1, l2) == 0) in lmemfind()
Dlcode.c116 void luaK_concat (FuncState *fs, int *l1, int l2) { in luaK_concat() argument
117 if (l2 == NO_JUMP) return; /* nothing to concatenate? */ in luaK_concat()
119 *l1 = l2; /* 'l1' points to 'l2' */ in luaK_concat()
125 fixjump(fs, list, l2); /* last element links to 'l2' */ in luaK_concat()
Dlcode.h79 LUAI_FUNC void luaK_concat (FuncState *fs, int *l1, int l2);
/civetweb-2.7.6/src/third_party/
Dlsqlite3.c1174 int l2,const void *p2) { in collwrapper() argument
1179 lua_pushlstring(L,p2,l2); in collwrapper()
Dsqlite3.c31165 struct flock l2;
31166 l2 = *p;
31167 osFcntl(fd, F_GETLK, &l2);
31168 if( l2.l_type==F_RDLCK ){
31170 }else if( l2.l_type==F_WRLCK ){
31172 }else if( l2.l_type==F_UNLCK ){
31178 zType, (int)l2.l_start, (int)l2.l_len, (int)l2.l_pid);
/civetweb-2.7.6/src/
Dcivetweb.c12287 uint32_t l1, l2; local
12289 memcpy(&l2, &buf[6], 4);
12291 data_len = (((uint64_t)ntohl(l1)) << 32) + ntohl(l2);