HomeSort by relevance Sort by last modified time
    Searched refs:LSTRLEN (Results 1 - 25 of 33) sorted by null

1 2

  /external/srec/shared/src/
CommandLine.c 41 if (LSTRLEN(*argv) + 1 > *len)
43 *len = LSTRLEN(*argv) + 1;
46 *len = LSTRLEN(*argv) + 1;
LStringImpl.c 58 needed = LSTRLEN(impl->value) + LSTRLEN(value) + 1;
SessionTypeImpl.c 262 if (LSTRLEN(pair->value) + 1 > *len)
264 *len = LSTRLEN(lValue) + 1;
439 clone = MALLOC(sizeof(LCHAR) * (LSTRLEN(value) + 1), MTAG);
649 key = MALLOC(sizeof(LCHAR) * (LSTRLEN("cmdline.") + LSTRLEN(*argv) + 1), MTAG);
893 if (LSTRLEN(line) == LINE_SIZE)
899 if (LSTRLEN(line) == 0 || line[0] == '#')
934 if (LSTRLEN(value) == 0)
940 if ((ending = LSTRCHR(value, '\\')) == (value + LSTRLEN(value) - 1))
1020 size = LSTRLEN(text)
    [all...]
  /external/srec/portable/src/
PFileSystem.c 88 ending = beginning + LSTRLEN(beginning);
99 if (LSTRLEN(value) == 0)
217 passert(path[LSTRLEN(path)-1] == L('/'));
290 if (bestKey == NULL || LSTRLEN(key) > LSTRLEN(bestKey))
310 CHKLOG(rc, PFileSystemIsAbsolutePath(path + LSTRLEN(bestKey), &isAbsolute));
317 LSTRCAT(relativePath, path + LSTRLEN(bestKey));
389 if (LSTRLEN(PFileSystemCurrentDirectory) + 1 > *len)
392 *len = LSTRLEN(PFileSystemCurrentDirectory) + 1;
398 passert(path[LSTRLEN(path)-1] == L('/'))
    [all...]
LCHAR.c 30 len = LSTRLEN(text);
53 if (LSTRLEN(source) + LSTRLEN(target) + 1 > *len)
55 *len = LSTRLEN(source) + LSTRLEN(target) + 1;
60 memmove(target + offset + LSTRLEN(source), target + offset, LSTRLEN(target + offset) + 1);
61 LSTRNCPY(target + offset, source, LSTRLEN(source));
316 size = LSTRLEN(buffer);
341 size = LSTRLEN(buffer)
    [all...]
plog.c 323 psprintf(buffer + LSTRLEN(buffer), L("%s|"), timeStr);
324 passert(LSTRLEN(buffer) < BUFFER_SIZE);
329 rc = psprintf(buffer + LSTRLEN(buffer), L("trd=%u|"), PtrdGetCurrentThreadId());
330 passert(LSTRLEN(buffer) < BUFFER_SIZE);
371 rc = psprintf(buffer + LSTRLEN(buffer), L("Module=%s|"), text);
372 passert(LSTRLEN(buffer) < BUFFER_SIZE);
375 pvsprintf(buffer + LSTRLEN(buffer), format, args);
377 pvsprintf(buffer + LSTRLEN(buffer), format, args);
379 passert(LSTRLEN(buffer) < BUFFER_SIZE);
381 psprintf(buffer + LSTRLEN(buffer), L("\n"))
    [all...]
PANSIFileSystemImpl.c 117 len = LSTRLEN(virtualPath) + 1;
118 if (virtualPath[LSTRLEN(virtualPath)-1] != L('/'))
130 if (key[LSTRLEN(key)-1] != L('/'))
132 value = MALLOC(sizeof(LCHAR) * (LSTRLEN(realPath) + 1), MTAG);
143 if (LSTRLEN(value) == 0)
154 if (value[LSTRLEN(value)-1] != L('/'))
197 if (path[LSTRLEN(path)-1] != L('/'))
226 if (LSTRNCMP(path, key, LSTRLEN(key)) == 0)
229 if (bestKey == NULL || LSTRLEN(key) > LSTRLEN(bestKey)
    [all...]
PFileImpl.c 51 impl->filename = MALLOC(sizeof(LCHAR) * (LSTRLEN(filename) + 1), MTAG);
152 if (LSTRLEN(impl->filename) + 1 > *len)
154 *len = LSTRLEN(impl->filename) + 1;
192 len = LSTRLEN(buffer);
pLastError.c 40 msg[LSTRLEN(msg)-2] = L('\0'); /* cut off newline character */
pmemory.c 167 *len = LSTRLEN(stackTrace);
470 const size_t TAG_PREFIX_SIZE = LSTRLEN(TAG_PREFIX);
511 len = LSTRLEN(e->tag);
517 passert(LSTRLEN(truncatedTag) == TAG_SIZE - 1);
606 gMemoryMap[idx].tag = malloc(sizeof(LCHAR) * (LSTRLEN(tag) + 1));
639 passert(LSTRLEN(stackTrace) < P_MAX_STACKTRACE);
640 data->stackTrace = realloc(stackTrace, sizeof(LCHAR) * (LSTRLEN(stackTrace) + 1));
  /external/srec/portable/src/UNIX/
PANSIFileSystemUNIXImpl.c 60 if (bestValue==NULL || LSTRLEN(value) > LSTRLEN(bestValue))
77 LSTRCPY(path, path + LSTRLEN(bestValue));
84 CHKLOG(rc, lstrinsert(L("X:/"), path, LSTRLEN(bestKey), len));
85 path[LSTRLEN(bestKey)] = driveLetter;
  /external/srec/srec/Semproc/src/
SemanticResultImpl.c 111 if (LSTRLEN(theValue) + 1 > *len)
113 *len = LSTRLEN(theValue) + 1;
114 PLogError(L("ESR_BUFFER_OVERFLOW, requires len>=%d"), LSTRLEN(theValue) + 1);
ExpressionEvaluator.c 52 opLen = LSTRLEN(operands[i]);
91 *resultLen = LSTRLEN(resultBuf);
SymbolTable.c 98 MEMCHK(rc, LSTRLEN(key), MAX_SEMPROC_KEY);
110 if (LSTRLEN(value) >= MAX_SEMPROC_VALUE)
111 PLogError("Warning: chopping length of value len %d > %d (%s)\n", LSTRLEN(value), MAX_SEMPROC_VALUE, value);
114 /* MEMCHK(rc, LSTRLEN(value), MAX_SEMPROC_VALUE);
137 copyValue = (LCHAR*) CALLOC(LSTRLEN(pvalue) + 1, sizeof(LCHAR), _MTAG);
SemanticGraphImpl.c 331 size_t len = LSTRLEN(line) + 1;
349 LSTRCPY(oword, line + LSTRLEN(iword) + 1);
352 for (i = 0, p = line + LSTRLEN(iword) + 1; *p; p++)
911 const LCHAR *end = a + LSTRLEN(a);
940 enda = a + LSTRLEN(a);
941 endb = b + LSTRLEN(b);
981 if (LSTRLEN(a) > max_len) return ESR_BUFFER_OVERFLOW;
995 if ((LSTRLEN(a) + LSTRLEN(b) - 2) > max_len)
997 PLogError("Temp buffer (size %d) to hold union of multiple meanings (size %d) is too small", max_len, (LSTRLEN(a) + LSTRLEN(b) - 2))
    [all...]
  /external/srec/srec/Semproc/include/
SR_SemprocDefinitions.h 218 if(LSTRLEN(val) > threshold) \
  /external/srec/srec/Nametag/src/
NametagImpl.c 69 len = LSTRLEN(transcription)+1;
83 len = LSTRLEN(L("ph_"));
219 impl->id = (LCHAR*) MALLOC(sizeof(LCHAR) * (LSTRLEN(id) + 1), MTAG);
238 CHKLOG(rc, SR_NametagCreateFromValue(impl->id, impl->value, LSTRLEN(impl->value)+1, result));
NametagsImpl.c 101 if (LSTRNCMP(filename, devicePath, LSTRLEN(devicePath)) != 0)
129 if (LSTRLEN(line) == 255)
161 len = (LSTRLEN(value)+1) * sizeof(LCHAR) ;
166 if (LSTRLEN(id) > NAMETAGID_LENGTH)
221 if (LSTRNCMP(filename, devicePath, LSTRLEN(devicePath)) != 0)
240 if (LSTRLEN(id) + 1 + LSTRLEN(nametag->value) + 2 >= NAMETAG_LENGTH)
247 len = LSTRLEN(nametagBuffer);
254 if (LSTRLEN(id) > NAMETAGID_LENGTH)
  /external/srec/portable/include/
ptypes.h 262 #define LSTRLEN strlen
420 #define LSTRLEN wcslen
  /external/srec/srec/EventLog/src/
EventLogImpl.c 326 if (LSTRLEN(qrecord) >= len)
359 if (LSTRLEN(token) + LSTRLEN(value) + 2 +
360 LSTRLEN(impl->tokenBuf) < MAX_LOG_RECORD)
362 if (LSTRLEN(token) + LSTRLEN(value) + 3 > TOK_BUFLEN)
373 if (LSTRLEN(buf) + 1 + LSTRLEN(impl->tokenBuf) >= MAX_LOG_RECORD)
494 len = LSTRLEN(toWrite[i]);
558 if (quote_delimiter(buf, LSTRLEN(buf) + 1) != 0
    [all...]
  /external/srec/tools/grxmlcompile/
vocab.cpp 102 len_used += LSTRLEN(pron)+1;
104 std::cout << "DEBUG: used " << len_used << " now " << LSTRLEN(pron) << std::endl;
  /external/srec/srec/AcousticModels/src/
AcousticModelsImpl.c 342 if (LSTRLEN(modelFilename) == 0 || modelFilename[0] == '#')
501 temp = MALLOC(sizeof(LCHAR) * (LSTRLEN(value) + 1), MTAG);
529 if (LSTRLEN(temp) + 1 > *len)
531 *len = LSTRLEN(temp) + 1;
535 *len = LSTRLEN(temp) + 1;
  /external/srec/srec/Vocabulary/src/
VocabularyImpl.c 40 #define LSTRDUP(src) LSTRCPY(CALLOC(LSTRLEN(src)+1, sizeof(LCHAR), "srec.Vocabulary.LSTRDUP"), (src))
442 if( LSTRLEN(phrase) >= MAX_PRON_LEN)
454 *pronunciation_len = LSTRLEN(pronunciation)+1;
457 *pronunciation_len += LSTRLEN( pronunciation + (*pronunciation_len)) + 1;
562 len = LSTRLEN(pronunciation)+1;
565 len += LSTRLEN( pronunciation + len) + 1;
  /external/srec/srec/Recognizer/src/
RecognizerResultImpl.c 173 actualLen += LSTRLEN(lValue);
212 int len = LSTRLEN(value);
  /external/srec/tools/dictTest/
dictTest.c 57 len_used += LSTRLEN(pron)+1;

Completed in 435 milliseconds

1 2